[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.2 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-183 started "build linux-tizen-modules-source.spec" at Fri Dec 27 01:31:32 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_asan_standard/linux-tizen-modules-source-7.5.0-0/linux-tizen-modules-source.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_asan_standard/riscv64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/debug/ --clean --nocumulate /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_asan_standard/linux-tizen-modules-source-7.5.0-0/linux-tizen-modules-source.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.2/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.2/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_asan_standard/riscv64/RPMS [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/ [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/debug/ [ 1s] expanding package dependencies... [ 2s] copying qemu [ 2s] /usr/bin/qemu-arm-binfmt /usr/bin/qemu-arm-static /usr/bin/qemu-arm64-binfmt /usr/bin/qemu-arm64-static /usr/sbin/qemu-binfmt-conf.sh [ 2s] [ 2s] registering binfmt handlers for cross build [ 2s] calculating packages to download... [ 2s] [1/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/asan-build-env-14.1.0-1.11.riscv64.rpm ... [ 2s] [2/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/asan-force-options-14.1.0-1.11.riscv64.rpm ... [ 2s] [3/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/asan-runtime-env-14.1.0-1.11.riscv64.rpm ... [ 2s] [4/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/noarch/autoconf-2.71-1.17.noarch.rpm ... [ 2s] [5/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/noarch/automake-1.16.5-1.17.noarch.rpm ... [ 3s] [6/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/bash-3.2.57-2.2.riscv64.rpm ... [ 3s] [7/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/binutils-2.43-3.6.riscv64.rpm ... [ 3s] [8/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/binutils-libs-2.43-3.6.riscv64.rpm ... [ 3s] [9/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/noarch/build-20120927-1.2.noarch.rpm ... [ 3s] [10/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/noarch/build-compare-2023.06.18-1.6.noarch.rpm ... [ 4s] [11/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/noarch/build-mkbaselibs-20120927-1.2.noarch.rpm ... [ 4s] [12/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/bzip2-1.0.8-1.15.riscv64.rpm ... [ 4s] [13/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/coreutils-6.9-14.6.riscv64.rpm ... [ 4s] [14/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/cpio-2.8-1.3.riscv64.rpm ... [ 4s] [15/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/cpp-14.1.0-2.7.riscv64.rpm ... [ 5s] [16/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/diffutils-3.10-2.1.riscv64.rpm ... [ 5s] [17/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/elfutils-0.189-1.16.riscv64.rpm ... [ 5s] [18/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/file-5.45-1.15.riscv64.rpm ... [ 5s] [19/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/filesystem-3.1-1.2.riscv64.rpm ... [ 5s] [20/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/findutils-4.3.8-1.15.riscv64.rpm ... [ 6s] [21/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/gawk-3.1.5-1.3.riscv64.rpm ... [ 6s] [22/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/gcc-14.1.0-2.7.riscv64.rpm ... [ 7s] [23/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/gcc-c++-14.1.0-2.7.riscv64.rpm ... [ 7s] [24/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/gdbm-1.8.3-1.17.riscv64.rpm ... [ 7s] [25/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/glibc-2.39-2.6.riscv64.rpm ... [ 8s] [26/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/glibc-devel-2.39-2.6.riscv64.rpm ... [ 8s] [27/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/glibc-locale-2.39-2.6.riscv64.rpm ... [ 8s] [28/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/grep-2.5.2-1.14.riscv64.rpm ... [ 8s] [29/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/gzip-1.13-1.10.riscv64.rpm ... [ 8s] [30/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/hal-rootstrap-checker-0.1.0-3.1.riscv64.rpm ... [ 9s] [31/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/hostname-3.23-1.3.riscv64.rpm ... [ 9s] [32/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/less-668-1.1.riscv64.rpm ... [ 9s] [33/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libacl-2.3.2-1.14.riscv64.rpm ... [ 9s] [34/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libarchive-3.7.2-1.14.riscv64.rpm ... [ 9s] [35/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libasan-14.1.0-2.7.riscv64.rpm ... [ 9s] [36/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libasm-0.189-1.16.riscv64.rpm ... [ 10s] [37/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libatomic-14.1.0-2.7.riscv64.rpm ... [ 10s] [38/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libattr-2.5.1-1.15.riscv64.rpm ... [ 10s] [39/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libblkid-2.39.3-1.11.riscv64.rpm ... [ 10s] [40/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libbz2-1.0.8-1.15.riscv64.rpm ... [ 10s] [41/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libcap-2.69-1.13.riscv64.rpm ... [ 10s] [42/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libcap-devel-2.69-1.13.riscv64.rpm ... [ 10s] [43/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libcc1-14.1.0-2.7.riscv64.rpm ... [ 11s] [44/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libdw-0.189-1.16.riscv64.rpm ... [ 11s] [45/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libelf-0.189-1.16.riscv64.rpm ... [ 11s] [46/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libfdisk-2.39.3-1.11.riscv64.rpm ... [ 11s] [47/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libfreebl3-3.98-1.17.riscv64.rpm ... [ 11s] [48/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libgcc-14.1.0-2.7.riscv64.rpm ... [ 11s] [49/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libgfortran-14.1.0-2.7.riscv64.rpm ... [ 12s] [50/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libgomp-14.1.0-2.7.riscv64.rpm ... [ 12s] [51/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libitm-14.1.0-2.7.riscv64.rpm ... [ 12s] [52/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libltdl-2.4.7-1.17.riscv64.rpm ... [ 12s] [53/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/liblua-5.1.5-1.13.riscv64.rpm ... [ 12s] [54/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/liblzma-5.4.5-1.17.riscv64.rpm ... [ 12s] [55/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libmagic-5.45-1.15.riscv64.rpm ... [ 13s] [56/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libmagic-data-5.45-1.15.riscv64.rpm ... [ 13s] [57/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libmount-2.39.3-1.11.riscv64.rpm ... [ 13s] [58/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libncurses-6.4-1.17.riscv64.rpm ... [ 13s] [59/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libncurses6-6.4-1.17.riscv64.rpm ... [ 13s] [60/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libopenssl3-3.0.13-1.17.riscv64.rpm ... [ 13s] [61/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libpcre-8.45-1.15.riscv64.rpm ... [ 14s] [62/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libpopt-1.16-1.14.riscv64.rpm ... [ 14s] [63/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libreadline-5.2-1.15.riscv64.rpm ... [ 14s] [64/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libsmack-1.3.1-1.14.riscv64.rpm ... [ 14s] [65/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libsmartcols-2.39.3-1.11.riscv64.rpm ... [ 14s] [66/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libsoftokn3-3.98-1.17.riscv64.rpm ... [ 14s] [67/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libsqlite-3.48.0-1.2.riscv64.rpm ... [ 15s] [68/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libstdc++-14.1.0-2.7.riscv64.rpm ... [ 15s] [69/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libstdc++-devel-14.1.0-2.7.riscv64.rpm ... [ 15s] [70/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libtool-2.4.7-1.17.riscv64.rpm ... [ 15s] [71/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libubsan-14.1.0-2.7.riscv64.rpm ... [ 15s] [72/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libuuid-2.39.3-1.11.riscv64.rpm ... [ 15s] [73/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libxcrypt-4.4.36-2.7.riscv64.rpm ... [ 16s] [74/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libxcrypt-devel-4.4.36-2.7.riscv64.rpm ... [ 16s] [75/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libxml2-2.12.5-1.15.riscv64.rpm ... [ 16s] [76/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libzstd1-1.5.6-1.2.riscv64.rpm ... [ 16s] [77/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/linux-glibc-devel-6.6-1.17.riscv64.rpm ... [ 16s] [78/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/m4-1.4.19-2.1.riscv64.rpm ... [ 16s] [79/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/make-4.4-1.15.riscv64.rpm ... [ 17s] [80/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/net-tools-2.0_20121208git-1.13.riscv64.rpm ... [ 17s] [81/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/nspr-4.35-1.14.riscv64.rpm ... [ 17s] [82/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/nss-3.98-1.17.riscv64.rpm ... [ 17s] [83/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/nss-certs-3.98-1.17.riscv64.rpm ... [ 17s] [84/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/pam-1.1.6-1.13.riscv64.rpm ... [ 17s] [85/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/patch-2.7.6-1.14.riscv64.rpm ... [ 18s] [86/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/perl-5.38.0-1.13.riscv64.rpm ... [ 18s] [87/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/pkg-config-0.29.2-1.15.riscv64.rpm ... [ 18s] [88/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/qemu-accel-x86_64-riscv64-0.4-2.2.riscv64.rpm ... [ 23s] [89/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/qemu-linux-user-x86_64-cross-5.2.0.2-20.6.riscv64.rpm ... [ 24s] [90/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/rpm-4.14.1.1-1.17.riscv64.rpm ... [ 24s] [91/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/rpm-build-4.14.1.1-1.17.riscv64.rpm ... [ 24s] [92/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/sed-4.1c-1.14.riscv64.rpm ... [ 24s] [93/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/setup-0.9-1.6.riscv64.rpm ... [ 24s] [94/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/smack-1.3.1-1.14.riscv64.rpm ... [ 24s] [95/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/tar-1.17-1.3.riscv64.rpm ... [ 25s] [96/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/terminfo-base-full-6.4-1.17.riscv64.rpm ... [ 25s] [97/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/tzdata-2023c-1.3.riscv64.rpm ... [ 25s] [98/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/update-alternatives-1.22.2-1.3.riscv64.rpm ... [ 25s] [99/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/util-linux-2.39.3-1.11.riscv64.rpm ... [ 25s] [100/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/util-linux-su-2.39.3-1.11.riscv64.rpm ... [ 25s] [101/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/which-2.17-1.3.riscv64.rpm ... [ 25s] [102/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/xz-5.4.5-1.17.riscv64.rpm ... [ 26s] [103/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/zlib-1.3-1.17.riscv64.rpm ... [ 26s] [ 26s] cycle: nss -> libsoftokn3 [ 26s] breaking dependency nss -> libsoftokn3 [ 26s] [1/47] preinstalling libmagic-data... [ 26s] [2/47] preinstalling libncurses... [ 26s] [3/47] preinstalling setup... [ 26s] [4/47] preinstalling filesystem... [ 26s] [5/47] preinstalling glibc... [ 26s] [6/47] preinstalling libgcc... [ 26s] [7/47] preinstalling libstdc++... [ 26s] [8/47] preinstalling libasan... [ 26s] [9/47] preinstalling findutils... [ 26s] [10/47] preinstalling grep... [ 26s] [11/47] preinstalling libattr... [ 26s] [12/47] preinstalling libbz2... [ 26s] [13/47] preinstalling liblua... [ 26s] [14/47] preinstalling libpopt... [ 26s] [15/47] preinstalling libsmack... [ 26s] [16/47] preinstalling libuuid... [ 26s] [17/47] preinstalling libxcrypt... [ 26s] [18/47] preinstalling nspr... [ 26s] [19/47] preinstalling sed... [ 26s] [20/47] preinstalling zlib... [ 26s] [21/47] preinstalling bash... [ 26s] [22/47] preinstalling diffutils... [ 26s] [23/47] preinstalling libblkid... [ 26s] [24/47] preinstalling libcap... [ 26s] [25/47] preinstalling libfreebl3... [ 26s] [26/47] preinstalling liblzma... [ 27s] [27/47] preinstalling libreadline... [ 27s] [28/47] preinstalling libsqlite... [ 27s] [29/47] preinstalling libzstd1... [ 27s] [30/47] preinstalling qemu-accel-x86_64-riscv64... [ 32s] [31/47] preinstalling qemu-linux-user-x86_64-cross... [ 33s] [32/47] preinstalling asan-build-env... [ 34s] [33/47] preinstalling libacl... [ 34s] [34/47] preinstalling libelf... [ 34s] [35/47] preinstalling smack... [ 34s] [36/47] preinstalling bzip2... [ 34s] [37/47] preinstalling coreutils... [ 34s] [38/47] preinstalling libmagic... [ 34s] [39/47] preinstalling libmount... [ 34s] [40/47] preinstalling libxml2... [ 34s] [41/47] preinstalling tar... [ 34s] [42/47] preinstalling util-linux... [ 34s] [43/47] preinstalling util-linux-su... [ 34s] [44/47] preinstalling nss... [ 34s] [45/47] preinstalling libsoftokn3... [ 34s] [46/47] preinstalling rpm... [ 35s] [47/47] preinstalling asan-force-options... [ 35s] [ 35s] running qemu-linux-user-x86_64-cross postinstall script [ 36s] running qemu-accel-x86_64-riscv64 postinstall script [ 36s] mv: cannot stat `/usr/lib64/gcc/riscv64-tizen-linux-gnu/14.1.0/liblto_plugin.so': No such file or directory [ 36s] running setup postinstall script [ 36s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 36s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 36s] running asan-build-env postinstall script [ 38s] running asan-force-options postinstall script [ 50s] initializing rpm db... [ 50s] reordering...cycle: bash -> glibc -> filesystem -> setup -> asan-runtime-env [ 50s] breaking dependency bash -> glibc [ 50s] cycle: bash -> libasan -> glibc -> filesystem -> setup -> asan-runtime-env [ 50s] breaking dependency libasan -> glibc [ 50s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 50s] breaking dependency asan-runtime-env -> bash [ 50s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 50s] breaking dependency coreutils -> bash [ 50s] cycle: glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 50s] breaking dependency coreutils -> glibc [ 50s] cycle: libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 50s] breaking dependency libasan -> libgcc [ 50s] cycle: libasan -> libstdc++ -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 50s] breaking dependency libstdc++ -> glibc [ 50s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 50s] breaking dependency coreutils -> libasan [ 50s] cycle: libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 50s] breaking dependency asan-runtime-env -> coreutils [ 50s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 50s] breaking dependency setup -> asan-runtime-env [ 50s] cycle: glibc-devel -> libxcrypt-devel [ 50s] breaking dependency glibc-devel -> libxcrypt-devel [ 50s] cycle: nss -> libsoftokn3 [ 50s] breaking dependency nss -> libsoftokn3 [ 50s] reordering done [ 51s] [1/103] installing libmagic-data-5.45-1.15 [ 52s] [2/103] installing setup-0.9-1.6 [ 53s] [3/103] installing filesystem-3.1-1.2 [ 53s] [4/103] installing glibc-2.39-2.6 [ 54s] [5/103] installing libatomic-14.1.0-2.7 [ 55s] [6/103] installing libgcc-14.1.0-2.7 [ 56s] [7/103] installing libgomp-14.1.0-2.7 [ 57s] [8/103] installing libitm-14.1.0-2.7 [ 57s] [9/103] installing libgfortran-14.1.0-2.7 [ 58s] [10/103] installing libstdc++-14.1.0-2.7 [ 58s] [11/103] installing coreutils-6.9-14.6 [ 60s] [12/103] installing libstdc++-devel-14.1.0-2.7 [ 68s] [13/103] installing linux-glibc-devel-6.6-1.17 [ 69s] [14/103] installing libasan-14.1.0-2.7 [ 70s] [15/103] installing libcc1-14.1.0-2.7 [ 71s] [16/103] installing libubsan-14.1.0-2.7 [ 71s] [17/103] installing cpio-2.8-1.3 [ 72s] [18/103] installing findutils-4.3.8-1.15 [ 72s] [19/103] installing gdbm-1.8.3-1.17 [ 73s] [20/103] installing hostname-3.23-1.3 [ 73s] [21/103] installing libattr-2.5.1-1.15 [ 74s] [22/103] installing libbz2-1.0.8-1.15 [ 74s] [23/103] installing libltdl-2.4.7-1.17 [ 75s] [24/103] installing liblua-5.1.5-1.13 [ 75s] [25/103] installing libpopt-1.16-1.14 [ 76s] [26/103] installing libsmack-1.3.1-1.14 [ 76s] [27/103] installing libsmartcols-2.39.3-1.11 [ 77s] [28/103] installing libuuid-2.39.3-1.11 [ 78s] [29/103] installing libxcrypt-4.4.36-2.7 [ 78s] [30/103] installing m4-1.4.19-2.1 [ 79s] [31/103] installing net-tools-2.0_20121208git-1.13 [ 79s] [32/103] installing nspr-4.35-1.14 [ 80s] [33/103] installing patch-2.7.6-1.14 [ 80s] [34/103] installing sed-4.1c-1.14 [ 81s] [35/103] installing which-2.17-1.3 [ 81s] [36/103] installing zlib-1.3-1.17 [ 82s] [37/103] installing asan-runtime-env-14.1.0-1.11 [ 82s] [38/103] installing bash-3.2.57-2.2 [ 83s] [39/103] installing diffutils-3.10-2.1 [ 83s] [40/103] installing libblkid-2.39.3-1.11 [ 84s] [41/103] installing libcap-2.69-1.13 [ 84s] [42/103] installing libfreebl3-3.98-1.17 [ 85s] [43/103] installing liblzma-5.4.5-1.17 [ 86s] [44/103] installing libopenssl3-3.0.13-1.17 [ 88s] [45/103] installing libpcre-8.45-1.15 [ 88s] [46/103] installing libsqlite-3.48.0-1.2 [ 89s] [47/103] installing libzstd1-1.5.6-1.2 [ 91s] [48/103] installing pkg-config-0.29.2-1.15 [ 91s] [49/103] installing update-alternatives-1.22.2-1.3 [ 91s] [50/103] installing build-compare-2023.06.18-1.6 [ 92s] [51/103] installing hal-rootstrap-checker-0.1.0-3.1 [ 92s] [52/103] installing qemu-linux-user-x86_64-cross-5.2.0.2-20.6 [ 106s] [53/103] installing asan-build-env-14.1.0-1.11 [ 107s] libasan.so is already preloaded [ 107s] [54/103] installing cpp-14.1.0-2.7 [ 108s] [55/103] installing gcc-c++-14.1.0-2.7 [ 109s] [56/103] installing terminfo-base-full-6.4-1.17 [ 110s] [57/103] installing gawk-3.1.5-1.3 [ 111s] [58/103] installing glibc-locale-2.39-2.6 [ 112s] [59/103] installing grep-2.5.2-1.14 [ 113s] [60/103] installing libacl-2.3.2-1.14 [ 113s] [61/103] installing libelf-0.189-1.16 [ 114s] [62/103] installing make-4.4-1.15 [ 114s] [63/103] installing nss-certs-3.98-1.17 [ 114s] [64/103] installing smack-1.3.1-1.14 [ 115s] [65/103] installing binutils-libs-2.43-3.6 [ 115s] [66/103] installing bzip2-1.0.8-1.15 [ 116s] [67/103] installing gzip-1.13-1.10 [ 116s] [68/103] installing libmagic-5.45-1.15 [ 116s] [69/103] installing libmount-2.39.3-1.11 [ 117s] [70/103] installing xz-5.4.5-1.17 [ 117s] [71/103] installing libfdisk-2.39.3-1.11 [ 118s] [72/103] installing libxml2-2.12.5-1.15 [ 119s] [73/103] installing tzdata-2023c-1.3 [ 120s] [74/103] installing pam-1.1.6-1.13 [ 122s] [75/103] installing perl-5.38.0-1.13 [ 127s] [76/103] installing gcc-14.1.0-2.7 [ 130s] [77/103] installing build-mkbaselibs-20120927-1.2 [ 130s] [78/103] installing qemu-accel-x86_64-riscv64-0.4-2.2 [ 157s] [79/103] installing autoconf-2.71-1.17 [ 158s] [80/103] installing file-5.45-1.15 [ 158s] [81/103] installing binutils-2.43-3.6 [ 160s] [82/103] installing tar-1.17-1.3 [ 160s] [83/103] installing glibc-devel-2.39-2.6 [ 161s] [84/103] installing libncurses6-6.4-1.17 [ 162s] [85/103] installing libdw-0.189-1.16 [ 163s] [86/103] installing nss-3.98-1.17 [ 164s] [87/103] installing libarchive-3.7.2-1.14 [ 165s] [88/103] installing libncurses-6.4-1.17 [ 166s] [89/103] installing automake-1.16.5-1.17 [ 167s] [90/103] installing libcap-devel-2.69-1.13 [ 167s] [91/103] installing libxcrypt-devel-4.4.36-2.7 [ 168s] [92/103] installing less-668-1.1 [ 169s] [93/103] installing libasm-0.189-1.16 [ 169s] [94/103] installing libreadline-5.2-1.15 [ 171s] [95/103] installing build-20120927-1.2 [ 172s] [96/103] installing libsoftokn3-3.98-1.17 [ 174s] [97/103] installing rpm-4.14.1.1-1.17 [ 180s] [98/103] installing asan-force-options-14.1.0-1.11 [ 206s] [99/103] installing libtool-2.4.7-1.17 [ 206s] [100/103] installing elfutils-0.189-1.16 [ 208s] [101/103] installing util-linux-2.39.3-1.11 [ 209s] [102/103] installing rpm-build-4.14.1.1-1.17 [ 210s] [103/103] installing util-linux-su-2.39.3-1.11 [ 210s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.2/etc/nsswitch.conf... [ 210s] now finalizing build dir... [ 213s] ----------------------------------------------------------------- [ 213s] ----- building linux-tizen-modules-source.spec (user abuild) [ 213s] ----------------------------------------------------------------- [ 213s] ----------------------------------------------------------------- [ 215s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_srcdefattr (-,root,root)' --nosignature --target=riscv64-tizen-linux --define '_build_create_debug 1' -bb /home/abuild/rpmbuild/SOURCES/linux-tizen-modules-source.spec [ 215s] Building target platforms: riscv64-tizen-linux [ 215s] Building for target riscv64-tizen-linux [ 215s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HPxkA8 [ 215s] + umask 022 [ 215s] + cd /home/abuild/rpmbuild/BUILD [ 215s] + cd /home/abuild/rpmbuild/BUILD [ 215s] + rm -rf linux-tizen-modules-source-7.5.0 [ 215s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/linux-tizen-modules-source-7.5.0.tar.xz [ 215s] + /bin/tar -xof - [ 215s] + STATUS=0 [ 215s] + '[' 0 -ne 0 ']' [ 215s] + cd linux-tizen-modules-source-7.5.0 [ 215s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 216s] + cp /home/abuild/rpmbuild/SOURCES/linux-tizen-modules-source.manifest . [ 216s] + exit 0 [ 216s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lBwsTM [ 216s] + umask 022 [ 216s] + cd /home/abuild/rpmbuild/BUILD [ 216s] + cd linux-tizen-modules-source-7.5.0 [ 216s] + ref=/usr/lib/rpm [ 216s] + mints=0 [ 216s] + case $(uname -m) in [ 216s] ++ uname -m [ 216s] + mints=20160911 [ 216s] + for s in guess sub [ 216s] ++ find -maxdepth 8 -name config.guess [ 216s] + for s in guess sub [ 216s] ++ find -maxdepth 8 -name config.sub [ 216s] + LANG=C [ 216s] + export LANG [ 216s] + unset DISPLAY [ 216s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g' [ 216s] + export CFLAGS [ 216s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g' [ 216s] + export CXXFLAGS [ 216s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I%_fmoddir' [ 216s] + export FFLAGS [ 216s] + LDFLAGS= [ 216s] + export LDFLAGS [ 216s] + make -C tests/kdbus [ 216s] make: Entering directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.0/tests/kdbus' [ 216s] cc -c kdbus-enum.c -o kdbus-enum.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 216s] cc -c kdbus-util.c -o kdbus-util.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 217s] In file included from kdbus-util.c:46: [ 217s] kdbus-util.c: In function 'kdbus_conn_info': [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:418:17: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 418 | ASSERT_ZERO(kdbus_info_verify(info, flags)); [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-util.c: In function 'kdbus_info_verify': [ 217s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 217s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1044:9: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1044 | ASSERT_RETURN(item->size,>=,2*sizeof(uint64_t));\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1103:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 217s] 1103 | VERIFY_DECL_INLOOP; [ 217s] | ^~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1044:9: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1044 | ASSERT_RETURN(item->size,>=,2*sizeof(uint64_t));\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1103:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 217s] 1103 | VERIFY_DECL_INLOOP; [ 217s] | ^~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1045:9: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1045 | ASSERT_RETURN((unsigned)item->size,==,item->size);\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1103:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 217s] 1103 | VERIFY_DECL_INLOOP; [ 217s] | ^~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 217s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1045:9: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1045 | ASSERT_RETURN((unsigned)item->size,==,item->size);\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1103:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 217s] 1103 | VERIFY_DECL_INLOOP; [ 217s] | ^~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1050:17: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1050 | ASSERT_RETURN(size,==,sizeof(struct kdbus_creds));\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 217s] 1105 | VERIFY_META_CASES; [ 217s] | ^~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1053:17: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1053 | ASSERT_RETURN(size,==,sizeof(struct kdbus_pids));\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 217s] 1105 | VERIFY_META_CASES; [ 217s] | ^~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1056:17: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1056 | ASSERT_RETURN(size,==,sizeof(struct kdbus_audit));\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 217s] 1105 | VERIFY_META_CASES; [ 217s] | ^~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1060:17: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1060 | ASSERT_ZERO(size%sizeof(uint32_t));\ [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 217s] 1105 | VERIFY_META_CASES; [ 217s] | ^~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1063:17: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1063 | ASSERT_ZERO(verify_string(size-offsetof(typeof(item->name), name), item->name.name));\ [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 217s] 1105 | VERIFY_META_CASES; [ 217s] | ^~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1071:17: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1071 | ASSERT_ZERO(verify_string(size, item->str));\ [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 217s] 1105 | VERIFY_META_CASES; [ 217s] | ^~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1074:17: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1074 | ASSERT_ZERO(verify_string_array(size, item->str));\ [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 217s] 1105 | VERIFY_META_CASES; [ 217s] | ^~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 217s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1106:34: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1106 | default: ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1106:34: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1106 | default: ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 217s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1106:34: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1106 | default: ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 217s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1077:9: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1077 | ASSERT_RETURN(item->type,>=,(uint64_t)_KDBUS_ITEM_ATTACH_BASE);\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1108:17: note: in expansion of macro 'VERIFY_META' [ 217s] 1108 | VERIFY_META; [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1077:9: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1077 | ASSERT_RETURN(item->type,>=,(uint64_t)_KDBUS_ITEM_ATTACH_BASE);\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1108:17: note: in expansion of macro 'VERIFY_META' [ 217s] 1108 | VERIFY_META; [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1079:9: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1079 | ASSERT_RETURN(idx,<,sizeof(item_count)/sizeof(*item_count));\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1108:17: note: in expansion of macro 'VERIFY_META' [ 217s] 1108 | VERIFY_META; [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1080:9: note: in expansion of macro 'ASSERT_NONZERO' [ 217s] 1080 | ASSERT_NONZERO(attach_flags & 1<attach_flags_recv)); [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-util.c: In function 'kdbus_msg_verify': [ 217s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 217s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1123:17: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1123 | ASSERT_RETURN(msg->payload_type,==,KDBUS_PAYLOAD_DBUS); [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1123:17: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1123 | ASSERT_RETURN(msg->payload_type,==,KDBUS_PAYLOAD_DBUS); [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 217s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1044:9: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1044 | ASSERT_RETURN(item->size,>=,2*sizeof(uint64_t));\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1128:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 217s] 1128 | VERIFY_DECL_INLOOP; [ 217s] | ^~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1044:9: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1044 | ASSERT_RETURN(item->size,>=,2*sizeof(uint64_t));\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1128:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 217s] 1128 | VERIFY_DECL_INLOOP; [ 217s] | ^~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1045:9: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1045 | ASSERT_RETURN((unsigned)item->size,==,item->size);\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1128:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 217s] 1128 | VERIFY_DECL_INLOOP; [ 217s] | ^~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 217s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1045:9: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1045 | ASSERT_RETURN((unsigned)item->size,==,item->size);\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1128:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 217s] 1128 | VERIFY_DECL_INLOOP; [ 217s] | ^~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1132:33: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1132 | ASSERT_RETURN(size,==,sizeof(struct kdbus_timestamp)); [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1050:17: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1050 | ASSERT_RETURN(size,==,sizeof(struct kdbus_creds));\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 217s] 1134 | VERIFY_META_CASES; [ 217s] | ^~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1053:17: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1053 | ASSERT_RETURN(size,==,sizeof(struct kdbus_pids));\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 217s] 1134 | VERIFY_META_CASES; [ 217s] | ^~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1056:17: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1056 | ASSERT_RETURN(size,==,sizeof(struct kdbus_audit));\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 217s] 1134 | VERIFY_META_CASES; [ 217s] | ^~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1060:17: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1060 | ASSERT_ZERO(size%sizeof(uint32_t));\ [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 217s] 1134 | VERIFY_META_CASES; [ 217s] | ^~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1063:17: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1063 | ASSERT_ZERO(verify_string(size-offsetof(typeof(item->name), name), item->name.name));\ [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 217s] 1134 | VERIFY_META_CASES; [ 217s] | ^~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1071:17: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1071 | ASSERT_ZERO(verify_string(size, item->str));\ [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 217s] 1134 | VERIFY_META_CASES; [ 217s] | ^~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1074:17: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1074 | ASSERT_ZERO(verify_string_array(size, item->str));\ [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 217s] 1134 | VERIFY_META_CASES; [ 217s] | ^~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1138:33: note: in expansion of macro 'ASSERT_NONZERO' [ 217s] 1138 | ASSERT_NONZERO(user); [ 217s] | ^~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1139:33: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1139 | ASSERT_RETURN(size,==,sizeof(struct kdbus_vec)); [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1142:33: note: in expansion of macro 'ASSERT_NONZERO' [ 217s] 1142 | ASSERT_NONZERO(user); [ 217s] | ^~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1143:33: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1143 | ASSERT_RETURN(size,==,sizeof(struct kdbus_memfd)); [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1146:33: note: in expansion of macro 'ASSERT_NONZERO' [ 217s] 1146 | ASSERT_NONZERO(user); [ 217s] | ^~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1147:33: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1147 | ASSERT_ZERO(size%sizeof(int)); [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1150:33: note: in expansion of macro 'ASSERT_NONZERO' [ 217s] 1150 | ASSERT_NONZERO(user); [ 217s] | ^~~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1151:33: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1151 | ASSERT_ZERO(verify_string(size, item->str)); [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1158:33: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1158 | ASSERT_ZERO(user); [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1159:33: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1159 | ASSERT_RETURN(size,>=,sizeof(struct kdbus_notify_name_change)); [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1160:33: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1160 | ASSERT_ZERO(verify_string(size-sizeof(struct kdbus_notify_name_change), item->name_change.name)); [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1164:33: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1164 | ASSERT_ZERO(user); [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1165:33: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1165 | ASSERT_RETURN(size,==,sizeof(struct kdbus_notify_id_change)); [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1169:33: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1169 | ASSERT_ZERO(user); [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1170:33: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1170 | ASSERT_ZERO(size); [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 217s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1178:33: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1178 | ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1178:33: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1178 | ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 217s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1178:33: note: in expansion of macro 'ASSERT_ZERO' [ 217s] 1178 | ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1181:25: note: in expansion of macro 'ASSERT_NONZERO' [ 217s] 1181 | ASSERT_NONZERO(user); [ 217s] | ^~~~~~~~~~~~~~ [ 217s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 217s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1077:9: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1077 | ASSERT_RETURN(item->type,>=,(uint64_t)_KDBUS_ITEM_ATTACH_BASE);\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1182:17: note: in expansion of macro 'VERIFY_META' [ 217s] 1182 | VERIFY_META; [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1077:9: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1077 | ASSERT_RETURN(item->type,>=,(uint64_t)_KDBUS_ITEM_ATTACH_BASE);\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1182:17: note: in expansion of macro 'VERIFY_META' [ 217s] 1182 | VERIFY_META; [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 217s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1079:9: note: in expansion of macro 'ASSERT_RETURN' [ 217s] 1079 | ASSERT_RETURN(idx,<,sizeof(item_count)/sizeof(*item_count));\ [ 217s] | ^~~~~~~~~~~~~ [ 217s] kdbus-util.c:1182:17: note: in expansion of macro 'VERIFY_META' [ 217s] 1182 | VERIFY_META; [ 217s] | ^~~~~~~~~~~ [ 217s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 217s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 217s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 217s] | ^~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 217s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 217s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 217s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 217s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 217s] | ^~~~~~~~~~~~ [ 217s] kdbus-util.c:1080:9: note: in expansion of macro 'ASSERT_NONZERO' [ 217s] 1080 | ASSERT_NONZERO(attach_flags & 1<control_fd,>=,0); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-test.c:400:25: note: in expansion of macro 'ASSERT_NONZERO' [ 219s] 400 | ASSERT_NONZERO(n = unique_name("test-bus")); [ 219s] | ^~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-test.c:406:17: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 406 | ASSERT_ZERO(ret); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-test.c:414:17: note: in expansion of macro 'ASSERT_NONZERO' [ 219s] 414 | ASSERT_NONZERO(env->conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 219s] | ^~~~~~~~~~~~~~ [ 219s] kdbus-test.c: In function 'run_tests_in_namespaces': [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 219s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-test.c:866:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 219s] 866 | ASSERT_RETURN_VAL(rpid,==,pid, TEST_ERR); [ 219s] | ^~~~~~~~~~~~~~~~~ [ 219s] cc -c test-activator.c -o test-activator.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 219s] In file included from test-activator.c:17: [ 219s] test-activator.c: In function 'kdbus_test_activator': [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:249:9: note: in expansion of macro 'ASSERT_NONZERO' [ 219s] 249 | ASSERT_NONZERO(activator); [ 219s] | ^~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:251:9: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 251 | ASSERT_ZERO(kdbus_add_match_empty(env->conn)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:253:9: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 253 | ASSERT_ZERO(kdbus_list(env->conn, KDBUS_LIST_NAMES | KDBUS_LIST_UNIQUE | KDBUS_LIST_ACTIVATORS | KDBUS_LIST_QUEUED)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:255:9: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 255 | ASSERT_ZERO(kdbus_msg_send(env->conn, "foo.test.activator", 0xdeafbeef, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:271:17: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 271 | ASSERT_RETURN(ret,>=,0); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:273:17: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 273 | ASSERT_ZERO(kdbus_list(env->conn, KDBUS_LIST_NAMES)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:280:25: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 280 | ASSERT_ZERO(kdbus_name_acquire(env->conn, "foo.test.activator", &flags)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:286:25: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 286 | ASSERT_ZERO(kdbus_msg_recv(env->conn, NULL, NULL)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:297:9: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 297 | ASSERT_RETURN(ret,>=,0); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:302:9: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 302 | ASSERT_ZERO(kdbus_priv_activator(env)); [ 219s] | ^~~~~~~~~~~ [ 219s] test-activator.c: In function 'kdbus_priv_activator': [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:71:9: note: in expansion of macro 'ASSERT_NONZERO' [ 219s] 71 | ASSERT_NONZERO(activator); [ 219s] | ^~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:74:9: note: in expansion of macro 'ASSERT_NONZERO' [ 219s] 74 | ASSERT_NONZERO(service); [ 219s] | ^~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:77:9: note: in expansion of macro 'ASSERT_NONZERO' [ 219s] 77 | ASSERT_NONZERO(client); [ 219s] | ^~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 219s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 219s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 219s] | ^~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 219s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 219s] | ^~~~~~~~~~~~~~ [ 219s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 219s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 219s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 219s] | ^~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 219s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 219s] | ^~~~~~~~~~~~~~ [ 219s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 219s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:94:17: note: in expansion of macro 'ASSERT_EXIT' [ 219s] 94 | ASSERT_EXIT(ret_##shadow_counter,==,-ENXIO); \ [ 219s] | ^~~~~~~~~~~ [ 219s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 219s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 219s] | ^~~~~~~~~~~~~~ [ 219s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 219s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:100:17: note: in expansion of macro 'ASSERT_EXIT' [ 219s] 100 | ASSERT_EXIT(ret_##shadow_counter,==,ONTIZEN(0,-EPERM)); \ [ 219s] | ^~~~~~~~~~~ [ 219s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 219s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 219s] | ^~~~~~~~~~~~~~ [ 219s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 219s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 219s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 219s] | ^~~~~~~~~~~~~~ [ 219s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 219s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 219s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 219s] | ^~~~~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 219s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 219s] | ^~~~~~~~~~~~~~ [ 219s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 219s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 219s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 219s] | ^~~~~~~~~~~~~~ [ 219s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 219s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 219s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 219s] | ^~~~~~~~~~~~~~ [ 219s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 219s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:117:9: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 117 | ASSERT_RETURN(ONTIZEN(0,-ETIMEDOUT),==,kdbus_starter_poll(activator)); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:125:9: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 125 | ASSERT_ZERO(kdbus_msg_send(service, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:127:9: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 127 | ASSERT_ZERO(kdbus_starter_poll(activator)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 219s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 219s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 219s] | ^~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 219s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 219s] | ^~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:133:17: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 133 | ASSERT_RETURN(ONTIZEN(0,-EPERM),==,kdbus_name_acquire(unpriv, "foo.priv.activator", &flags)); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 219s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 219s] | ^~~~~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:137:9: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 137 | ASSERT_ZERO(kdbus_name_acquire(service, "foo.priv.activator", &flags)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:140:9: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 140 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 219s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:141:9: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 141 | ASSERT_RETURN(msg->cookie,==,cookie-1); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:141:9: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 141 | ASSERT_RETURN(msg->cookie,==,cookie-1); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:145:9: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 145 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 219s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:146:9: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 146 | ASSERT_RETURN(msg->cookie,==,cookie); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:146:9: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 146 | ASSERT_RETURN(msg->cookie,==,cookie); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 219s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 219s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 219s] | ^~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 219s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 219s] | ^~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:154:17: note: in expansion of macro 'ASSERT_EXIT' [ 219s] 154 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 219s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 219s] | ^~~~~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:157:9: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 157 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 219s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:158:9: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 158 | ASSERT_RETURN(msg->cookie,==,cookie); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:158:9: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 158 | ASSERT_RETURN(msg->cookie,==,cookie); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:164:9: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 164 | ASSERT_RETURN(-ETIMEDOUT,==,kdbus_msg_recv_poll(service, 100, NULL, NULL)); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:169:9: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 169 | ASSERT_ZERO(kdbus_msg_send(client, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:170:9: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 170 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 219s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:171:9: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 171 | ASSERT_RETURN(msg->cookie,==,cookie); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:171:9: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 171 | ASSERT_RETURN(msg->cookie,==,cookie); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 219s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 219s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 219s] | ^~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 219s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 219s] | ^~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:181:17: note: in expansion of macro 'ASSERT_EXIT' [ 219s] 181 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 219s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 219s] | ^~~~~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:184:9: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 184 | ASSERT_RETURN(ONTIZEN(0,-ETIMEDOUT),==,kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 219s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:186:9: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 186 | ASSERT_RETURN(msg->cookie,==,cookie); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:186:9: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 186 | ASSERT_RETURN(msg->cookie,==,cookie); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:192:9: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 192 | ASSERT_ZERO(kdbus_msg_send(client, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:193:9: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 193 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 219s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 194 | ASSERT_RETURN(msg->cookie,==,cookie); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 194 | ASSERT_RETURN(msg->cookie,==,cookie); [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:208:9: note: in expansion of macro 'ASSERT_NONZERO' [ 219s] 208 | ASSERT_NONZERO(holder); [ 219s] | ^~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 219s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 219s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 219s] | ^~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 219s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 219s] | ^~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:215:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 219s] 215 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 219s] | ^~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 219s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 219s] | ^~~~~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:218:9: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 218 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, NULL, NULL)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 219s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 219s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 219s] | ^~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 219s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 219s] | ^~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 219s] | ^~~~~~~~~~~~ [ 219s] test-activator.c:222:17: note: in expansion of macro 'ASSERT_EXIT' [ 219s] 222 | ASSERT_EXIT(ONTIZEN(-EEXIST,-EPERM),==,kdbus_name_acquire(unpriv, "foo.priv.activator", &flags)); [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 219s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 219s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 219s] | ^~~~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 219s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 219s] | ^~~~~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 219s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 219s] | ^~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 219s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 219s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 219s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 219s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 219s] | ^~~~~~~~~~~~ [ 219s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 219s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 219s] | ^~~~~~~~~~~ [ 219s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 219s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 219s] | ^~~~~~~~~~ [ 219s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 219s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 219s] | ^~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 219s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 219s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 219s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 219s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 219s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 219s] | ^~~~~~~~~~~~~~~~~~~~~ [ 220s] cc -c test-benchmark.c -o test-benchmark.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 220s] In file included from kdbus-api.h:5, [ 220s] from test-benchmark.c:20: [ 220s] test-benchmark.c: In function 'benchmark_bandwidth': [ 220s] test-benchmark.c:535:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] [ 220s] 535 | kdbus_printf("%llu kB/s\n", kilobytes_received / PERIOD_S); [ 220s] | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] | | [ 220s] | uint64_t {aka long unsigned int} [ 220s] kdbus-util.h:33:38: note: in definition of macro 'print' [ 220s] 33 | #define print(...) fprintf(stderr, ##__VA_ARGS__) [ 220s] | ^~~~~~~~~~~ [ 220s] test-benchmark.c:535:17: note: in expansion of macro 'kdbus_printf' [ 220s] 535 | kdbus_printf("%llu kB/s\n", kilobytes_received / PERIOD_S); [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:535:34: note: format string is defined here [ 220s] 535 | kdbus_printf("%llu kB/s\n", kilobytes_received / PERIOD_S); [ 220s] | ~~~^ [ 220s] | | [ 220s] | long long unsigned int [ 220s] | %lu [ 220s] In file included from test-benchmark.c:21: [ 220s] test-benchmark.c: In function 'handle_echo_reply': [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 220s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:222:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 220s] 222 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 220s] | ^~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 220s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:238:25: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 220s] 238 | ASSERT_RETURN_VAL(buf,!=,MAP_FAILED, -EINVAL); [ 220s] | ^~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 220s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 220s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:239:25: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 220s] 239 | ASSERT_RETURN_VAL(item->memfd.size,==,sizeof(uint64_t), -EINVAL); [ 220s] | ^~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 220s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:239:25: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 220s] 239 | ASSERT_RETURN_VAL(item->memfd.size,==,sizeof(uint64_t), -EINVAL); [ 220s] | ^~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 220s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:259:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 220s] 259 | ASSERT_RETURN_VAL(ret,==,0, -errno); [ 220s] | ^~~~~~~~~~~~~~~~~ [ 220s] test-benchmark.c: In function 'bandwidth_sender_thread': [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:467:9: note: in expansion of macro 'ASSERT_NONZERO' [ 220s] 467 | ASSERT_NONZERO(conn_a); [ 220s] | ^~~~~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:469:9: note: in expansion of macro 'ASSERT_NONZERO' [ 220s] 469 | ASSERT_NONZERO(conn_b); [ 220s] | ^~~~~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:470:9: note: in expansion of macro 'ASSERT_ZERO' [ 220s] 470 | ASSERT_ZERO(kdbus_add_match_empty(conn_a)); [ 220s] | ^~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:471:9: note: in expansion of macro 'ASSERT_ZERO' [ 220s] 471 | ASSERT_ZERO(kdbus_add_match_empty(conn_b)); [ 220s] | ^~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:473:9: note: in expansion of macro 'ASSERT_ZERO' [ 220s] 473 | ASSERT_ZERO(kdbus_name_acquire(conn_a, name, NULL)); [ 220s] | ^~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:474:9: note: in expansion of macro 'ASSERT_ZERO' [ 220s] 474 | ASSERT_ZERO(setup_simple_kdbus_msg(conn_b, conn_a->id, data->env->payload, &kdbus_msg)); [ 220s] | ^~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 220s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 220s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 220s] | ^~~~~~~~~~~~~ [ 220s] test-benchmark.c:475:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 220s] 475 | ASSERT_NO_PENDING(conn_a); [ 220s] | ^~~~~~~~~~~~~~~~~ [ 220s] test-benchmark.c: In function 'setup_simple_kdbus_msg': [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 220s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:114:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 220s] 114 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 220s] | ^~~~~~~~~~~~~~~~~ [ 220s] test-benchmark.c: In function 'send_echo_request': [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 220s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:187:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 220s] 187 | ASSERT_RETURN_VAL(memfd,>=,0, memfd); [ 220s] | ^~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 220s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:189:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 220s] 189 | ASSERT_RETURN_VAL(write(memfd, &now_ns, sizeof(now_ns)),==,(typeof(write(memfd, &now_ns, sizeof(now_ns))))sizeof(now_ns), -EAGAIN); [ 220s] | ^~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 220s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:191:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 220s] 191 | ASSERT_RETURN_VAL(sys_memfd_seal_set(memfd),==,0, -errno); [ 220s] | ^~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 220s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:201:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 220s] 201 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 220s] | ^~~~~~~~~~~~~~~~~ [ 220s] test-benchmark.c: In function 'benchmark': [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:279:9: note: in expansion of macro 'ASSERT_NONZERO' [ 220s] 279 | ASSERT_NONZERO(stress_payload); [ 220s] | ^~~~~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:282:9: note: in expansion of macro 'ASSERT_NONZERO' [ 220s] 282 | ASSERT_NONZERO(buf); [ 220s] | ^~~~~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:290:9: note: in expansion of macro 'ASSERT_NONZERO' [ 220s] 290 | ASSERT_NONZERO(conn_a); [ 220s] | ^~~~~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:292:9: note: in expansion of macro 'ASSERT_NONZERO' [ 220s] 292 | ASSERT_NONZERO(conn_b); [ 220s] | ^~~~~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:294:9: note: in expansion of macro 'ASSERT_ZERO' [ 220s] 294 | ASSERT_ZERO(kdbus_add_match_empty(conn_a)); [ 220s] | ^~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:296:9: note: in expansion of macro 'ASSERT_ZERO' [ 220s] 296 | ASSERT_ZERO(kdbus_add_match_empty(conn_b)); [ 220s] | ^~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:298:9: note: in expansion of macro 'ASSERT_ZERO' [ 220s] 298 | ASSERT_ZERO(kdbus_name_acquire(conn_a, SERVICE_NAME, NULL)); [ 220s] | ^~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:301:17: note: in expansion of macro 'ASSERT_ZERO' [ 220s] 301 | ASSERT_ZERO(kdbus_conn_update_attach_flags(conn_a, _KDBUS_ATTACH_ALL, 0)); [ 220s] | ^~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:305:9: note: in expansion of macro 'ASSERT_ZERO' [ 220s] 305 | ASSERT_ZERO(socketpair(AF_UNIX, SOCK_SEQPACKET | SOCK_NONBLOCK, 0, uds)); [ 220s] | ^~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:309:17: note: in expansion of macro 'ASSERT_ZERO' [ 220s] 309 | ASSERT_ZERO(setup_memfd_kdbus_msg(conn_b, conn_a->id, env->payload, &memfd_cached_offset, &kdbus_msg)); [ 220s] | ^~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:311:17: note: in expansion of macro 'ASSERT_ZERO' [ 220s] 311 | ASSERT_ZERO(setup_simple_kdbus_msg(conn_b, conn_a->id, env->payload, &kdbus_msg)); [ 220s] | ^~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 220s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 220s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 220s] | ^~~~~~~~~~~~~ [ 220s] test-benchmark.c:317:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 220s] 317 | ASSERT_NO_PENDING(conn_a); [ 220s] | ^~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:328:17: note: in expansion of macro 'ASSERT_ZERO' [ 220s] 328 | ASSERT_ZERO(send_echo_request(conn_b, kdbus_msg, memfd_cached_offset)); [ 220s] | ^~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:343:33: note: in expansion of macro 'ASSERT_ZERO' [ 220s] 343 | ASSERT_ZERO(handle_echo_reply(conn_a, send_ns)); [ 220s] | ^~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:346:33: note: in expansion of macro 'ASSERT_ZERO' [ 220s] 346 | ASSERT_ZERO(send_echo_request(conn_b, kdbus_msg, memfd_cached_offset)); [ 220s] | ^~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:355:33: note: in expansion of macro 'ASSERT_ZERO' [ 220s] 355 | ASSERT_ZERO(handle_echo_reply(conn_a, send_ns)); /* purge last message to prevent leaks */ [ 220s] | ^~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 220s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:375:17: note: in expansion of macro 'ASSERT_RETURN' [ 220s] 375 | ASSERT_RETURN((typeof(write(uds[0], stress_payload, env->payload)))env->payload,==,write(uds[0], stress_payload, env->payload)); [ 220s] | ^~~~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 220s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:390:33: note: in expansion of macro 'ASSERT_RETURN' [ 220s] 390 | ASSERT_RETURN((typeof(read(uds[1], buf, env->payload)))env->payload,==,read(uds[1], buf, env->payload)); [ 220s] | ^~~~~~~~~~~~~ [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 220s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:395:33: note: in expansion of macro 'ASSERT_RETURN' [ 220s] 395 | ASSERT_RETURN((typeof(write(uds[0], buf, env->payload)))env->payload,==,write(uds[0], buf, env->payload)); [ 220s] | ^~~~~~~~~~~~~ [ 220s] test-benchmark.c: In function 'setup_memfd_kdbus_msg': [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 220s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:150:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 220s] 150 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 220s] | ^~~~~~~~~~~~~~~~~ [ 220s] test-benchmark.c: In function 'benchmark_bandwidth': [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:510:9: note: in expansion of macro 'ASSERT_NONZERO' [ 220s] 510 | ASSERT_NONZERO(stress_payload); [ 220s] | ^~~~~~~~~~~~~~ [ 220s] test-benchmark.c: In function 'benchmark_latency_mt': [ 220s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 220s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 220s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 220s] | ^~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 220s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 220s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 220s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 220s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 220s] | ^~~~~~~~~~~~ [ 220s] test-benchmark.c:548:9: note: in expansion of macro 'ASSERT_NONZERO' [ 220s] 548 | ASSERT_NONZERO(stress_payload); [ 220s] | ^~~~~~~~~~~~~~ [ 221s] cc -c test-bus.c -o test-bus.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 221s] In file included from test-bus.c:17: [ 221s] test-bus.c: In function 'kdbus_test_bus_make': [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 221s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:91:9: note: in expansion of macro 'ASSERT_NONZERO' [ 221s] 91 | ASSERT_NONZERO(name); [ 221s] | ^~~~~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 221s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:95:9: note: in expansion of macro 'ASSERT_RETURN' [ 221s] 95 | ASSERT_RETURN(env->control_fd,>=,0); [ 221s] | ^~~~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 221s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:98:9: note: in expansion of macro 'ASSERT_RETURN' [ 221s] 98 | ASSERT_RETURN(control_fd2,>=,0); [ 221s] | ^~~~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 221s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:116:9: note: in expansion of macro 'ASSERT_RETURN' [ 221s] 116 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_bus_make(env->control_fd, &bus_make.cmd)); [ 221s] | ^~~~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 221s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:123:9: note: in expansion of macro 'ASSERT_RETURN' [ 221s] 123 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_bus_make(env->control_fd, &bus_make.cmd)); [ 221s] | ^~~~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 221s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:130:9: note: in expansion of macro 'ASSERT_RETURN' [ 221s] 130 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_bus_make(env->control_fd, &bus_make.cmd)); [ 221s] | ^~~~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 221s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:137:9: note: in expansion of macro 'ASSERT_ZERO' [ 221s] 137 | ASSERT_ZERO(kdbus_cmd_bus_make(env->control_fd, &bus_make.cmd)); [ 221s] | ^~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 221s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:139:9: note: in expansion of macro 'ASSERT_RETURN' [ 221s] 139 | ASSERT_RETURN(-EEXIST,==,kdbus_cmd_bus_make(control_fd2, &bus_make.cmd)); [ 221s] | ^~~~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 221s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:142:9: note: in expansion of macro 'ASSERT_ZERO' [ 221s] 142 | ASSERT_ZERO(access(s, F_OK)); [ 221s] | ^~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 221s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:144:9: note: in expansion of macro 'ASSERT_ZERO' [ 221s] 144 | ASSERT_ZERO(test_bus_creator_info(s)); [ 221s] | ^~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 221s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:153:9: note: in expansion of macro 'ASSERT_RETURN' [ 221s] 153 | ASSERT_RETURN(-EBADFD,==,kdbus_cmd_bus_make(env->control_fd, &bus_make.cmd)); [ 221s] | ^~~~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 221s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:160:9: note: in expansion of macro 'ASSERT_ZERO' [ 221s] 160 | ASSERT_ZERO(kdbus_cmd_bus_make(control_fd2, &bus_make.cmd)); [ 221s] | ^~~~~~~~~~~ [ 221s] test-bus.c: In function 'test_bus_creator_info': [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 221s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:42:9: note: in expansion of macro 'ASSERT_NONZERO' [ 221s] 42 | ASSERT_NONZERO(tmp); [ 221s] | ^~~~~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 221s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:44:9: note: in expansion of macro 'ASSERT_NONZERO' [ 221s] 44 | ASSERT_NONZERO(busname); [ 221s] | ^~~~~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 221s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:47:9: note: in expansion of macro 'ASSERT_NONZERO' [ 221s] 47 | ASSERT_NONZERO(busname); [ 221s] | ^~~~~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 221s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:51:9: note: in expansion of macro 'ASSERT_NONZERO' [ 221s] 51 | ASSERT_NONZERO(conn); [ 221s] | ^~~~~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 221s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:53:9: note: in expansion of macro 'ASSERT_ZERO' [ 221s] 53 | ASSERT_ZERO(kdbus_bus_creator_info(conn, _KDBUS_ATTACH_ALL, &offset)); [ 221s] | ^~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 221s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:58:9: note: in expansion of macro 'ASSERT_NONZERO' [ 221s] 58 | ASSERT_NONZERO(item); [ 221s] | ^~~~~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 221s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:59:9: note: in expansion of macro 'ASSERT_ZERO' [ 221s] 59 | ASSERT_ZERO(strcmp(item->str, busname)); [ 221s] | ^~~~~~~~~~~ [ 221s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 221s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 221s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 221s] | ^~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 221s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 221s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 221s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 221s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 221s] | ^~~~~~~~~~~~ [ 221s] test-bus.c:62:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 221s] 62 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 221s] | ^~~~~~~~~~~~~~~~~ [ 221s] cc -c test-chat.c -o test-chat.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 222s] In file included from test-chat.c:14: [ 222s] test-chat.c: In function 'kdbus_test_chat': [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:27:9: note: in expansion of macro 'ASSERT_NONZERO' [ 222s] 27 | ASSERT_NONZERO(conn_a); [ 222s] | ^~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:29:9: note: in expansion of macro 'ASSERT_NONZERO' [ 222s] 29 | ASSERT_NONZERO(conn_b); [ 222s] | ^~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:32:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 32 | ASSERT_ZERO(kdbus_name_acquire(conn_a, "foo.bar.test", &flags)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:34:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 34 | ASSERT_ZERO(kdbus_name_acquire(conn_a, "foo.bar.baz", NULL)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:37:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 37 | ASSERT_ZERO(kdbus_name_acquire(conn_b, "foo.bar.baz", &flags)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:39:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 39 | ASSERT_ZERO(kdbus_name_acquire(conn_a, "foo.bar.double", NULL)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:42:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 42 | ASSERT_ZERO(kdbus_name_acquire(conn_a, "foo.bar.double", &flags)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:43:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 43 | ASSERT_ZERO(flags & KDBUS_NAME_ACQUIRED); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:45:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 45 | ASSERT_ZERO(kdbus_name_release(conn_a, "foo.bar.double")); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:47:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 47 | ASSERT_RETURN(-ESRCH,==,kdbus_name_release(conn_a, "foo.bar.double")); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:49:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 49 | ASSERT_ZERO(kdbus_list(conn_b, KDBUS_LIST_UNIQUE | KDBUS_LIST_NAMES | KDBUS_LIST_QUEUED | KDBUS_LIST_ACTIVATORS)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:51:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 51 | ASSERT_ZERO(kdbus_add_match_empty(conn_a)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:53:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 53 | ASSERT_ZERO(kdbus_add_match_empty(conn_b)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:56:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 56 | ASSERT_ZERO(kdbus_msg_send(conn_b, NULL, 0xc0000000 | cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:72:17: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 72 | ASSERT_RETURN(ret,>=,0); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:76:33: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 76 | ASSERT_ZERO(kdbus_name_release(conn_a, "foo.bar.baz")); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:78:25: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 78 | ASSERT_ZERO(kdbus_msg_recv(conn_a, NULL, NULL)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:79:25: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 79 | ASSERT_ZERO(kdbus_msg_send(conn_a, NULL, 0xc0000000 | cookie++, 0, 0, 0, conn_b->id)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:83:25: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 83 | ASSERT_ZERO(kdbus_msg_recv(conn_b, NULL, NULL)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:84:25: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 84 | ASSERT_ZERO(kdbus_msg_send(conn_b, NULL, 0xc0000000 | cookie++, 0, 0, 0, conn_a->id)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-chat.c:87:17: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 87 | ASSERT_ZERO(kdbus_list(conn_b, KDBUS_LIST_UNIQUE | KDBUS_LIST_NAMES | KDBUS_LIST_QUEUED | KDBUS_LIST_ACTIVATORS)); [ 222s] | ^~~~~~~~~~~ [ 222s] cc -c test-connection.c -o test-connection.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 222s] In file included from test-connection.c:21: [ 222s] test-connection.c: In function 'kdbus_test_hello': [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:32:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 32 | ASSERT_RETURN(fd,>=,0); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:41:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 41 | ASSERT_RETURN(-EFAULT,==,kdbus_cmd_hello(fd, (struct kdbus_cmd_hello *) ((char *) &hello + 1))); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:47:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 47 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_hello(fd, &hello)); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:54:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 54 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_hello(fd, &hello)); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:60:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 60 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_hello(fd, &hello)); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:64:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 64 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_hello(fd, &hello)); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:72:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 72 | ASSERT_ZERO(kdbus_cmd_hello(fd, &hello)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:75:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 75 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:75:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 75 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:75:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 75 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:78:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 78 | ASSERT_ZERO(kdbus_cmd_free(fd, &cmd_free)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:83:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 83 | ASSERT_RETURN(fd,>=,0); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:87:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 87 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_hello(fd, &hello)); [ 222s] | ^~~~~~~~~~~~~ [ 222s] test-connection.c: In function 'kdbus_test_byebye': [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:102:9: note: in expansion of macro 'ASSERT_NONZERO' [ 222s] 102 | ASSERT_NONZERO(conn); [ 222s] | ^~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:104:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 104 | ASSERT_ZERO(kdbus_add_match_empty(conn)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:106:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 106 | ASSERT_ZERO(kdbus_add_match_empty(env->conn)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:109:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 109 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, 0, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:112:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 112 | ASSERT_RETURN(-EBUSY,==,kdbus_cmd_byebye(conn->fd, &cmd_byebye)); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:115:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 115 | ASSERT_ZERO(kdbus_cmd_recv(conn->fd, &cmd_recv)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:117:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 117 | ASSERT_ZERO(kdbus_free(conn, cmd_recv.msg.offset)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:120:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 120 | ASSERT_ZERO(kdbus_cmd_byebye(conn->fd, &cmd_byebye)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:123:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 123 | ASSERT_RETURN(-ECONNRESET,==,kdbus_cmd_byebye(conn->fd, &cmd_byebye)); [ 222s] | ^~~~~~~~~~~~~ [ 222s] test-connection.c: In function 'kdbus_test_conn_info': [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:407:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 407 | ASSERT_ZERO(kdbus_conn_info(env->conn, env->conn->id, NULL, 0, NULL)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:416:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 416 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_conn_info(env->conn->fd, (struct kdbus_cmd_info *) &buf)); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:419:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 419 | ASSERT_RETURN(-ESRCH,==,kdbus_conn_info(env->conn, 0, "non.existent.name", 0, NULL)); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:426:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 426 | ASSERT_RETURN(have_caps,>=,0); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:428:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 428 | ASSERT_ZERO(kdbus_fuzz_conn_info(env, have_caps)); [ 222s] | ^~~~~~~~~~~ [ 222s] test-connection.c: In function 'kdbus_fuzz_conn_info': [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:199:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 199 | ASSERT_ZERO(kdbus_conn_info(env->conn, env->conn->id, NULL, valid_flags, &offset)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:202:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 202 | ASSERT_RETURN(info->id,==,env->conn->id); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:202:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 202 | ASSERT_RETURN(info->id,==,env->conn->id); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:206:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 206 | ASSERT_ZERO(item); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:210:17: note: in expansion of macro 'ASSERT_NONZERO' [ 222s] 210 | ASSERT_NONZERO(item); [ 222s] | ^~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:212:17: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 212 | ASSERT_ZERO(item); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:214:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 214 | ASSERT_ZERO(kdbus_free(env->conn, offset)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:217:9: note: in expansion of macro 'ASSERT_NONZERO' [ 222s] 217 | ASSERT_NONZERO(conn); [ 222s] | ^~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:220:9: note: in expansion of macro 'ASSERT_NONZERO' [ 222s] 220 | ASSERT_NONZERO(privileged); [ 222s] | ^~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:222:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 222 | ASSERT_ZERO(kdbus_conn_info(conn, conn->id, NULL, valid_flags, &offset)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:225:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 225 | ASSERT_RETURN(info->id,==,conn->id); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:225:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 225 | ASSERT_RETURN(info->id,==,conn->id); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:229:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 229 | ASSERT_ZERO(item); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:233:17: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 233 | ASSERT_RETURN(cnt,==,1U); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:236:17: note: in expansion of macro 'ASSERT_NONZERO' [ 222s] 236 | ASSERT_NONZERO(item); [ 222s] | ^~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:239:17: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 239 | ASSERT_ZERO(memcmp(&item->creds, &cached_creds, sizeof(struct kdbus_creds))); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:241:17: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 241 | ASSERT_ZERO(cnt); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:245:17: note: in expansion of macro 'ASSERT_NONZERO' [ 222s] 245 | ASSERT_NONZERO(item); [ 222s] | ^~~~~~~~~~~~~~ [ 222s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:248:17: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 248 | ASSERT_RETURN(item->pids.pid,==,cached_pids.pid); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:248:17: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 248 | ASSERT_RETURN(item->pids.pid,==,cached_pids.pid); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:248:17: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 248 | ASSERT_RETURN(item->pids.pid,==,cached_pids.pid); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:249:17: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 249 | ASSERT_RETURN(item->pids.tid,==,cached_pids.tid); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:249:17: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 249 | ASSERT_RETURN(item->pids.tid,==,cached_pids.tid); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:249:17: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 249 | ASSERT_RETURN(item->pids.tid,==,cached_pids.tid); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:250:17: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 250 | ASSERT_RETURN(item->pids.ppid,==,cached_pids.ppid); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:250:17: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 250 | ASSERT_RETURN(item->pids.ppid,==,cached_pids.ppid); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:250:17: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 250 | ASSERT_RETURN(item->pids.ppid,==,cached_pids.ppid); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:252:17: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 252 | ASSERT_ZERO(item); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:256:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 256 | ASSERT_ZERO(item); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:258:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 258 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:260:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 260 | ASSERT_ZERO(kdbus_name_acquire(conn, "com.example.a", NULL)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:262:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 262 | ASSERT_ZERO(kdbus_conn_info(conn, conn->id, NULL, valid_flags, &offset)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:265:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 265 | ASSERT_RETURN(info->id,==,conn->id); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:265:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 265 | ASSERT_RETURN(info->id,==,conn->id); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:269:17: note: in expansion of macro 'ASSERT_NONZERO' [ 222s] 269 | ASSERT_NONZERO(item); [ 222s] | ^~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:270:17: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 270 | ASSERT_ZERO(strcmp(item->name.name, "com.example.a")); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:272:17: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 272 | ASSERT_ZERO(item); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:274:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 274 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:276:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 276 | ASSERT_ZERO(kdbus_conn_info(conn, 0, "com.example.a", valid_flags, &offset)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:279:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 279 | ASSERT_RETURN(info->id,==,conn->id); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:279:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 279 | ASSERT_RETURN(info->id,==,conn->id); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:281:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 281 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 222s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 222s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 222s] | ^~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:288:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 222s] 288 | ASSERT_EXIT_ZERO(kdbus_conn_info(conn, conn->id, NULL, valid_flags, &offset)); [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:291:17: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 291 | ASSERT_EXIT(info->id,==,conn->id); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:291:17: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 291 | ASSERT_EXIT(info->id,==,conn->id); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:294:25: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 222s] 294 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(info, KDBUS_ITEM_OWNED_NAME)); [ 222s] | ^~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:295:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 222s] 295 | ASSERT_EXIT_ZERO(strcmp(item->name.name, "com.example.a")); [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:299:25: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 222s] 299 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(info, KDBUS_ITEM_CREDS)); [ 222s] | ^~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:302:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 222s] 302 | ASSERT_EXIT_ZERO(memcmp(&item->creds, &cached_creds, sizeof(struct kdbus_creds))); [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:306:25: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 222s] 306 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(info, KDBUS_ITEM_PIDS)); [ 222s] | ^~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:314:25: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 314 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:314:25: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 314 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:314:25: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 314 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:315:25: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 315 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:315:25: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 315 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:315:25: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 315 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:318:17: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 318 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:324:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 222s] 324 | ASSERT_EXIT_ZERO(kdbus_conn_info(conn, conn->id, NULL, invalid_flags, &offset)); [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:332:25: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 332 | ASSERT_EXIT(cnt,==,1U); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:334:25: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 222s] 334 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(info, KDBUS_ITEM_CREDS)); [ 222s] | ^~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:337:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 222s] 337 | ASSERT_EXIT_ZERO(memcmp(&item->creds, &cached_creds, sizeof(struct kdbus_creds))); [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:339:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 222s] 339 | ASSERT_EXIT_ZERO(cnt); [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:343:25: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 343 | ASSERT_EXIT(cnt,==,1U); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:345:25: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 222s] 345 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(info, KDBUS_ITEM_PIDS)); [ 222s] | ^~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:348:25: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 348 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:348:25: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 348 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:348:25: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 348 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:349:25: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 349 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:349:25: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 349 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:349:25: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 349 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:354:25: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 354 | ASSERT_EXIT(cnt,==,1U); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:356:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 222s] 356 | ASSERT_EXIT_ZERO(cnt); [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:360:25: note: in expansion of macro 'ASSERT_EXIT' [ 222s] 360 | ASSERT_EXIT(cnt,==,1U); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:362:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 222s] 362 | ASSERT_EXIT_ZERO(cnt); [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:364:17: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 364 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 222s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 222s] | ^~~~~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 222s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 222s] | ^~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 222s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 222s] | ^~~~~~~~~~ [ 222s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 222s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 222s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 222s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 222s] | ^~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:371:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 371 | ASSERT_ZERO(kdbus_name_acquire(conn, "com.example.b", NULL)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:373:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 373 | ASSERT_ZERO(kdbus_conn_info(conn, conn->id, NULL, valid_flags, &offset)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:376:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 376 | ASSERT_RETURN(info->id,==,conn->id); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:376:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 376 | ASSERT_RETURN(info->id,==,conn->id); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:380:17: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 380 | ASSERT_RETURN(cnt,==,2U); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:382:17: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 382 | ASSERT_RETURN(cnt,==,0U); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:384:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 384 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 222s] | ^~~~~~~~~~~ [ 222s] test-connection.c: In function 'kdbus_test_conn_update': [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:449:9: note: in expansion of macro 'ASSERT_NONZERO' [ 222s] 449 | ASSERT_NONZERO(conn); [ 222s] | ^~~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:451:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 451 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, 0x12345678, 0, 0, 0, conn->id)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:453:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 453 | ASSERT_ZERO(kdbus_msg_recv(conn, &msg, NULL)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:456:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 456 | ASSERT_RETURN(found,==,1); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:466:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 466 | ASSERT_ZERO(kdbus_conn_update_attach_flags(conn, _KDBUS_ATTACH_ALL, _KDBUS_ATTACH_ALL & ~KDBUS_ATTACH_TIMESTAMP)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:468:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 468 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, 0x12345678, 0, 0, 0, conn->id)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:470:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 470 | ASSERT_ZERO(kdbus_msg_recv(conn, &msg, NULL)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:473:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 473 | ASSERT_ZERO(found); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:476:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 476 | ASSERT_RETURN(-EINVAL,==,kdbus_conn_update_attach_flags(conn, _KDBUS_ATTACH_ALL + 1, _KDBUS_ATTACH_ALL)); [ 222s] | ^~~~~~~~~~~~~ [ 222s] test-connection.c: In function 'kdbus_test_writable_pool': [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:493:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 493 | ASSERT_RETURN(fd,>=,0); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:504:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 504 | ASSERT_ZERO(kdbus_cmd_hello(fd, &hello)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:507:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 507 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:507:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 507 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 222s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:507:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 507 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 222s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:510:9: note: in expansion of macro 'ASSERT_ZERO' [ 222s] 510 | ASSERT_ZERO(kdbus_cmd_free(fd, &cmd_free)); [ 222s] | ^~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:514:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 514 | ASSERT_RETURN(map,==,MAP_FAILED); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:518:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 518 | ASSERT_RETURN(map,!=,MAP_FAILED); [ 222s] | ^~~~~~~~~~~~~ [ 222s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 222s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 222s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 222s] | ^~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 222s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 222s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 222s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 222s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 222s] | ^~~~~~~~~~~~ [ 222s] test-connection.c:521:9: note: in expansion of macro 'ASSERT_RETURN' [ 222s] 521 | ASSERT_RETURN(0,>,mprotect(map, POOL_SIZE, PROT_READ | PROT_WRITE)); [ 222s] | ^~~~~~~~~~~~~ [ 223s] cc -c test-daemon.c -o test-daemon.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 223s] In file included from test-daemon.c:14: [ 223s] test-daemon.c: In function 'kdbus_test_daemon': [ 223s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 223s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 223s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 223s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 223s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 223s] | ^~~~~~~~~~~~~~~~~~~~ [ 223s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 223s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 223s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 223s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 223s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 223s] | ^~~~~~~~~~~~ [ 223s] test-daemon.c:31:9: note: in expansion of macro 'ASSERT_ZERO' [ 223s] 31 | ASSERT_ZERO(kdbus_name_acquire(env->conn, "com.example.kdbus-test", NULL)); [ 223s] | ^~~~~~~~~~~ [ 223s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 223s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 223s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 223s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 223s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 223s] | ^~~~~~~~~~~~~~~~~~~~ [ 223s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 223s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 223s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 223s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 223s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 223s] | ^~~~~~~~~~~~ [ 223s] test-daemon.c:52:25: note: in expansion of macro 'ASSERT_ZERO' [ 223s] 52 | ASSERT_ZERO(kdbus_msg_recv(env->conn, NULL, NULL)); [ 223s] | ^~~~~~~~~~~ [ 223s] cc -c test-endpoint.c -o test-endpoint.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 224s] In file included from test-endpoint.c:18: [ 224s] test-endpoint.c: In function 'kdbus_test_custom_endpoint': [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:215:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 215 | ASSERT_RETURN(-ENAMETOOLONG,==,create_endpoint(env->buspath, getuid(), fake_ep, 0)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:218:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 218 | ASSERT_RETURN(-EINVAL,==,create_endpoint(env->buspath, getuid() + 1, "foobar", 0)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:221:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 221 | ASSERT_RETURN(0,<=,ep_fd = create_endpoint(env->buspath, getuid(), "foo", 0)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:223:9: note: in expansion of macro 'ASSERT_NONZERO' [ 224s] 223 | ASSERT_NONZERO(tmp = strdup(env->buspath)); [ 224s] | ^~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:224:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 224 | ASSERT_RETURN(0,<=,asprintf(&ep, "%s/%u-%s", dirname(tmp), getuid(), epname)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:228:9: note: in expansion of macro 'ASSERT_NONZERO' [ 224s] 228 | ASSERT_NONZERO(reader = kdbus_hello(ep, 0, NULL, 0)); [ 224s] | ^~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:231:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 231 | ASSERT_ZERO(kdbus_add_match_id(reader, 0x1, KDBUS_ITEM_ID_ADD, KDBUS_MATCH_ID_ANY)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:232:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 232 | ASSERT_ZERO(kdbus_add_match_id(reader, 0x2, KDBUS_ITEM_ID_REMOVE, KDBUS_MATCH_ID_ANY)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:233:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 233 | ASSERT_ZERO(install_name_add_match(reader, name)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:237:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 237 | ASSERT_RETURN(errno,==,EOPNOTSUPP); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:238:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 238 | ASSERT_ZERO(ep_conn); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:240:9: note: in expansion of macro 'ASSERT_NONZERO' [ 224s] 240 | ASSERT_NONZERO(ep_conn = kdbus_hello(ep, 0, NULL, 0)); [ 224s] | ^~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:243:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 243 | ASSERT_ZERO(kdbus_msg_recv(reader, &msg, NULL)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 224s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:244:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 244 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:244:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 244 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 224s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:244:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 244 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 224s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:245:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 245 | ASSERT_RETURN(msg->items[0].id_change.id,==,ep_conn->id); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:245:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 245 | ASSERT_RETURN(msg->items[0].id_change.id,==,ep_conn->id); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:255:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 255 | ASSERT_ZERO(install_name_add_match(ep_conn, name)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:257:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 257 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:259:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 259 | ASSERT_RETURN(ONTIZEN(0,-EAGAIN),==,kdbus_msg_recv(ep_conn, NULL, NULL)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:260:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 260 | ASSERT_RETURN(ONTIZEN(0,-ESRCH),==,kdbus_conn_info(ep_conn, 0, name, 0, NULL)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:261:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 261 | ASSERT_RETURN(-ESRCH,==,kdbus_conn_info(ep_conn, 0, "random.crappy.name", 0, NULL)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:262:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 262 | ASSERT_RETURN(ONTIZEN(0,-ENXIO),==,kdbus_conn_info(ep_conn, env->conn->id, NULL, 0, NULL)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:263:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 263 | ASSERT_RETURN(-ENXIO,==,kdbus_conn_info(ep_conn, 0x0fffffffffffffffULL, NULL, 0, NULL)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:266:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 266 | ASSERT_RETURN(ONTIZEN(0,-EAGAIN),==,kdbus_msg_recv(reader, NULL, NULL)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:273:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 273 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:276:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 276 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(reader, NULL, NULL)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:278:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 278 | ASSERT_ZERO(update_endpoint(ep_fd, name)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:280:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 280 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:282:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 282 | ASSERT_ZERO(kdbus_msg_recv(ep_conn, &msg, NULL)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 224s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:283:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 283 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:283:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 283 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 224s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:283:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 283 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 224s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:284:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 284 | ASSERT_ZERO(msg->items[0].name_change.old_id.id); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:284:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 284 | ASSERT_ZERO(msg->items[0].name_change.old_id.id); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 224s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:284:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 284 | ASSERT_ZERO(msg->items[0].name_change.old_id.id); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 224s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:285:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 285 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,env->conn->id); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:285:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 285 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,env->conn->id); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:286:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 286 | ASSERT_ZERO(strcmp(msg->items[0].name_change.name, name)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:289:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 289 | ASSERT_ZERO(kdbus_msg_recv(reader, &msg, NULL)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:290:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 290 | ASSERT_ZERO(strcmp(msg->items[0].name_change.name, name)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:294:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 294 | ASSERT_ZERO(kdbus_conn_info(ep_conn, 0, name, 0, NULL)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:296:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 296 | ASSERT_ZERO(kdbus_conn_info(ep_conn, env->conn->id, NULL, 0, NULL)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:300:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 300 | ASSERT_RETURN(ret,>=,0); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:306:17: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 306 | ASSERT_ZERO(unpriv_test_custom_ep(env->buspath)); [ 224s] | ^~~~~~~~~~~ [ 224s] test-endpoint.c: In function 'unpriv_test_custom_ep': [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:100:9: note: in expansion of macro 'ASSERT_NONZERO' [ 224s] 100 | ASSERT_NONZERO(tmp1 = strdup(buspath)); [ 224s] | ^~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:101:9: note: in expansion of macro 'ASSERT_NONZERO' [ 224s] 101 | ASSERT_NONZERO(tmp2 = strdup(buspath)); [ 224s] | ^~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:104:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 104 | ASSERT_RETURN(ret,>,0); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:107:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 107 | ASSERT_RETURN(ret,>,0); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:114:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 114 | ASSERT_RETURN(ep_fd1,>=,0); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:119:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 119 | ASSERT_RETURN(ep_fd2,>=,0); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 224s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 224s] | ^~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 224s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 224s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 224s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 224s] | ^~~~~~~~~~~~~~~ [ 224s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 224s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 224s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 224s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 224s] | ^~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 224s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 224s] | ^~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 224s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 224s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 224s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 224s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 224s] | ^~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:131:17: note: in expansion of macro 'ASSERT_EXIT' [ 224s] 131 | ASSERT_EXIT(ep_fd,==,-EPERM); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 224s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 224s] | ^~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 224s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 224s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 224s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 224s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 224s] | ^~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:138:17: note: in expansion of macro 'ASSERT_EXIT' [ 224s] 138 | ASSERT_EXIT(errno,==,EACCES); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 224s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 224s] | ^~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 224s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 224s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 224s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 224s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 224s] | ^~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:139:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 224s] 139 | ASSERT_EXIT_ZERO(ep_conn); [ 224s] | ^~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 224s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 224s] | ^~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 224s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 224s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 224s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 224s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 224s] | ^~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:142:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 224s] 142 | ASSERT_EXIT_NONZERO(ep_conn = kdbus_hello(ep2, 0, NULL, 0)); [ 224s] | ^~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 224s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 224s] | ^~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 224s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 224s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 224s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 224s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 224s] | ^~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 224s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 224s] | ^~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 224s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 224s] | ^~~~~~~~~~~~~~ [ 224s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 224s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 224s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 224s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 224s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 224s] | ^~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 224s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 224s] | ^~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 224s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 224s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 224s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 224s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 224s] | ^~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 224s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 224s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 224s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 224s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 224s] | ^~~~~~~~~~~~~~~~ [ 224s] test-endpoint.c: In function 'kdbus_test_custom_endpoint': [ 224s] test-endpoint.c:286:21: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] [ 224s] 286 | ASSERT_ZERO(strcmp(msg->items[0].name_change.name, name)); [ 224s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 224s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 224s] | ^~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:286:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 286 | ASSERT_ZERO(strcmp(msg->items[0].name_change.name, name)); [ 224s] | ^~~~~~~~~~~ [ 224s] In file included from kdbus-util.h:17, [ 224s] from kdbus-api.h:5, [ 224s] from test-endpoint.c:15: [ 224s] ../../include/uapi/linux/kdbus.h:57:14: note: source object 'name' of size 0 [ 224s] 57 | char name[0]; [ 224s] | ^~~~ [ 224s] test-endpoint.c:290:21: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] [ 224s] 290 | ASSERT_ZERO(strcmp(msg->items[0].name_change.name, name)); [ 224s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 224s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 224s] | ^~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-endpoint.c:290:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 290 | ASSERT_ZERO(strcmp(msg->items[0].name_change.name, name)); [ 224s] | ^~~~~~~~~~~ [ 224s] ../../include/uapi/linux/kdbus.h:57:14: note: source object 'name' of size 0 [ 224s] 57 | char name[0]; [ 224s] | ^~~~ [ 224s] cc -c test-fd.c -o test-fd.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 224s] In file included from test-fd.c:19: [ 224s] test-fd.c: In function 'kdbus_test_fd_passing': [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:661:9: note: in expansion of macro 'ASSERT_NONZERO' [ 224s] 661 | ASSERT_NONZERO(conn_src = kdbus_hello(env->buspath, 0, NULL, 0)); [ 224s] | ^~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:662:9: note: in expansion of macro 'ASSERT_NONZERO' [ 224s] 662 | ASSERT_NONZERO(conn_dst = kdbus_hello(env->buspath, 0, NULL, 0)); [ 224s] | ^~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:667:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 667 | ASSERT_ZERO(socketpair(AF_UNIX, SOCK_STREAM, 0, sock_pair)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:671:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 671 | ASSERT_RETURN(memfd,>=,0); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:676:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 676 | ASSERT_ZERO(ret); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:679:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 679 | ASSERT_RETURN(i,==,strlen(str)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:685:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 685 | ASSERT_RETURN(-ENOTSUP,==,send_fds(conn_src, conn_dst->id, fds_conn, 2)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:686:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 686 | ASSERT_RETURN(-ENOTSUP,==,send_fds(conn_dst, conn_src->id, fds_conn, 2)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:691:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 691 | ASSERT_ZERO(send_fds(conn_src, conn_dst->id, sock_pair, 2)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:692:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 692 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:697:25: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 697 | ASSERT_RETURN(nfds,==,2); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:704:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 704 | ASSERT_ZERO(kdbus_test_no_fds(env, fds, (int *)&memfd)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:707:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 707 | ASSERT_RETURN(-ENOTUNIQ,==,send_fds(conn_src, KDBUS_DST_ID_BROADCAST, fds, 1)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:710:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 710 | ASSERT_ZERO(send_memfds(conn_src, KDBUS_DST_ID_BROADCAST, (int *)&memfd, 1)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:718:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 718 | ASSERT_ZERO(send_fds(conn_src, conn_dst->id, fds, 1)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:721:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 721 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:728:25: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 728 | ASSERT_RETURN(sizeof(tmp),==,strlen(str)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:729:25: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 729 | ASSERT_RETURN(nfds,==,1); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:733:33: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 733 | ASSERT_RETURN(i,==,sizeof(tmp)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:734:33: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 734 | ASSERT_ZERO(memcmp(tmp, str, sizeof(tmp))); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:764:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 764 | ASSERT_RETURN(-EBADF,==,send_fds(conn_src, conn_dst->id, fds, 1)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:768:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 768 | ASSERT_ZERO(kdbus_send_multiple_fds(conn_src, conn_dst)); [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c: In function 'memfd_write': [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 224s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:84:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 224s] 84 | ASSERT_RETURN_VAL(memfd,>=,0, memfd); [ 224s] | ^~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 224s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:87:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 224s] 87 | ASSERT_RETURN_VAL(ret,==,(ssize_t)bufsize, -EAGAIN); [ 224s] | ^~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 224s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:90:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 224s] 90 | ASSERT_RETURN_VAL(ret,==,0, -errno); [ 224s] | ^~~~~~~~~~~~~~~~~ [ 224s] test-fd.c: In function 'kdbus_test_no_fds': [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:257:9: note: in expansion of macro 'ASSERT_NONZERO' [ 224s] 257 | ASSERT_NONZERO(conn_src = kdbus_hello(env->buspath, 0, NULL, 0)); [ 224s] | ^~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:260:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 260 | ASSERT_RETURN(connfd1,>=,0); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:263:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 263 | ASSERT_RETURN(connfd2,>=,0); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:269:9: note: in expansion of macro 'ASSERT_NONZERO' [ 224s] 269 | ASSERT_NONZERO(conn_dst = alloc(sizeof(*conn_dst))); [ 224s] | ^~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:270:9: note: in expansion of macro 'ASSERT_NONZERO' [ 224s] 270 | ASSERT_NONZERO(conn_dummy = alloc(sizeof(*conn_dummy))); [ 224s] | ^~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:277:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 277 | ASSERT_ZERO(kdbus_cmd_hello(connfd1, &hello)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:281:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 281 | ASSERT_ZERO(kdbus_cmd_free(connfd1, &cmd_free)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:292:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 292 | ASSERT_ZERO(kdbus_cmd_hello(connfd2, &hello)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:296:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 296 | ASSERT_ZERO(kdbus_cmd_free(connfd2, &cmd_free)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:304:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 304 | ASSERT_RETURN(conn_dst->buf,!=,MAP_FAILED); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:308:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 308 | ASSERT_RETURN(conn_dummy->buf,!=,MAP_FAILED); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:313:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 313 | ASSERT_RETURN(-ECOMM,==,send_fds(conn_src, conn_dst->id, fds, 1)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:318:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 318 | ASSERT_ZERO(send_memfds(conn_src, conn_dst->id, memfd, 1)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:320:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 320 | ASSERT_ZERO(kdbus_msg_recv_poll(conn_dst, 100, NULL, NULL)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 224s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:325:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 224s] 325 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 224s] | ^~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:334:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 224s] 334 | ASSERT_EXIT_NONZERO(msg_sync_reply = get_kdbus_msg_with_fd(conn_dst, conn_dummy->id, cookie, fds[0])); [ 224s] | ^~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:336:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 224s] 336 | ASSERT_EXIT_ZERO(clock_gettime(CLOCK_MONOTONIC_COARSE, &now)); [ 224s] | ^~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:347:17: note: in expansion of macro 'ASSERT_EXIT' [ 224s] 347 | ASSERT_EXIT(-ECOMM,==,kdbus_cmd_send(conn_dst->fd, &cmd)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:357:17: note: in expansion of macro 'ASSERT_EXIT' [ 224s] 357 | ASSERT_EXIT(-EREMOTEIO,==,kdbus_msg_send_sync(conn_dst, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 5000000000ULL, 0, conn_src->id, -1)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:360:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 224s] 360 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(conn_dst, 100, &msg, NULL)); [ 224s] | ^~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 224s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:361:17: note: in expansion of macro 'ASSERT_EXIT' [ 224s] 361 | ASSERT_EXIT(msg->cookie,==,cookie); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:361:17: note: in expansion of macro 'ASSERT_EXIT' [ 224s] 361 | ASSERT_EXIT(msg->cookie,==,cookie); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:369:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 369 | ASSERT_RETURN(-ETIMEDOUT,==,kdbus_msg_recv_poll(conn_dummy, 100, NULL, NULL)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:372:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 372 | ASSERT_ZERO(kdbus_msg_recv_poll(conn_src, 100, &msg, NULL)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 224s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:373:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 373 | ASSERT_RETURN(msg->cookie,==,cookie); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:373:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 373 | ASSERT_RETURN(msg->cookie,==,cookie); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:384:9: note: in expansion of macro 'ASSERT_NONZERO' [ 224s] 384 | ASSERT_NONZERO(msg_sync_reply); [ 224s] | ^~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:392:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 392 | ASSERT_RETURN(-EOPNOTSUPP,==,kdbus_cmd_send(conn_src->fd, &cmd)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:405:9: note: in expansion of macro 'ASSERT_NONZERO' [ 224s] 405 | ASSERT_NONZERO(msg_sync_reply); [ 224s] | ^~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:413:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 413 | ASSERT_RETURN(-ECOMM,==,kdbus_cmd_send(conn_src->fd, &cmd)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:422:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 422 | ASSERT_ZERO(kdbus_msg_send(conn_src, NULL, cookie, 0, 0, 0, conn_dst->id)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 224s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:425:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 224s] 425 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 224s] | ^~~~~~~~~~~~~~~~~ [ 224s] test-fd.c: In function 'get_kdbus_msg_with_fd': [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 224s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:231:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 224s] 231 | ASSERT_RETURN_VAL(ret,==,0, NULL); [ 224s] | ^~~~~~~~~~~~~~~~~ [ 224s] test-fd.c: In function 'make_msg_payload_dbus': [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 224s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:39:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 224s] 39 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 224s] | ^~~~~~~~~~~~~~~~~ [ 224s] test-fd.c: In function 'send_memfds': [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 224s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:111:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 224s] 111 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 224s] | ^~~~~~~~~~~~~~~~~ [ 224s] test-fd.c: In function 'send_fds': [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 224s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:154:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 224s] 154 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 224s] | ^~~~~~~~~~~~~~~~~ [ 224s] test-fd.c: In function 'kdbus_send_multiple_fds': [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:479:33: note: in expansion of macro 'MAKE_FDS_' [ 224s] 479 | #define MAKE_FDS(ARRAY_NAME) MAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:549:9: note: in expansion of macro 'MAKE_FDS' [ 224s] 549 | MAKE_FDS(fds); [ 224s] | ^~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:479:33: note: in expansion of macro 'MAKE_FDS_' [ 224s] 479 | #define MAKE_FDS(ARRAY_NAME) MAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:549:9: note: in expansion of macro 'MAKE_FDS' [ 224s] 549 | MAKE_FDS(fds); [ 224s] | ^~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:552:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 552 | ASSERT_RETURN(-EMFILE,==,send_fds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER + 1)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:555:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 555 | ASSERT_ZERO(send_fds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:556:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 556 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:539:36: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 539 | #define CHECK_FDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_fds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:557:9: note: in expansion of macro 'CHECK_FDS' [ 224s] 557 | CHECK_FDS(fds, KDBUS_CONN_MAX_FDS_PER_USER, msg); [ 224s] | ^~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:480:33: note: in expansion of macro 'MAKE_FDS_' [ 224s] 480 | #define MAKE_MEMFDS(ARRAY_NAME) MAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:560:9: note: in expansion of macro 'MAKE_MEMFDS' [ 224s] 560 | MAKE_MEMFDS(memfds); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:480:33: note: in expansion of macro 'MAKE_FDS_' [ 224s] 480 | #define MAKE_MEMFDS(ARRAY_NAME) MAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:560:9: note: in expansion of macro 'MAKE_MEMFDS' [ 224s] 560 | MAKE_MEMFDS(memfds); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:563:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 563 | ASSERT_RETURN(-E2BIG,==,send_memfds(conn_src, conn_dst->id, memfds, KDBUS_MSG_MAX_ITEMS + 1)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:564:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 564 | ASSERT_RETURN(-E2BIG,==,send_memfds(conn_src, conn_dst->id, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS + 1)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:567:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 567 | ASSERT_ZERO(send_memfds(conn_src, conn_dst->id, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:568:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 568 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:540:39: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 540 | #define CHECK_MEMFDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_memfds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:571:9: note: in expansion of macro 'CHECK_MEMFDS' [ 224s] 571 | CHECK_MEMFDS(memfds, KDBUS_MSG_MAX_MEMFD_ITEMS, msg); [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:448:9: note: in expansion of macro 'CLOSE_FDS' [ 224s] 448 | CLOSE_FDS(ARRAY_NAME);\ [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 224s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:575:9: note: in expansion of macro 'REMAKE_FDS' [ 224s] 575 | REMAKE_FDS(fds); [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 224s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 224s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:575:9: note: in expansion of macro 'REMAKE_FDS' [ 224s] 575 | REMAKE_FDS(fds); [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 224s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 224s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:575:9: note: in expansion of macro 'REMAKE_FDS' [ 224s] 575 | REMAKE_FDS(fds); [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:448:9: note: in expansion of macro 'CLOSE_FDS' [ 224s] 448 | CLOSE_FDS(ARRAY_NAME);\ [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 224s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:576:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 224s] 576 | REMAKE_MEMFDS(memfds); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 224s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 224s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:576:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 224s] 576 | REMAKE_MEMFDS(memfds); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 224s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 224s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:576:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 224s] 576 | REMAKE_MEMFDS(memfds); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:582:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 582 | ASSERT_RETURN(-EMFILE,==,send_fds_memfds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER + 1, memfds, 10)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:583:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 583 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn_dst, NULL, NULL)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:590:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 590 | ASSERT_RETURN(-E2BIG,==,send_fds_memfds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER, memfds, (KDBUS_MSG_MAX_ITEMS - 1) + 1)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:591:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 591 | ASSERT_RETURN(-E2BIG,==,send_fds_memfds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS + 1)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:592:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 592 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn_dst, NULL, NULL)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:598:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 598 | ASSERT_ZERO(send_fds_memfds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:600:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 600 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:539:36: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 539 | #define CHECK_FDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_fds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:603:9: note: in expansion of macro 'CHECK_FDS' [ 224s] 603 | CHECK_FDS(fds, KDBUS_CONN_MAX_FDS_PER_USER, msg); [ 224s] | ^~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:540:39: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 540 | #define CHECK_MEMFDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_memfds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:604:9: note: in expansion of macro 'CHECK_MEMFDS' [ 224s] 604 | CHECK_MEMFDS(memfds, KDBUS_MSG_MAX_MEMFD_ITEMS, msg); [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:448:9: note: in expansion of macro 'CLOSE_FDS' [ 224s] 448 | CLOSE_FDS(ARRAY_NAME);\ [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 224s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:608:9: note: in expansion of macro 'REMAKE_FDS' [ 224s] 608 | REMAKE_FDS(fds); [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 224s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 224s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:608:9: note: in expansion of macro 'REMAKE_FDS' [ 224s] 608 | REMAKE_FDS(fds); [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 224s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 224s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:608:9: note: in expansion of macro 'REMAKE_FDS' [ 224s] 608 | REMAKE_FDS(fds); [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:448:9: note: in expansion of macro 'CLOSE_FDS' [ 224s] 448 | CLOSE_FDS(ARRAY_NAME);\ [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 224s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:609:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 224s] 609 | REMAKE_MEMFDS(memfds); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 224s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 224s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:609:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 224s] 609 | REMAKE_MEMFDS(memfds); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 224s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 224s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:609:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 224s] 609 | REMAKE_MEMFDS(memfds); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:615:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 615 | ASSERT_ZERO(send_fds_memfds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:448:9: note: in expansion of macro 'CLOSE_FDS' [ 224s] 448 | CLOSE_FDS(ARRAY_NAME);\ [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 224s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:618:9: note: in expansion of macro 'REMAKE_FDS' [ 224s] 618 | REMAKE_FDS(fds); [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 224s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 224s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:618:9: note: in expansion of macro 'REMAKE_FDS' [ 224s] 618 | REMAKE_FDS(fds); [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 224s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 224s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:618:9: note: in expansion of macro 'REMAKE_FDS' [ 224s] 618 | REMAKE_FDS(fds); [ 224s] | ^~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:621:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 621 | ASSERT_RETURN(-EMFILE,==,send_fds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:624:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 624 | ASSERT_ZERO(send_memfds(conn_src, conn_dst->id, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:625:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 625 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:539:36: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 539 | #define CHECK_FDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_fds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:626:9: note: in expansion of macro 'CHECK_FDS' [ 224s] 626 | CHECK_FDS(fds, KDBUS_CONN_MAX_FDS_PER_USER, msg); [ 224s] | ^~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:540:39: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 540 | #define CHECK_MEMFDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_memfds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:627:9: note: in expansion of macro 'CHECK_MEMFDS' [ 224s] 627 | CHECK_MEMFDS(memfds, KDBUS_MSG_MAX_MEMFD_ITEMS, msg); [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:630:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 630 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:540:39: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 540 | #define CHECK_MEMFDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_memfds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c:633:9: note: in expansion of macro 'CHECK_MEMFDS' [ 224s] 633 | CHECK_MEMFDS(memfds, KDBUS_MSG_MAX_MEMFD_ITEMS, msg); [ 224s] | ^~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:636:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 636 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn_dst, NULL, NULL)); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:638:9: note: in expansion of macro 'CLOSE_FDS' [ 224s] 638 | CLOSE_FDS(fds); [ 224s] | ^~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 224s] | ^~~~~~~~~~~~~ [ 224s] test-fd.c:639:9: note: in expansion of macro 'CLOSE_FDS' [ 224s] 639 | CLOSE_FDS(memfds); [ 224s] | ^~~~~~~~~ [ 224s] test-fd.c: In function 'send_fds_memfds': [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 224s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:196:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 224s] 196 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 224s] | ^~~~~~~~~~~~~~~~~ [ 224s] test-fd.c: In function 'check_fds': [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:487:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 487 | ASSERT_RETURN(0,<,togo); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:488:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 488 | ASSERT_RETURN(togo,<=,total_count); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:494:25: note: in expansion of macro 'ASSERT_NONZERO' [ 224s] 494 | ASSERT_NONZERO(togo); [ 224s] | ^~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:499:41: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 499 | ASSERT_ZERO(eventfd_read(fd, &value)); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:500:41: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 500 | ASSERT_RETURN(value,==,++value_checked_in); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:504:25: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 504 | ASSERT_ZERO(togo); [ 224s] | ^~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:506:9: note: in expansion of macro 'ASSERT_ZERO' [ 224s] 506 | ASSERT_ZERO(togo); [ 224s] | ^~~~~~~~~~~ [ 224s] test-fd.c: In function 'check_memfds': [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:514:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 514 | ASSERT_RETURN(0,<,togo); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 224s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:515:9: note: in expansion of macro 'ASSERT_RETURN' [ 224s] 515 | ASSERT_RETURN(togo,<=,total_count); [ 224s] | ^~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 224s] | ^~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 224s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 224s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 224s] | ^~~~~~~~~~~~ [ 224s] test-fd.c:520:25: note: in expansion of macro 'ASSERT_NONZERO' [ 224s] 520 | ASSERT_NONZERO(togo); [ 224s] | ^~~~~~~~~~~~~~ [ 224s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 224s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 224s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 224s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 224s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 225s] | ^~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 225s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 225s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 225s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 225s] | ^~~~~~~~~~~~ [ 225s] test-fd.c:526:33: note: in expansion of macro 'ASSERT_ZERO' [ 225s] 526 | ASSERT_ZERO(sys_memfd_get_size(fd, &size)); [ 225s] | ^~~~~~~~~~~ [ 225s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 225s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 225s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 225s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 225s] | ^~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 225s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 225s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 225s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 225s] | ^~~~~~~~~~~~ [ 225s] test-fd.c:527:33: note: in expansion of macro 'ASSERT_RETURN' [ 225s] 527 | ASSERT_RETURN(size,==,(typeof(size))sizeof(value_checked_in)); [ 225s] | ^~~~~~~~~~~~~ [ 225s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 225s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 225s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 225s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 225s] | ^~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 225s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 225s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 225s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 225s] | ^~~~~~~~~~~~ [ 225s] test-fd.c:528:33: note: in expansion of macro 'ASSERT_RETURN' [ 225s] 528 | ASSERT_RETURN((uint64_t)size,==,item->memfd.size); [ 225s] | ^~~~~~~~~~~~~ [ 225s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 225s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 225s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 225s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 225s] | ^~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 225s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 225s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 225s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 225s] | ^~~~~~~~~~~~ [ 225s] test-fd.c:528:33: note: in expansion of macro 'ASSERT_RETURN' [ 225s] 528 | ASSERT_RETURN((uint64_t)size,==,item->memfd.size); [ 225s] | ^~~~~~~~~~~~~ [ 225s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 225s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 225s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 225s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 225s] | ^~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 225s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 225s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 225s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 225s] | ^~~~~~~~~~~~ [ 225s] test-fd.c:529:33: note: in expansion of macro 'ASSERT_RETURN' [ 225s] 529 | ASSERT_RETURN(MAP_FAILED, !=, (buf = mmap(NULL, size, PROT_READ, MAP_PRIVATE, fd, 0))); [ 225s] | ^~~~~~~~~~~~~ [ 225s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 225s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 225s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 225s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 225s] | ^~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 225s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 225s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 225s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 225s] | ^~~~~~~~~~~~ [ 225s] test-fd.c:530:33: note: in expansion of macro 'ASSERT_RETURN' [ 225s] 530 | ASSERT_RETURN(*buf,==,++value_checked_in); [ 225s] | ^~~~~~~~~~~~~ [ 225s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 225s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 225s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 225s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 225s] | ^~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 225s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 225s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 225s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 225s] | ^~~~~~~~~~~~ [ 225s] test-fd.c:531:33: note: in expansion of macro 'ASSERT_ZERO' [ 225s] 531 | ASSERT_ZERO(munmap(buf, size)); [ 225s] | ^~~~~~~~~~~ [ 225s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 225s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 225s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 225s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 225s] | ^~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 225s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 225s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 225s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 225s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 225s] | ^~~~~~~~~~~~ [ 225s] test-fd.c:534:9: note: in expansion of macro 'ASSERT_ZERO' [ 225s] 534 | ASSERT_ZERO(togo); [ 225s] | ^~~~~~~~~~~ [ 227s] cc -c test-free.c -o test-free.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 227s] In file included from test-free.c:15: [ 227s] test-free.c: In function 'kdbus_test_free': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:61:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 61 | ASSERT_RETURN(-ENXIO,==,kdbus_cmd_free(env->conn->fd, &cmd_free)); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:66:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 66 | ASSERT_RETURN(-ENXIO,==,kdbus_cmd_free(env->conn->fd, &cmd_free)); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:79:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 79 | ASSERT_ZERO(sample_ioctl_call(env, &off, &siz)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:82:33: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 82 | ASSERT_ZERO(area_before(off,siz,offset[j])); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:86:33: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 86 | ASSERT_ZERO(area_before(offset[j],size[j],off)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:90:17: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 90 | ASSERT_RETURN(j+1,>=,0); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:91:17: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 91 | ASSERT_RETURN((unsigned)(j+1),<=,i); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:106:25: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 106 | ASSERT_RETURN(-ENXIO,==,kdbus_cmd_free(env->conn->fd, &cmd_free)); [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-free.c: In function 'sample_ioctl_call': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:26:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 26 | ASSERT_ZERO(kdbus_cmd_list(env->conn->fd, &cmd_list)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:28:29: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 28 | #define A(L,R) do { ASSERT_RETURN((typeof(L))(R),==,(R)); *p##L = L = (R); } while (0) [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-free.c:29:17: note: in expansion of macro 'A' [ 227s] 29 | A(off, cmd_list.offset); [ 227s] | ^ [ 227s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:28:29: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 28 | #define A(L,R) do { ASSERT_RETURN((typeof(L))(R),==,(R)); *p##L = L = (R); } while (0) [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-free.c:29:17: note: in expansion of macro 'A' [ 227s] 29 | A(off, cmd_list.offset); [ 227s] | ^ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:30:17: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 30 | ASSERT_RETURN(off,<,POOL_SIZE); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:28:29: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 28 | #define A(L,R) do { ASSERT_RETURN((typeof(L))(R),==,(R)); *p##L = L = (R); } while (0) [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-free.c:31:17: note: in expansion of macro 'A' [ 227s] 31 | A(size, ((struct kdbus_info *)((uintptr_t)env->conn->buf + off))->size); [ 227s] | ^ [ 227s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:28:29: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 28 | #define A(L,R) do { ASSERT_RETURN((typeof(L))(R),==,(R)); *p##L = L = (R); } while (0) [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-free.c:31:17: note: in expansion of macro 'A' [ 227s] 31 | A(size, ((struct kdbus_info *)((uintptr_t)env->conn->buf + off))->size); [ 227s] | ^ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:34:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 34 | ASSERT_RETURN(off+size,<,POOL_SIZE); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:35:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 35 | ASSERT_RETURN(off+size,>=,size); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:36:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 36 | ASSERT_RETURN(off+size,>,off); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:37:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 37 | ASSERT_ZERO(size % 8); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:38:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 38 | ASSERT_RETURN(size,>=,sizeof(struct kdbus_info)); [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-free.c: In function 'area_before': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-free.c:47:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 47 | ASSERT_RETURN(off_left+size_left,<=,off_right); [ 227s] | ^~~~~~~~~~~~~ [ 227s] cc -c test-match.c -o test-match.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 227s] In file included from test-match.c:15: [ 227s] test-match.c: In function 'kdbus_test_match_id_add': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:38:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 38 | ASSERT_ZERO(add_id_match_((CONN),(FLAGS),KDBUS_ITEM_ID_##NOTIFICATION_TYPE,(ID))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:46:9: note: in expansion of macro 'ADD_ID_MATCH' [ 227s] 46 | ADD_ID_MATCH(env->conn, 0, ADD, KDBUS_MATCH_ID_ANY); [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:49:9: note: in expansion of macro 'ASSERT_NONZERO' [ 227s] 49 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 227s] | ^~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:52:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 52 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:53:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 53 | ASSERT_NO_PENDING(env->conn); [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:55:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 55 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:55:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 55 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:55:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 55 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:56:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 56 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:56:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 56 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c: In function 'add_id_match_': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:34:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 34 | ASSERT_ZERO(kdbus_cmd_match_add(conn->fd, &buf.cmd)); [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c: In function 'kdbus_test_match_id_remove': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:70:9: note: in expansion of macro 'ASSERT_NONZERO' [ 227s] 70 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 227s] | ^~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:38:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 38 | ASSERT_ZERO(add_id_match_((CONN),(FLAGS),KDBUS_ITEM_ID_##NOTIFICATION_TYPE,(ID))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:74:9: note: in expansion of macro 'ADD_ID_MATCH' [ 227s] 74 | ADD_ID_MATCH(env->conn, 0, REMOVE, id); [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:80:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 80 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:82:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 82 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:82:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 82 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:82:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 82 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:83:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 83 | ASSERT_RETURN(msg->items[0].id_change.id,==,id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:83:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 83 | ASSERT_RETURN(msg->items[0].id_change.id,==,id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c: In function 'kdbus_test_match_replace': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:95:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 95 | ASSERT_RETURN(kdbus_test_match_id_add(env),==,TEST_OK); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:38:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 38 | ASSERT_ZERO(add_id_match_((CONN),(FLAGS),KDBUS_ITEM_ID_##NOTIFICATION_TYPE,(ID))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:98:9: note: in expansion of macro 'ADD_ID_MATCH' [ 227s] 98 | ADD_ID_MATCH(env->conn, KDBUS_MATCH_REPLACE, REMOVE, KDBUS_MATCH_ID_ANY); [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:101:9: note: in expansion of macro 'ASSERT_NONZERO' [ 227s] 101 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 227s] | ^~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:105:9: note: in expansion of macro 'ASSERT_NONZERO' [ 227s] 105 | ASSERT_NONZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 227s] | ^~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:111:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 111 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:113:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 113 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:113:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 113 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:113:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 113 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:114:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 114 | ASSERT_RETURN(msg->items[0].id_change.id,==,id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:114:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 114 | ASSERT_RETURN(msg->items[0].id_change.id,==,id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c: In function 'kdbus_test_match_name_add': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:187:9: note: in expansion of macro 'ASSERT_NONZERO' [ 227s] 187 | ASSERT_NONZERO(listener = kdbus_hello(env->buspath, 0, NULL, 0)); [ 227s] | ^~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:190:9: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 190 | ADD_NAME_MATCH(env->conn, 0, KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, ADD, name); [ 227s] | ^~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:193:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 193 | ASSERT_ZERO(kdbus_test_match_name_add_(env, name, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:194:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 194 | ASSERT_NO_PENDING(listener); [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:197:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 197 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, KDBUS_MATCH_ID_ANY, (ID), ADD, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:201:17: note: in expansion of macro 'CHECK' [ 227s] 201 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:198:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 198 | ASSERT_ZERO(kdbus_test_match_name_add_(env, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:201:17: note: in expansion of macro 'CHECK' [ 227s] 201 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:199:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 199 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:201:17: note: in expansion of macro 'CHECK' [ 227s] 201 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:197:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 197 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, KDBUS_MATCH_ID_ANY, (ID), ADD, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:202:17: note: in expansion of macro 'CHECK' [ 227s] 202 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:198:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 198 | ASSERT_ZERO(kdbus_test_match_name_add_(env, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:202:17: note: in expansion of macro 'CHECK' [ 227s] 202 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:199:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 199 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:202:17: note: in expansion of macro 'CHECK' [ 227s] 202 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:197:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 197 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, KDBUS_MATCH_ID_ANY, (ID), ADD, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:203:17: note: in expansion of macro 'CHECK' [ 227s] 203 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:198:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 198 | ASSERT_ZERO(kdbus_test_match_name_add_(env, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:203:17: note: in expansion of macro 'CHECK' [ 227s] 203 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:199:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 199 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:203:17: note: in expansion of macro 'CHECK' [ 227s] 203 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:197:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 197 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, KDBUS_MATCH_ID_ANY, (ID), ADD, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:204:17: note: in expansion of macro 'CHECK' [ 227s] 204 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:198:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 198 | ASSERT_ZERO(kdbus_test_match_name_add_(env, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:204:17: note: in expansion of macro 'CHECK' [ 227s] 204 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:199:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 199 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:204:17: note: in expansion of macro 'CHECK' [ 227s] 204 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 227s] | ^~~~~ [ 227s] test-match.c: In function 'add_name_match_': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:145:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 145 | ASSERT_ZERO(kdbus_cmd_match_add(conn->fd, &buf.cmd)); [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c: In function 'kdbus_test_match_name_add_': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:169:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 169 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:171:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 227s] 171 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), 0, env->conn->id, ADD, name) [ 227s] | ^~~~~~~~~~~~~~~~~~~ [ 227s] test-match.c:172:17: note: in expansion of macro 'CHECK' [ 227s] 172 | CHECK(env->conn); [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:171:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 227s] 171 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), 0, env->conn->id, ADD, name) [ 227s] | ^~~~~~~~~~~~~~~~~~~ [ 227s] test-match.c:174:25: note: in expansion of macro 'CHECK' [ 227s] 174 | CHECK(listener); [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:177:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 177 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c: In function 'assert_single_match_': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:154:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 154 | ASSERT_ZERO(kdbus_msg_recv(conn, &msg, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:155:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 155 | ASSERT_RETURN(msg->items[0].type,==,notification_type); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:155:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 155 | ASSERT_RETURN(msg->items[0].type,==,notification_type); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:156:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 156 | ASSERT_RETURN(msg->items[0].name_change.old_id.id,==,old_id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:156:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 156 | ASSERT_RETURN(msg->items[0].name_change.old_id.id,==,old_id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:157:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 157 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,new_id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:157:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 157 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,new_id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:158:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 158 | ASSERT_ZERO(strcmp(msg->items[0].name_change.name, name)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:159:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 159 | ASSERT_ZERO(kdbus_free_msg(conn, msg)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:160:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 160 | ASSERT_NO_PENDING(conn); [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c: In function 'kdbus_test_match_name_remove': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:234:9: note: in expansion of macro 'ASSERT_NONZERO' [ 227s] 234 | ASSERT_NONZERO(listener = kdbus_hello(env->buspath, 0, NULL, 0)); [ 227s] | ^~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:237:9: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 237 | ADD_NAME_MATCH(env->conn, 0, KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, REMOVE, name); [ 227s] | ^~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:240:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 240 | ASSERT_ZERO(kdbus_test_match_name_remove_(env, name, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:241:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 241 | ASSERT_NO_PENDING(listener); [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:244:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 244 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (ID), KDBUS_MATCH_ID_ANY, REMOVE, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:248:17: note: in expansion of macro 'CHECK' [ 227s] 248 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:245:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 245 | ASSERT_ZERO(kdbus_test_match_name_remove_(env, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:248:17: note: in expansion of macro 'CHECK' [ 227s] 248 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:246:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 246 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:248:17: note: in expansion of macro 'CHECK' [ 227s] 248 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:244:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 244 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (ID), KDBUS_MATCH_ID_ANY, REMOVE, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:249:17: note: in expansion of macro 'CHECK' [ 227s] 249 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:245:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 245 | ASSERT_ZERO(kdbus_test_match_name_remove_(env, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:249:17: note: in expansion of macro 'CHECK' [ 227s] 249 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:246:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 246 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:249:17: note: in expansion of macro 'CHECK' [ 227s] 249 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:244:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 244 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (ID), KDBUS_MATCH_ID_ANY, REMOVE, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:250:17: note: in expansion of macro 'CHECK' [ 227s] 250 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:245:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 245 | ASSERT_ZERO(kdbus_test_match_name_remove_(env, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:250:17: note: in expansion of macro 'CHECK' [ 227s] 250 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:246:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 246 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:250:17: note: in expansion of macro 'CHECK' [ 227s] 250 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:244:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 244 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (ID), KDBUS_MATCH_ID_ANY, REMOVE, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:251:17: note: in expansion of macro 'CHECK' [ 227s] 251 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:245:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 245 | ASSERT_ZERO(kdbus_test_match_name_remove_(env, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:251:17: note: in expansion of macro 'CHECK' [ 227s] 251 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:246:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 246 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:251:17: note: in expansion of macro 'CHECK' [ 227s] 251 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 227s] | ^~~~~ [ 227s] test-match.c: In function 'kdbus_test_match_name_remove_': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:214:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 214 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:217:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 217 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:220:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 227s] 220 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), env->conn->id, 0, REMOVE, name) [ 227s] | ^~~~~~~~~~~~~~~~~~~ [ 227s] test-match.c:221:17: note: in expansion of macro 'CHECK' [ 227s] 221 | CHECK(env->conn); [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:220:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 227s] 220 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), env->conn->id, 0, REMOVE, name) [ 227s] | ^~~~~~~~~~~~~~~~~~~ [ 227s] test-match.c:223:25: note: in expansion of macro 'CHECK' [ 227s] 223 | CHECK(listener); [ 227s] | ^~~~~ [ 227s] test-match.c: In function 'kdbus_test_match_name_change': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:292:9: note: in expansion of macro 'ASSERT_NONZERO' [ 227s] 292 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 227s] | ^~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:294:9: note: in expansion of macro 'ASSERT_NONZERO' [ 227s] 294 | ASSERT_NONZERO(listener = kdbus_hello(env->buspath, 0, NULL, 0)); [ 227s] | ^~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:296:9: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 296 | ADD_NAME_MATCH(env->conn, 0, KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, CHANGE, name); [ 227s] | ^~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:299:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 299 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:300:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 300 | ASSERT_NO_PENDING(listener); [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:307:17: note: in expansion of macro 'CHECK' [ 227s] 307 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:307:17: note: in expansion of macro 'CHECK' [ 227s] 307 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 305 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:307:17: note: in expansion of macro 'CHECK' [ 227s] 307 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:308:17: note: in expansion of macro 'CHECK' [ 227s] 308 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:308:17: note: in expansion of macro 'CHECK' [ 227s] 308 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 305 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:308:17: note: in expansion of macro 'CHECK' [ 227s] 308 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:310:17: note: in expansion of macro 'CHECK' [ 227s] 310 | CHECK(env->conn->id, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name + good id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:310:17: note: in expansion of macro 'CHECK' [ 227s] 310 | CHECK(env->conn->id, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name + good id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 305 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:310:17: note: in expansion of macro 'CHECK' [ 227s] 310 | CHECK(env->conn->id, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name + good id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:311:17: note: in expansion of macro 'CHECK' [ 227s] 311 | CHECK(env->conn->id + 1, KDBUS_MATCH_ID_ANY, NULL, NULL); /* wildcard name + bad id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:311:17: note: in expansion of macro 'CHECK' [ 227s] 311 | CHECK(env->conn->id + 1, KDBUS_MATCH_ID_ANY, NULL, NULL); /* wildcard name + bad id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 305 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:311:17: note: in expansion of macro 'CHECK' [ 227s] 311 | CHECK(env->conn->id + 1, KDBUS_MATCH_ID_ANY, NULL, NULL); /* wildcard name + bad id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:313:17: note: in expansion of macro 'CHECK' [ 227s] 313 | CHECK(KDBUS_MATCH_ID_ANY, conn->id, NULL, listener); /* good id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:313:17: note: in expansion of macro 'CHECK' [ 227s] 313 | CHECK(KDBUS_MATCH_ID_ANY, conn->id, NULL, listener); /* good id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 305 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:313:17: note: in expansion of macro 'CHECK' [ 227s] 313 | CHECK(KDBUS_MATCH_ID_ANY, conn->id, NULL, listener); /* good id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:314:17: note: in expansion of macro 'CHECK' [ 227s] 314 | CHECK(KDBUS_MATCH_ID_ANY, conn->id + 1, NULL, NULL); /* bad id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:314:17: note: in expansion of macro 'CHECK' [ 227s] 314 | CHECK(KDBUS_MATCH_ID_ANY, conn->id + 1, NULL, NULL); /* bad id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 305 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:314:17: note: in expansion of macro 'CHECK' [ 227s] 314 | CHECK(KDBUS_MATCH_ID_ANY, conn->id + 1, NULL, NULL); /* bad id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:316:17: note: in expansion of macro 'CHECK' [ 227s] 316 | CHECK(env->conn->id, conn->id, NULL, listener); /* wildcard name + good id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:316:17: note: in expansion of macro 'CHECK' [ 227s] 316 | CHECK(env->conn->id, conn->id, NULL, listener); /* wildcard name + good id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 305 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:316:17: note: in expansion of macro 'CHECK' [ 227s] 316 | CHECK(env->conn->id, conn->id, NULL, listener); /* wildcard name + good id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:318:17: note: in expansion of macro 'CHECK' [ 227s] 318 | CHECK(env->conn->id + 1, conn->id, NULL, NULL); /* wildcard name + bad id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:318:17: note: in expansion of macro 'CHECK' [ 227s] 318 | CHECK(env->conn->id + 1, conn->id, NULL, NULL); /* wildcard name + bad id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 305 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:318:17: note: in expansion of macro 'CHECK' [ 227s] 318 | CHECK(env->conn->id + 1, conn->id, NULL, NULL); /* wildcard name + bad id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 227s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 227s] | ^~~~~~~~~~~~~~ [ 227s] test-match.c:319:17: note: in expansion of macro 'CHECK' [ 227s] 319 | CHECK(env->conn->id, conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:319:17: note: in expansion of macro 'CHECK' [ 227s] 319 | CHECK(env->conn->id, conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 305 | ASSERT_NO_PENDING(listener);\ [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c:319:17: note: in expansion of macro 'CHECK' [ 227s] 319 | CHECK(env->conn->id, conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:322:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 322 | ASSERT_NO_PENDING(conn); [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c: In function 'kdbus_test_match_name_change_': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:263:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 263 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:268:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 268 | ASSERT_ZERO(kdbus_name_acquire(conn, name, &flags)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:269:9: note: in expansion of macro 'ASSERT_NONZERO' [ 227s] 269 | ASSERT_NONZERO(flags & KDBUS_NAME_IN_QUEUE); [ 227s] | ^~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:272:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 272 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:275:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 227s] 275 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), env->conn->id, conn->id, CHANGE, name) [ 227s] | ^~~~~~~~~~~~~~~~~~~ [ 227s] test-match.c:276:17: note: in expansion of macro 'CHECK' [ 227s] 276 | CHECK(env->conn); [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c:275:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 227s] 275 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), env->conn->id, conn->id, CHANGE, name) [ 227s] | ^~~~~~~~~~~~~~~~~~~ [ 227s] test-match.c:278:25: note: in expansion of macro 'CHECK' [ 227s] 278 | CHECK(listener); [ 227s] | ^~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:281:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 281 | ASSERT_ZERO(kdbus_name_release(conn, name)); [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c: In function 'kdbus_test_match_bloom': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:401:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 401 | ASSERT_ZERO(kdbus_cmd_match_add(env->conn->fd, &buf.cmd)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:404:9: note: in expansion of macro 'ASSERT_NONZERO' [ 227s] 404 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 227s] | ^~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:408:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 408 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 0)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:410:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 410 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(env->conn, &msg, NULL)); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:415:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 415 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 0)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:417:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 417 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:418:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 418 | ASSERT_RETURN(msg->cookie,==,cookie); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:418:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 418 | ASSERT_RETURN(msg->cookie,==,cookie); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:424:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 424 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 0)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:426:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 426 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:427:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 427 | ASSERT_RETURN(msg->cookie,==,cookie); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:427:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 427 | ASSERT_RETURN(msg->cookie,==,cookie); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:430:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 430 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 1)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:432:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 432 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(env->conn, &msg, NULL)); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:437:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 437 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 1)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:439:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 439 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:440:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 440 | ASSERT_RETURN(msg->cookie,==,cookie); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:440:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 440 | ASSERT_RETURN(msg->cookie,==,cookie); [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c: In function 'kdbus_test_big_metadata': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:492:9: note: in expansion of macro 'ASSERT_NONZERO' [ 227s] 492 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 227s] | ^~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:496:17: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 496 | ASSERT_ZERO(kdbus_name_acquire(conn, buf, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:501:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 501 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, 1, 0, 0, 0, env->conn->id)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:505:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 505 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:508:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 508 | ASSERT_ZERO(has_all_names(msg->items, msg->size - offsetof(typeof(*msg), items))); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:512:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 512 | ASSERT_ZERO(kdbus_conn_info(env->conn, conn->id, NULL, _KDBUS_ATTACH_ALL, &offset)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:514:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 514 | ASSERT_RETURN(info->id,==,conn->id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:514:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 514 | ASSERT_RETURN(info->id,==,conn->id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:515:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 515 | ASSERT_ZERO(has_all_names(info->items, info->size - offsetof(typeof(*info), items))); [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c: In function 'has_all_names': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:459:25: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 459 | ASSERT_RETURN(255u,==,strlen(item->name.name)); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:460:25: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 460 | ASSERT_RETURN(0,==,memcmp(item->name.name, "big.n", 5)); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:462:33: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 462 | ASSERT_RETURN('0',==,(int)item->name.name[i]); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:463:25: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 463 | ASSERT_RETURN('0',<=,(int)item->name.name[252]); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:464:25: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 464 | ASSERT_RETURN((int)item->name.name[252],<=,'9'); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:465:25: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 465 | ASSERT_RETURN('0',<=,(int)item->name.name[253]); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:466:25: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 466 | ASSERT_RETURN((int)item->name.name[253],<=,'9'); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:467:25: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 467 | ASSERT_RETURN('0',<=,(int)item->name.name[254]); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:468:25: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 468 | ASSERT_RETURN((int)item->name.name[254],<=,'9'); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:470:25: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 470 | ASSERT_RETURN(0,<=,i); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:471:25: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 471 | ASSERT_RETURN(i,<,256); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:472:25: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 472 | ASSERT_ZERO((int)seen[i]); [ 227s] | ^~~~~~~~~~~ [ 227s] test-match.c: In function 'kdbus_test_match_itemless': [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:536:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 536 | ASSERT_ZERO(kdbus_cmd_match_add(env->conn->fd, &cmd)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:539:9: note: in expansion of macro 'ASSERT_NONZERO' [ 227s] 539 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 227s] | ^~~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:542:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 542 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:543:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 543 | ASSERT_NO_PENDING(env->conn); [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:544:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 544 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:544:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 544 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:544:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 544 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:545:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 545 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:545:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 545 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:549:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 549 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 0)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:551:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 551 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:552:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 552 | ASSERT_NO_PENDING(env->conn); [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:553:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 553 | ASSERT_RETURN(msg->cookie,==,cookie); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:553:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 553 | ASSERT_RETURN(msg->cookie,==,cookie); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:555:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 555 | ASSERT_ZERO(kdbus_name_acquire(conn, "mein.volk", NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:557:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 557 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:558:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 558 | ASSERT_NO_PENDING(env->conn); [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:559:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 559 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:559:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 559 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:559:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 559 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:560:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 560 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,conn->id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:560:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 560 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,conn->id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:562:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 562 | ASSERT_ZERO(kdbus_name_release(conn, "mein.volk")); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:564:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 564 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:565:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 565 | ASSERT_NO_PENDING(env->conn); [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:566:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 566 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_REMOVE); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:566:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 566 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_REMOVE); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:566:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 566 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_REMOVE); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:567:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 567 | ASSERT_RETURN(msg->items[0].name_change.old_id.id,==,conn->id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:567:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 567 | ASSERT_RETURN(msg->items[0].name_change.old_id.id,==,conn->id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:572:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 572 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 227s] | ^~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:573:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 573 | ASSERT_NO_PENDING(env->conn); [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:574:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 574 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:574:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 574 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:574:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 574 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 227s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:575:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 575 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:575:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 575 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 227s] | ^~~~~~~~~~~~~ [ 227s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 227s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 227s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 227s] | ^~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 227s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 227s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 227s] | ^~~~~~~~~~~~~ [ 227s] test-match.c:577:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 227s] 577 | ASSERT_NO_PENDING(env->conn); [ 227s] | ^~~~~~~~~~~~~~~~~ [ 227s] test-match.c: In function 'assert_single_match_': [ 227s] test-match.c:158:21: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [-Wstringop-overread] [ 227s] 158 | ASSERT_ZERO(strcmp(msg->items[0].name_change.name, name)); [ 227s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 227s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 227s] | ^~~~ [ 227s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 227s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 227s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 227s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 227s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 227s] | ^~~~~~~~~~~~ [ 227s] test-match.c:158:9: note: in expansion of macro 'ASSERT_ZERO' [ 227s] 158 | ASSERT_ZERO(strcmp(msg->items[0].name_change.name, name)); [ 227s] | ^~~~~~~~~~~ [ 227s] In file included from kdbus-util.h:17, [ 227s] from kdbus-api.h:5, [ 227s] from test-match.c:12: [ 227s] ../../include/uapi/linux/kdbus.h:57:14: note: source object 'name' of size 0 [ 227s] 57 | char name[0]; [ 227s] | ^~~~ [ 229s] cc -c test-message.c -o test-message.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 229s] In file included from test-message.c:19: [ 229s] test-message.c: In function 'kdbus_test_message_basic': [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:38:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 38 | ASSERT_NONZERO(sender = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:41:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 41 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:43:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 43 | ASSERT_ZERO(kdbus_add_match_empty(conn)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:45:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 45 | ASSERT_ZERO(kdbus_add_match_empty(sender)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:48:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 48 | ASSERT_ZERO(kdbus_msg_send(sender, NULL, cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:51:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 51 | ASSERT_ZERO(kdbus_msg_recv(sender, &msg, &offset)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:52:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 52 | ASSERT_RETURN(msg->cookie,==,cookie); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:52:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 52 | ASSERT_RETURN(msg->cookie,==,cookie); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:56:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 56 | ASSERT_ZERO(kdbus_msg_recv_poll(conn, 100, &msg, &offset)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:57:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 57 | ASSERT_RETURN(msg->cookie,==,cookie); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:57:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 57 | ASSERT_RETURN(msg->cookie,==,cookie); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:62:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 62 | ASSERT_RETURN(-EINVAL,==,kdbus_msg_send(sender, NULL, 0, KDBUS_MSG_EXPECT_REPLY, 1000000000, 0, conn->id)); /* no cookie */ [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:63:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 63 | ASSERT_RETURN(-EINVAL,==,kdbus_msg_send(sender, NULL, 1, KDBUS_MSG_EXPECT_REPLY, 0, 0, conn->id)); /* no timeout */ [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:64:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 64 | ASSERT_RETURN(-EINVAL,==,kdbus_msg_send(sender, NULL, 0, KDBUS_MSG_EXPECT_REPLY, 0, 0, conn->id)); /* neither cookie nor timeout */ [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:67:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 67 | ASSERT_RETURN(ONTIZEN(0,-EBADSLT),==,kdbus_msg_send_reply(conn, time(NULL) ^ cookie, sender->id)); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:69:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 69 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 229s] | ^~~~~~~~~~~ [ 229s] test-message.c: In function 'kdbus_test_message_prio': [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:120:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 120 | ASSERT_NONZERO(a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:121:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 121 | ASSERT_NONZERO(b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:123:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 123 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, 25, a->id)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:124:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 124 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -600, a->id)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:125:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 125 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, 10, a->id)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:126:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 126 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -35, a->id)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:127:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 127 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -100, a->id)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:128:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 128 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, 20, a->id)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:129:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 129 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -15, a->id)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:130:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 130 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -800, a->id)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:131:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 131 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -150, a->id)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:132:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 132 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, 10, a->id)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:133:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 133 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -800, a->id)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:134:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 134 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -10, a->id)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:136:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 136 | ASSERT_ZERO(msg_recv_prio(a, -200, -800)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:137:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 137 | ASSERT_ZERO(msg_recv_prio(a, -100, -800)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:138:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 138 | ASSERT_ZERO(msg_recv_prio(a, -400, -600)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:139:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 139 | ASSERT_RETURN(msg_recv_prio(a, -400, -600),==,-EAGAIN); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:140:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 140 | ASSERT_ZERO(msg_recv_prio(a, 10, -150)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:141:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 141 | ASSERT_ZERO(msg_recv_prio(a, 10, -100)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:144:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 144 | ASSERT_ZERO(kdbus_msg_recv(a, NULL, NULL)); [ 229s] | ^~~~~~~~~~~ [ 229s] test-message.c: In function 'kdbus_test_activator_quota': [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:275:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 275 | ASSERT_NONZERO(activator = kdbus_hello_activator(env->buspath, "foo.test.activator", &access, 1)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:277:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 277 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:278:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 278 | ASSERT_NONZERO(sender = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:280:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 280 | ASSERT_ZERO(kdbus_list(sender, KDBUS_LIST_NAMES | KDBUS_LIST_UNIQUE | KDBUS_LIST_ACTIVATORS | KDBUS_LIST_QUEUED)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:285:17: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 285 | ASSERT_RETURN(i,<=,KDBUS_CONN_MAX_MSGS);\ [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c:293:9: note: in expansion of macro 'EXHAUST' [ 229s] 293 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, "foo.test.activator", ++cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 229s] | ^~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:287:25: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 287 | ASSERT_RETURN((EXPECTERR),==,ret);\ [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c:293:9: note: in expansion of macro 'EXHAUST' [ 229s] 293 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, "foo.test.activator", ++cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 229s] | ^~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:288:25: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 288 | ASSERT_RETURN(i,<,KDBUS_CONN_MAX_MSGS);\ [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c:293:9: note: in expansion of macro 'EXHAUST' [ 229s] 293 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, "foo.test.activator", ++cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 229s] | ^~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 229s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:297:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 229s] 297 | ASSERT_RETURN_VAL(i,>,0U, -errno); [ 229s] | ^~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:302:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 302 | ASSERT_RETURN(-ENXIO,==,kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, activator->id)); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:305:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 305 | ASSERT_RETURN(-ENOBUFS,==,kdbus_msg_send(conn, "foo.test.activator", ++cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:308:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 308 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:311:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 311 | ASSERT_ZERO(kdbus_cmd_recv(activator->fd, &recv)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:312:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 312 | ASSERT_ZERO(recv.dropped_msgs); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:312:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 312 | ASSERT_ZERO(recv.dropped_msgs); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:312:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 312 | ASSERT_ZERO(recv.dropped_msgs); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:315:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 315 | ASSERT_RETURN(msg->src_id,==,sender->id); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:315:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 315 | ASSERT_RETURN(msg->src_id,==,sender->id); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:316:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 316 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:316:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 316 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:316:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 316 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:285:17: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 285 | ASSERT_RETURN(i,<=,KDBUS_CONN_MAX_MSGS);\ [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c:324:9: note: in expansion of macro 'EXHAUST' [ 229s] 324 | EXHAUST(-ENOBUFS,kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, conn->id)); [ 229s] | ^~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:287:25: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 287 | ASSERT_RETURN((EXPECTERR),==,ret);\ [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c:324:9: note: in expansion of macro 'EXHAUST' [ 229s] 324 | EXHAUST(-ENOBUFS,kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, conn->id)); [ 229s] | ^~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:288:25: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 288 | ASSERT_RETURN(i,<,KDBUS_CONN_MAX_MSGS);\ [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c:324:9: note: in expansion of macro 'EXHAUST' [ 229s] 324 | EXHAUST(-ENOBUFS,kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, conn->id)); [ 229s] | ^~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:329:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 329 | ASSERT_ZERO(kdbus_cmd_recv(conn->fd, &recv)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:330:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 330 | ASSERT_ZERO(recv.dropped_msgs); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:330:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 330 | ASSERT_ZERO(recv.dropped_msgs); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:330:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 330 | ASSERT_ZERO(recv.dropped_msgs); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:335:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 335 | ASSERT_ZERO(kdbus_name_acquire(conn, "foo.test.activator", &flags)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:340:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 340 | ASSERT_ZERO(kdbus_cmd_recv(conn->fd, &recv)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:341:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 341 | ASSERT_NONZERO(recv.dropped_msgs); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:341:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 341 | ASSERT_NONZERO(recv.dropped_msgs); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:341:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 341 | ASSERT_NONZERO(recv.dropped_msgs); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:344:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 344 | ASSERT_RETURN(recv.dropped_msgs,<,activator_msgs_count); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:344:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 344 | ASSERT_RETURN(recv.dropped_msgs,<,activator_msgs_count); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:356:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 356 | ASSERT_ZERO(kdbus_name_release(conn, "foo.test.activator")); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:359:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 359 | ASSERT_ZERO(kdbus_msg_recv(activator, &msg, NULL)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:360:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 360 | ASSERT_RETURN(msg->src_id,==,sender->id); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:360:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 360 | ASSERT_RETURN(msg->src_id,==,sender->id); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:361:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 361 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:361:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 361 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:361:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 361 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:285:17: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 285 | ASSERT_RETURN(i,<=,KDBUS_CONN_MAX_MSGS);\ [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c:369:9: note: in expansion of macro 'EXHAUST' [ 229s] 369 | EXHAUST(-EAGAIN,kdbus_msg_recv(conn, NULL, NULL)); [ 229s] | ^~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:287:25: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 287 | ASSERT_RETURN((EXPECTERR),==,ret);\ [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c:369:9: note: in expansion of macro 'EXHAUST' [ 229s] 369 | EXHAUST(-EAGAIN,kdbus_msg_recv(conn, NULL, NULL)); [ 229s] | ^~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:288:25: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 288 | ASSERT_RETURN(i,<,KDBUS_CONN_MAX_MSGS);\ [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c:369:9: note: in expansion of macro 'EXHAUST' [ 229s] 369 | EXHAUST(-EAGAIN,kdbus_msg_recv(conn, NULL, NULL)); [ 229s] | ^~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:285:17: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 285 | ASSERT_RETURN(i,<=,KDBUS_CONN_MAX_MSGS);\ [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c:370:9: note: in expansion of macro 'EXHAUST' [ 229s] 370 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, NULL, ++cookie, 0, 0, 0, conn->id)); [ 229s] | ^~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:287:25: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 287 | ASSERT_RETURN((EXPECTERR),==,ret);\ [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c:370:9: note: in expansion of macro 'EXHAUST' [ 229s] 370 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, NULL, ++cookie, 0, 0, 0, conn->id)); [ 229s] | ^~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:288:25: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 288 | ASSERT_RETURN(i,<,KDBUS_CONN_MAX_MSGS);\ [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c:370:9: note: in expansion of macro 'EXHAUST' [ 229s] 370 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, NULL, ++cookie, 0, 0, 0, conn->id)); [ 229s] | ^~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:374:17: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 374 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(activator, NULL, NULL)); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:378:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 378 | ASSERT_ZERO(kdbus_name_acquire(conn, "foo.test.activator", &flags)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:388:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 388 | ASSERT_ZERO(kdbus_cmd_recv(conn->fd, &recv)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:389:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 389 | ASSERT_RETURN(recv.dropped_msgs,==,activator_msgs_count); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:389:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 389 | ASSERT_RETURN(recv.dropped_msgs,==,activator_msgs_count); [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c: In function 'kdbus_test_pool_quota': [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 229s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:524:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 229s] 524 | ASSERT_RETURN_VAL(payload,!=,NULL, -ENOMEM); [ 229s] | ^~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:526:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 526 | ASSERT_NONZERO(a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:527:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 527 | ASSERT_NONZERO(b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:528:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 528 | ASSERT_NONZERO(c = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 229s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:534:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 229s] 534 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 229s] | ^~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 229s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:562:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 229s] 562 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 229s] | ^~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:567:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 567 | ASSERT_RETURN(-ENOBUFS,==,kdbus_cmd_send(a->fd, &cmd)); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:570:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 570 | ASSERT_ZERO(kdbus_msg_send(b, NULL, cookie++, 0, 0, 0, c->id)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:573:17: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 573 | ASSERT_ZERO(kdbus_msg_recv(c, &recv_msg, NULL)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:574:17: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 574 | ASSERT_RETURN(recv_msg->src_id,==,a->id); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:574:17: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 574 | ASSERT_RETURN(recv_msg->src_id,==,a->id); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:579:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 579 | ASSERT_ZERO(kdbus_msg_recv(c, &recv_msg, NULL)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:580:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 580 | ASSERT_RETURN(recv_msg->src_id,==,b->id); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:580:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 580 | ASSERT_RETURN(recv_msg->src_id,==,b->id); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:584:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 584 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(c, NULL, NULL)); [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c: In function 'kdbus_test_message_quota': [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:602:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 602 | ASSERT_ZERO(kdbus_test_notify_kernel_quota(env)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:604:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 604 | ASSERT_ZERO(kdbus_test_pool_quota(env)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:606:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 606 | ASSERT_ZERO(kdbus_test_expected_reply_timeouts_or_quota(env)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:608:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 608 | ASSERT_ZERO(kdbus_test_expected_reply_quota(env)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:613:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 613 | ASSERT_RETURN((typeof(kdbus_fill_conn_queue(b, a->id, KDBUS_CONN_MAX_MSGS)))KDBUS_CONN_MAX_MSGS,==,kdbus_fill_conn_queue(b, a->id, KDBUS_CONN_MAX_MSGS)); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:615:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 615 | ASSERT_RETURN(-ENOBUFS,==,kdbus_msg_send(b, NULL, ++cookie, 0, 0, 0, a->id)); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:618:17: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 618 | ASSERT_ZERO(kdbus_msg_recv(a, NULL, NULL)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:620:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 620 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(a, NULL, NULL)); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:622:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 622 | ASSERT_RETURN((typeof(kdbus_fill_conn_queue(b, a->id, KDBUS_CONN_MAX_MSGS + 1)))KDBUS_CONN_MAX_MSGS,==,kdbus_fill_conn_queue(b, a->id, KDBUS_CONN_MAX_MSGS + 1)); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:624:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 624 | ASSERT_RETURN(-ENOBUFS,==,kdbus_msg_send(b, NULL, ++cookie, 0, 0, 0, a->id)); [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c: In function 'kdbus_test_notify_kernel_quota': [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:160:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 160 | ASSERT_NONZERO(reader = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:161:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 161 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 164 | ASSERT_ZERO(kdbus_add_match_id(reader, 0x1, KDBUS_ITEM_ID_ADD, KDBUS_MATCH_ID_ANY)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:166:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 166 | ASSERT_ZERO(kdbus_add_match_id(reader, 0x2, KDBUS_ITEM_ID_REMOVE, KDBUS_MATCH_ID_ANY)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:171:17: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 171 | ASSERT_NONZERO(notifier = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:179:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 179 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, 0xdeadbeef, 0, 0, 0, reader->id)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:184:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 184 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:192:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 192 | ASSERT_ZERO(kdbus_cmd_recv(reader->fd, &recv)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:193:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 193 | ASSERT_NONZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:193:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 193 | ASSERT_NONZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:193:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 193 | ASSERT_NONZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 194 | ASSERT_RETURN(recv.dropped_msgs,==,3U); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 194 | ASSERT_RETURN(recv.dropped_msgs,==,3U); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:204:17: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 204 | ASSERT_ZERO(kdbus_cmd_recv(reader->fd, &recv)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:205:17: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 205 | ASSERT_ZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:205:17: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 205 | ASSERT_ZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 229s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:205:17: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 205 | ASSERT_ZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:211:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 211 | ASSERT_ZERO(kdbus_msg_recv(reader, NULL, NULL)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:213:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 213 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(reader, NULL, NULL)); [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c: In function 'kdbus_test_expected_reply_timeouts_or_quota': [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:435:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 435 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:438:17: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 438 | ASSERT_NONZERO(connections[i] = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:445:25: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 445 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, first_cookie + i + n*TIMEOUT_CONNECTION_COUNT, [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:450:25: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 450 | ASSERT_ZERO(kdbus_msg_recv(connections[i], NULL, NULL)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:455:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 455 | ASSERT_ZERO(kdbus_test_expected_reply_validate_timeouts(conn, first_cookie, KDBUS_ITEM_REPLY_TIMEOUT)); [ 229s] | ^~~~~~~~~~~ [ 229s] test-message.c: In function 'kdbus_test_expected_reply_validate_timeouts': [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:411:17: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 411 | ASSERT_ZERO(timeout_msg_recv(conn, type, &cookie_reply, &seqnum, &monotonic_ns, &realtime_ns)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:412:37: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 412 | #define A(W,R) do { ASSERT_RETURN(prev_##W,R,W); prev_##W = W; } while (0); [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c:413:25: note: in expansion of macro 'A' [ 229s] 413 | A(seqnum,<) [ 229s] | ^ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:412:37: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 412 | #define A(W,R) do { ASSERT_RETURN(prev_##W,R,W); prev_##W = W; } while (0); [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c:414:25: note: in expansion of macro 'A' [ 229s] 414 | A(monotonic_ns,<=) [ 229s] | ^ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:412:37: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 412 | #define A(W,R) do { ASSERT_RETURN(prev_##W,R,W); prev_##W = W; } while (0); [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c:415:25: note: in expansion of macro 'A' [ 229s] 415 | A(realtime_ns,<=) [ 229s] | ^ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:417:17: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 417 | ASSERT_RETURN(first_cookie,<=,cookie_reply); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:421:17: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 421 | ASSERT_RETURN(r,==,next_cookie[n]); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 229s] | ^~~~~~~~~~~~~ [ 229s] test-message.c:424:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 229s] 424 | ASSERT_NO_PENDING(conn); [ 229s] | ^~~~~~~~~~~~~~~~~ [ 229s] test-message.c: In function 'kdbus_test_expected_reply_quota': [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:472:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 472 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:475:17: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 475 | ASSERT_NONZERO(connections[i] = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:480:25: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 480 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, first_cookie + i + n*TIMEOUT_CONNECTION_COUNT, [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:485:25: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 485 | ASSERT_ZERO(kdbus_msg_recv(connections[i], NULL, NULL)); [ 229s] | ^~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:493:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 493 | ASSERT_RETURN(-EMLINK,==,kdbus_msg_send(conn, NULL, first_cookie + TIMEOUT_CONNECTION_COUNT*TIMEOUTS_PER_CONNECTION, KDBUS_MSG_EXPECT_REPLY, 1000000000ULL, 0, connections[TIMEOUT_CONNECTION_COUNT]->id)); [ 229s] | ^~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:498:9: note: in expansion of macro 'ASSERT_ZERO' [ 229s] 498 | ASSERT_ZERO(kdbus_test_expected_reply_validate_timeouts(conn, first_cookie, KDBUS_ITEM_REPLY_DEAD)); [ 229s] | ^~~~~~~~~~~ [ 229s] test-message.c: In function 'kdbus_fill_conn_queue': [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 229s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:234:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 229s] 234 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 229s] | ^~~~~~~~~~~~~~~~~ [ 229s] test-message.c: In function 'kdbus_test_memory_access': [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:673:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 673 | ASSERT_NONZERO(a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 229s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:674:9: note: in expansion of macro 'ASSERT_NONZERO' [ 229s] 674 | ASSERT_NONZERO(b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 229s] | ^~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 229s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:680:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 229s] 680 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 229s] | ^~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 229s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 229s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 229s] | ^~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 229s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 229s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 229s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 229s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 229s] | ^~~~~~~~~~~~ [ 229s] test-message.c:698:9: note: in expansion of macro 'ASSERT_RETURN' [ 229s] 698 | ASSERT_RETURN(-EFAULT,==,kdbus_cmd_send(a->fd, &cmd)); [ 229s] | ^~~~~~~~~~~~~ [ 230s] test-message.c: In function 'kdbus_test_pool_quota': [ 230s] test-message.c:543:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 230s] 543 | item->type = KDBUS_ITEM_PAYLOAD_VEC; [ 230s] | ^~ [ 230s] test-message.c:533:15: note: at offset 64 into object of size 96 allocated by 'malloc' [ 230s] 533 | msg = malloc(size); [ 230s] | ^~~~~~~~~~~~ [ 230s] test-message.c:544:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 230s] 544 | item->size = KDBUS_ITEM_HEADER_SIZE + sizeof(struct kdbus_vec); [ 230s] | ^~ [ 230s] test-message.c:533:15: note: at offset 64 into object of size 96 allocated by 'malloc' [ 230s] 533 | msg = malloc(size); [ 230s] | ^~~~~~~~~~~~ [ 230s] test-message.c:545:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 230s] 545 | item->vec.address = (uintptr_t)payload; [ 230s] | ^~ [ 230s] test-message.c:533:15: note: at offset 64 into object of size 96 allocated by 'malloc' [ 230s] 533 | msg = malloc(size); [ 230s] | ^~~~~~~~~~~~ [ 230s] test-message.c:546:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 230s] 546 | item->vec.size = KDBUS_MSG_MAX_PAYLOAD_VEC_SIZE; [ 230s] | ^~ [ 230s] test-message.c:533:15: note: at offset 64 into object of size 96 allocated by 'malloc' [ 230s] 533 | msg = malloc(size); [ 230s] | ^~~~~~~~~~~~ [ 231s] test-message.c: In function 'kdbus_test_memory_access': [ 231s] test-message.c:689:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 231s] 689 | item->type = KDBUS_ITEM_PAYLOAD_VEC; [ 231s] | ^~ [ 231s] In file included from /usr/include/stdlib.h:706, [ 231s] from test-message.c:4: [ 231s] test-message.c:679:15: note: at offset 64 into object of size 96 allocated by '__builtin_alloca' [ 231s] 679 | msg = alloca(size); [ 231s] | ^~~~~~ [ 231s] test-message.c:690:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 231s] 690 | item->size = KDBUS_ITEM_HEADER_SIZE + sizeof(struct kdbus_vec); [ 231s] | ^~ [ 231s] test-message.c:679:15: note: at offset 64 into object of size 96 allocated by '__builtin_alloca' [ 231s] 679 | msg = alloca(size); [ 231s] | ^~~~~~ [ 231s] test-message.c:691:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 231s] 691 | item->vec.address = test_addr; [ 231s] | ^~ [ 231s] test-message.c:679:15: note: at offset 64 into object of size 96 allocated by '__builtin_alloca' [ 231s] 679 | msg = alloca(size); [ 231s] | ^~~~~~ [ 231s] test-message.c:692:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 231s] 692 | item->vec.size = sizeof(void*); [ 231s] | ^~ [ 231s] test-message.c:679:15: note: at offset 64 into object of size 96 allocated by '__builtin_alloca' [ 231s] 679 | msg = alloca(size); [ 231s] | ^~~~~~ [ 231s] cc -c test-metadata-ns.c -o test-metadata-ns.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 231s] In file included from test-metadata-ns.c:26: [ 231s] test-metadata-ns.c: In function 'kdbus_test_metadata_ns': [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:420:9: note: in expansion of macro 'ASSERT_RETURN' [ 231s] 420 | ASSERT_RETURN(ret,>=,0); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:426:9: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 426 | ASSERT_NONZERO(holder = kdbus_hello_registrar(env->buspath, "com.example.metadata", &policy_access, 1, KDBUS_HELLO_POLICY_HOLDER)); [ 231s] | ^~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:428:9: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 428 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 231s] | ^~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:430:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 430 | ASSERT_ZERO(kdbus_add_match_empty(conn)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:432:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 432 | ASSERT_ZERO(kdbus_name_acquire(conn, "com.example.metadata", NULL)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:434:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 434 | ASSERT_ZERO(kdbus_clone_userns_test(env->buspath, conn)); [ 231s] | ^~~~~~~~~~~ [ 231s] test-metadata-ns.c: In function 'kdbus_clone_userns_test': [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:256:9: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 231s] 256 | ASSERT_EXIT_NONZERO(monitor = kdbus_hello(bus, KDBUS_HELLO_MONITOR, NULL, 0)); [ 231s] | ^~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 231s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:263:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 231s] 263 | ASSERT_RETURN_VAL(efd,>=,0, efd); [ 231s] | ^~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 231s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:268:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 231s] 268 | ASSERT_RETURN_VAL(pid,>=,0, -errno); [ 231s] | ^~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 231s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:272:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 231s] 272 | ASSERT_EXIT_VAL(ret,==,0, -errno); [ 231s] | ^~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:285:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 285 | ASSERT_ZERO(kdbus_msg_recv_poll(conn, 300, &msg, NULL)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:290:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 290 | ASSERT_ZERO(kdbus_match_kdbus_creds(msg, &unmapped_creds)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:298:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 298 | ASSERT_ZERO(kdbus_match_kdbus_pids(msg, &expected_pids)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:315:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 315 | ASSERT_ZERO(ret); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:319:9: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 319 | ASSERT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_CAPS)); [ 231s] | ^~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:325:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 325 | ASSERT_ZERO(kdbus_match_kdbus_creds(msg, &unmapped_creds)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:331:9: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 331 | ASSERT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_PIDS)); [ 231s] | ^~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:333:9: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 333 | ASSERT_NONZERO(memcmp(&item->pids, &unmapped_pids, sizeof(struct kdbus_pids))); [ 231s] | ^~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:339:9: note: in expansion of macro 'ASSERT_RETURN' [ 231s] 339 | ASSERT_RETURN((uint64_t)pid,==,item->pids.ppid); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 231s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:339:9: note: in expansion of macro 'ASSERT_RETURN' [ 231s] 339 | ASSERT_RETURN((uint64_t)pid,==,item->pids.ppid); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:349:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 349 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, 0xdeadbeef, 0, 0, 0, unpriv_conn_id)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:352:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 352 | ASSERT_ZERO(eventfd_write(efd, 1)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:358:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 358 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, 0xdeadbeef, 0, 0, 0, userns_conn_id)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:363:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 363 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, 0xdeadbeef, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:368:9: note: in expansion of macro 'ASSERT_RETURN' [ 231s] 368 | ASSERT_RETURN(ret,>=,0); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:370:9: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 370 | ASSERT_NONZERO(WIFEXITED(status)); [ 231s] | ^~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:371:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 371 | ASSERT_ZERO(WEXITSTATUS(status)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:385:25: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 385 | ASSERT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_PIDS)); [ 231s] | ^~~~~~~~~~~~~~ [ 231s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 231s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:386:25: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 386 | ASSERT_NONZERO(item->pids.pid); [ 231s] | ^~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:386:25: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 386 | ASSERT_NONZERO(item->pids.pid); [ 231s] | ^~~~~~~~~~~~~~ [ 231s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 231s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:386:25: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 386 | ASSERT_NONZERO(item->pids.pid); [ 231s] | ^~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:387:25: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 387 | ASSERT_NONZERO(item->pids.tid != 0); [ 231s] | ^~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:388:25: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 388 | ASSERT_NONZERO(item->pids.ppid != 0); [ 231s] | ^~~~~~~~~~~~~~ [ 231s] test-metadata-ns.c: In function '__kdbus_clone_userns_test': [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:93:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 93 | ASSERT_EXIT_ZERO(drop_privileges(UNPRIV_UID, UNPRIV_GID)); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:95:9: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 231s] 95 | ASSERT_EXIT_NONZERO(unpriv_conn = kdbus_hello(bus, 0, NULL, 0)); [ 231s] | ^~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:97:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 97 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(unpriv_conn)); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:104:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 104 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv_conn, NULL, cookie, 0, 0, 0, conn->id)); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:118:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 118 | ASSERT_EXIT_ZERO(prctl(PR_SET_DUMPABLE, SUID_DUMP_USER)); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-util.h:160:9: note: in expansion of macro 'ASSERT_RETURN' [ 231s] 160 | ASSERT_RETURN(_efd_,>=,0); \ [ 231s] | ^~~~~~~~~~~~~ [ 231s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 231s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 231s] | ^~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-util.h:165:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 165 | ASSERT_EXIT_ZERO(prctl(PR_SET_PDEATHSIG, SIGKILL)); \ [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 231s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 231s] | ^~~~~~~~~~~~~~~ [ 231s] In file included from kdbus-test.h:6: [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:130:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 231s] 130 | ASSERT_EXIT_NONZERO(userns_conn = kdbus_hello(bus, 0, NULL, 0)); [ 231s] | ^~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:132:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 132 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(userns_conn)); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:135:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 135 | ASSERT_EXIT_ZERO(kdbus_msg_send(userns_conn, NULL, cookie, 0, 0, 0, conn->id)); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:138:17: note: in expansion of macro 'ASSERT_RETURN' [ 231s] 138 | ASSERT_RETURN(0,<=,eventfd_read(signal_fd, &event_status)); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:139:17: note: in expansion of macro 'ASSERT_RETURN' [ 231s] 139 | ASSERT_RETURN(event_status,==,(eventfd_t)1); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:147:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 147 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(userns_conn, 300, &msg, NULL)); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 231s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:148:17: note: in expansion of macro 'ASSERT_EXIT' [ 231s] 148 | ASSERT_EXIT(msg->dst_id,==,userns_conn->id); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:148:17: note: in expansion of macro 'ASSERT_EXIT' [ 231s] 148 | ASSERT_EXIT(msg->dst_id,==,userns_conn->id); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:150:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 231s] 150 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_CAPS)); [ 231s] | ^~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:153:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 153 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_creds(msg, &unmapped_creds)); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:159:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 159 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_pids(msg, &unmapped_pids)); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:170:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 170 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(userns_conn, 300, &msg, NULL)); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 231s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:171:17: note: in expansion of macro 'ASSERT_EXIT' [ 231s] 171 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:171:17: note: in expansion of macro 'ASSERT_EXIT' [ 231s] 171 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 231s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:171:17: note: in expansion of macro 'ASSERT_EXIT' [ 231s] 171 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:173:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 231s] 173 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_CAPS)); [ 231s] | ^~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:176:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 176 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_creds(msg, &unmapped_creds)); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 171 | _child_body_; \ [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:182:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 182 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_pids(msg, &unmapped_pids)); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-util.h:174:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 231s] 174 | _parent_setup_; \ [ 231s] | ^~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:191:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 191 | ASSERT_EXIT_ZERO(userns_map_uid_gid(_pid_, "0 65534 1", "0 65534 1")); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-util.h:175:17: note: in expansion of macro 'ASSERT_RETURN' [ 231s] 175 | ASSERT_RETURN(eventfd_write(_efd_, 1),>=,0); \ [ 231s] | ^~~~~~~~~~~~~ [ 231s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 231s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 231s] | ^~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-util.h:178:17: note: in expansion of macro 'ASSERT_RETURN' [ 231s] 178 | ASSERT_RETURN(_rpid_,==,_pid_); \ [ 231s] | ^~~~~~~~~~~~~ [ 231s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 231s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 231s] | ^~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-util.h:179:17: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 179 | ASSERT_NONZERO(WIFEXITED(_ret_)); \ [ 231s] | ^~~~~~~~~~~~~~ [ 231s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 231s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 231s] | ^~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] kdbus-util.h:180:17: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 180 | ASSERT_ZERO(WEXITSTATUS(_ret_)); \ [ 231s] | ^~~~~~~~~~~ [ 231s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 231s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 231s] | ^~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:204:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 204 | ASSERT_EXIT_ZERO(ret); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:211:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 211 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(unpriv_conn, 300, &msg, NULL)); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 231s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:212:9: note: in expansion of macro 'ASSERT_EXIT' [ 231s] 212 | ASSERT_EXIT(msg->dst_id,==,unpriv_conn->id); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:212:9: note: in expansion of macro 'ASSERT_EXIT' [ 231s] 212 | ASSERT_EXIT(msg->dst_id,==,unpriv_conn->id); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:215:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 215 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_creds(msg, &privileged_creds)); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:218:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 218 | ASSERT_ZERO(kdbus_match_kdbus_pids(msg, &parent_pids)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:227:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 227 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(unpriv_conn, 300, &msg, NULL)); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 231s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:228:9: note: in expansion of macro 'ASSERT_EXIT' [ 231s] 228 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:228:9: note: in expansion of macro 'ASSERT_EXIT' [ 231s] 228 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 231s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:228:9: note: in expansion of macro 'ASSERT_EXIT' [ 231s] 228 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:231:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 231s] 231 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_creds(msg, &privileged_creds)); [ 231s] | ^~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:233:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 233 | ASSERT_ZERO(kdbus_match_kdbus_pids(msg, &parent_pids)); [ 231s] | ^~~~~~~~~~~ [ 231s] test-metadata-ns.c: In function 'kdbus_match_kdbus_pids': [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:71:9: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 71 | ASSERT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_PIDS)); [ 231s] | ^~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:72:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 72 | ASSERT_ZERO(memcmp(&item->pids, expected_pids, sizeof(struct kdbus_pids))); [ 231s] | ^~~~~~~~~~~ [ 231s] test-metadata-ns.c: In function 'kdbus_match_kdbus_creds': [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:62:9: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 62 | ASSERT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_CREDS)); [ 231s] | ^~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:63:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 63 | ASSERT_ZERO(memcmp(&item->creds, expected_creds, sizeof(struct kdbus_creds))); [ 231s] | ^~~~~~~~~~~ [ 231s] test-metadata-ns.c: In function 'kdbus_test_metadata': [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:477:9: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 477 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 231s] | ^~~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:478:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 478 | ASSERT_ZERO(kdbus_name_acquire(conn, "dummy.name.yeah", NULL)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:483:17: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 483 | ASSERT_ZERO(kdbus_conn_update_attach_flags(env->conn, _KDBUS_ATTACH_ALL, attach_flags_recv)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:484:17: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 484 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, env->conn->id)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:485:17: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 485 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:452:25: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 452 | ASSERT_ZERO(have_name);\ [ 231s] | ^~~~~~~~~~~ [ 231s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 231s] 487 | TEST_METADATA(msg); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:455:25: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 455 | ASSERT_ZERO(have_desc);\ [ 231s] | ^~~~~~~~~~~ [ 231s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 231s] 487 | TEST_METADATA(msg); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:460:17: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 460 | ASSERT_NONZERO(have_name);\ [ 231s] | ^~~~~~~~~~~~~~ [ 231s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 231s] 487 | TEST_METADATA(msg); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:462:17: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 462 | ASSERT_ZERO(have_name);\ [ 231s] | ^~~~~~~~~~~ [ 231s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 231s] 487 | TEST_METADATA(msg); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:464:17: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 464 | ASSERT_NONZERO(have_desc);\ [ 231s] | ^~~~~~~~~~~~~~ [ 231s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 231s] 487 | TEST_METADATA(msg); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:466:17: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 466 | ASSERT_ZERO(have_desc);\ [ 231s] | ^~~~~~~~~~~ [ 231s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 231s] 487 | TEST_METADATA(msg); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:490:17: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 490 | ASSERT_ZERO(kdbus_free(env->conn, (uintptr_t)msg - (uintptr_t)env->conn->buf)); [ 231s] | ^~~~~~~~~~~ [ 231s] test-metadata-ns.c: In function 'kdbus_test_metadata_conn_info': [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:502:9: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 502 | ASSERT_ZERO(kdbus_name_acquire(env->conn, "dummy.name.yeah", NULL)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:510:17: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 510 | ASSERT_ZERO(kdbus_conn_info(env->conn, env->conn->id, NULL, attach_flags_recv, &offset)); [ 231s] | ^~~~~~~~~~~ [ 231s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 231s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:512:17: note: in expansion of macro 'ASSERT_RETURN' [ 231s] 512 | ASSERT_RETURN(info->id,==,env->conn->id); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 231s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:512:17: note: in expansion of macro 'ASSERT_RETURN' [ 231s] 512 | ASSERT_RETURN(info->id,==,env->conn->id); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:452:25: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 452 | ASSERT_ZERO(have_name);\ [ 231s] | ^~~~~~~~~~~ [ 231s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 231s] 514 | TEST_METADATA(info); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:455:25: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 455 | ASSERT_ZERO(have_desc);\ [ 231s] | ^~~~~~~~~~~ [ 231s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 231s] 514 | TEST_METADATA(info); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:460:17: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 460 | ASSERT_NONZERO(have_name);\ [ 231s] | ^~~~~~~~~~~~~~ [ 231s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 231s] 514 | TEST_METADATA(info); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:462:17: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 462 | ASSERT_ZERO(have_name);\ [ 231s] | ^~~~~~~~~~~ [ 231s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 231s] 514 | TEST_METADATA(info); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:464:17: note: in expansion of macro 'ASSERT_NONZERO' [ 231s] 464 | ASSERT_NONZERO(have_desc);\ [ 231s] | ^~~~~~~~~~~~~~ [ 231s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 231s] 514 | TEST_METADATA(info); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:466:17: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 466 | ASSERT_ZERO(have_desc);\ [ 231s] | ^~~~~~~~~~~ [ 231s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 231s] 514 | TEST_METADATA(info); [ 231s] | ^~~~~~~~~~~~~ [ 231s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 231s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 231s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 231s] | ^~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 231s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 231s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 231s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 231s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 231s] | ^~~~~~~~~~~~ [ 231s] test-metadata-ns.c:516:17: note: in expansion of macro 'ASSERT_ZERO' [ 231s] 516 | ASSERT_ZERO(kdbus_free(env->conn, (uintptr_t)info - (uintptr_t)env->conn->buf)); [ 231s] | ^~~~~~~~~~~ [ 232s] cc -c test-monitor.c -o test-monitor.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 232s] In file included from test-monitor.c:23: [ 232s] test-monitor.c: In function 'kdbus_test_monitor': [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:33:9: note: in expansion of macro 'ASSERT_NONZERO' [ 232s] 33 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 232s] | ^~~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:38:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 38 | ASSERT_ZERO(kdbus_add_match_id(conn, 0x1, KDBUS_ITEM_ID_ADD, KDBUS_MATCH_ID_ANY)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:39:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 39 | ASSERT_ZERO(kdbus_add_match_id(conn, 0x2, KDBUS_ITEM_ID_REMOVE, KDBUS_MATCH_ID_ANY)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:42:9: note: in expansion of macro 'ASSERT_NONZERO' [ 232s] 42 | ASSERT_NONZERO(monitor = kdbus_hello(env->buspath, KDBUS_HELLO_MONITOR, NULL, 0)); [ 232s] | ^~~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:45:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 45 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:48:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 48 | ASSERT_RETURN(-EOPNOTSUPP,==,kdbus_name_acquire(monitor, "foo.bar.baz", NULL)); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:50:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 50 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, cookie, 0, 0, 0, conn->id)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:53:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 53 | ASSERT_ZERO(kdbus_msg_recv(conn, &msg, &offset)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 232s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:54:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 54 | ASSERT_RETURN(msg->cookie,==,cookie); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:54:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 54 | ASSERT_RETURN(msg->cookie,==,cookie); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:56:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 56 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:59:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 59 | ASSERT_ZERO(kdbus_msg_recv(monitor, &msg, &offset)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 232s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:60:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 60 | ASSERT_RETURN(msg->cookie,==,cookie); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:60:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 60 | ASSERT_RETURN(msg->cookie,==,cookie); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:63:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 63 | ASSERT_ZERO(kdbus_free(monitor, offset)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:66:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 66 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:69:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 69 | ASSERT_RETURN(-EOPNOTSUPP,==,kdbus_add_match_empty(monitor)); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:72:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 72 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:75:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 75 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:78:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 78 | ASSERT_ZERO(kdbus_msg_recv_poll(monitor, 100, &msg, &offset)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 232s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:79:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 79 | ASSERT_RETURN(msg->cookie,==,cookie); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:79:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 79 | ASSERT_RETURN(msg->cookie,==,cookie); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:82:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 82 | ASSERT_ZERO(kdbus_free(monitor, offset)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:89:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 89 | ASSERT_ZERO(kdbus_conn_update_attach_flags(monitor, _KDBUS_ATTACH_ALL, 0)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:92:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 92 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:95:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 95 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:97:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 97 | ASSERT_ZERO(kdbus_msg_recv_poll(monitor, 100, &msg, &offset)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 232s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:98:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 98 | ASSERT_RETURN(msg->cookie,==,cookie); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:98:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 98 | ASSERT_RETURN(msg->cookie,==,cookie); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:100:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 100 | ASSERT_ZERO(kdbus_item_in_message(msg, KDBUS_ITEM_TIMESTAMP)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:103:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 103 | ASSERT_ZERO(kdbus_free(monitor, offset)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:109:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 109 | ASSERT_ZERO(kdbus_conn_update_attach_flags(monitor, _KDBUS_ATTACH_ALL, KDBUS_ATTACH_TIMESTAMP | KDBUS_ATTACH_CREDS)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:112:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 112 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:115:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 115 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:117:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 117 | ASSERT_ZERO(kdbus_msg_recv_poll(monitor, 100, &msg, &offset)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 232s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:118:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 118 | ASSERT_RETURN(msg->cookie,==,cookie); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:118:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 118 | ASSERT_RETURN(msg->cookie,==,cookie); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:120:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 120 | ASSERT_RETURN(1,==,kdbus_item_in_message(msg, KDBUS_ITEM_TIMESTAMP)); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:122:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 122 | ASSERT_RETURN(1,==,kdbus_item_in_message(msg, KDBUS_ITEM_CREDS)); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:125:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 125 | ASSERT_ZERO(kdbus_item_in_message(msg, KDBUS_ITEM_PID_COMM)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:128:9: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 128 | ASSERT_ZERO(kdbus_free(monitor, offset)); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:131:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 131 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:135:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 135 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:141:9: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 141 | ASSERT_RETURN(ret,>=,0); [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 232s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 232s] | ^~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 232s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 232s] | ^~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 232s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 232s] | ^~~~~~~~~~~~ [ 232s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 232s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 232s] | ^~~~~~~~~~~~~~~ [ 232s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 232s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 232s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 232s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 232s] | ^~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 232s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 232s] | ^~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 232s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 232s] | ^~~~~~~~~~ [ 232s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 232s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 232s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 232s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 232s] | ^~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:146:25: note: in expansion of macro 'ASSERT_EXIT' [ 232s] 146 | ASSERT_EXIT(errno,==,EPERM); [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 232s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 232s] | ^~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 232s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 232s] | ^~~~~~~~~~ [ 232s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 232s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 232s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 232s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 232s] | ^~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 232s] | ^~~~~~~~~~~~ [ 232s] test-monitor.c:147:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 232s] 147 | ASSERT_EXIT_ZERO(monitor); [ 232s] | ^~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 232s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 232s] | ^~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 232s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 232s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 232s] | ^~~~~~~~~~~~~ [ 232s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 232s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 232s] | ^~~~~~~~~~ [ 232s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 232s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 232s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 232s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 232s] | ^~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 232s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 232s] | ^~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 232s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 232s] | ^~~~~~~~~~~~~~ [ 232s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 232s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 232s] | ^~~~~~~~~~ [ 232s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 232s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 232s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 232s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 232s] | ^~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 232s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 232s] | ^~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 232s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 232s] | ^~~~~~~~~~ [ 232s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 232s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 232s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 232s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 232s] | ^~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 232s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 232s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 232s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 232s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 232s] | ^~~~~~~~~~~~ [ 232s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 232s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 232s] | ^~~~~~~~~~~ [ 232s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 232s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 232s] | ^~~~~~~~~~ [ 232s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 232s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 232s] | ^~~~~~~~~~~~~~~~~~~~ [ 232s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 232s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 232s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 232s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 232s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 232s] | ^~~~~~~~~~~~~~~~ [ 233s] cc -c test-names.c -o test-names.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 233s] In file included from test-names.c:18: [ 233s] test-names.c: In function 'kdbus_test_name_basic': [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:93:9: note: in expansion of macro 'ASSERT_NONZERO' [ 233s] 93 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 233s] | ^~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:96:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 96 | ASSERT_ZERO(kdbus_name_acquire(conn, "foo.bar.xxx", NULL)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:99:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 99 | ASSERT_RETURN(-EINVAL,==,kdbus_name_acquire(env->conn, dot_name, NULL)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:101:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 101 | ASSERT_RETURN(-EINVAL,==,kdbus_name_acquire(env->conn, invalid_name, NULL)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:103:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 103 | ASSERT_RETURN(-EINVAL,==,kdbus_name_acquire(env->conn, wildcard_name, NULL)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:106:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 106 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:108:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 108 | ASSERT_RETURN(true,==,conn_is_name_primary_owner(env->conn, name)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:111:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 111 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:113:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 113 | ASSERT_RETURN(false,==,conn_is_name_primary_owner(env->conn, name)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:116:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 116 | ASSERT_RETURN(-ESRCH,==,kdbus_name_release(env->conn, name)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:119:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 119 | ASSERT_RETURN(-EADDRINUSE,==,kdbus_name_release(env->conn, "foo.bar.xxx")); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:122:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 122 | ASSERT_RETURN(-ESRCH,==,kdbus_name_release(env->conn, dot_name)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:124:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 124 | ASSERT_RETURN(-ESRCH,==,kdbus_name_release(env->conn, invalid_name)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:126:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 126 | ASSERT_RETURN(-ESRCH,==,kdbus_name_release(env->conn, wildcard_name)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] test-names.c: In function 'conn_test_names': [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:39:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 39 | ASSERT_ZERO(kdbus_cmd_list(conn->fd, &cmd_list)); [ 233s] | ^~~~~~~~~~~ [ 233s] test-names.c: In function 'kdbus_test_name_conflict': [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:141:9: note: in expansion of macro 'ASSERT_NONZERO' [ 233s] 141 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 233s] | ^~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:145:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 145 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:147:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 147 | ASSERT_RETURN(true,==,conn_is_name_primary_owner(env->conn, name)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:150:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 150 | ASSERT_RETURN(-EEXIST,==,kdbus_name_acquire(conn, name, NULL)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] test-names.c: In function 'kdbus_test_name_queue': [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:169:9: note: in expansion of macro 'ASSERT_NONZERO' [ 233s] 169 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 233s] | ^~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:173:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 173 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, &flags)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:175:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 175 | ASSERT_RETURN(true,==,conn_is_name_primary_owner(env->conn, name)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:179:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 179 | ASSERT_ZERO(kdbus_name_acquire(conn, name, &flags)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:180:9: note: in expansion of macro 'ASSERT_NONZERO' [ 233s] 180 | ASSERT_NONZERO(flags & KDBUS_NAME_IN_QUEUE); [ 233s] | ^~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:188:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 188 | ASSERT_RETURN(true,==,conn_test_names(conn, t, 2)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:191:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 191 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:197:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 197 | ASSERT_RETURN(true,==,conn_test_names(conn, t, 1)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] test-names.c: In function 'kdbus_test_name_takeover': [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:216:9: note: in expansion of macro 'ASSERT_NONZERO' [ 233s] 216 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 233s] | ^~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:219:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 219 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, &flags)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:224:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 224 | ASSERT_RETURN(true,==,conn_test_names(conn, &t, 1)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:228:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 228 | ASSERT_ZERO(kdbus_name_acquire(conn, name, &flags)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:229:9: note: in expansion of macro 'ASSERT_NONZERO' [ 233s] 229 | ASSERT_NONZERO(flags & KDBUS_NAME_ACQUIRED); [ 233s] | ^~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-names.c:231:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 231 | ASSERT_RETURN(true,==,conn_is_name_primary_owner(conn, name)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] cc -c test-policy.c -o test-policy.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 233s] In file included from test-policy.c:10: [ 233s] test-policy.c: In function 'kdbus_test_policy': [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy.c:20:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 20 | ASSERT_ZERO(kdbus_hello_registrar(env->buspath, ".example.a", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy.c:21:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 21 | ASSERT_ZERO(kdbus_hello_registrar(env->buspath, "example", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy.c:23:9: note: in expansion of macro 'ASSERT_NONZERO' [ 233s] 23 | ASSERT_NONZERO(conn_a = kdbus_hello_registrar(env->buspath, "com.example.a", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 233s] | ^~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy.c:24:9: note: in expansion of macro 'ASSERT_NONZERO' [ 233s] 24 | ASSERT_NONZERO(conn_b = kdbus_hello_registrar(env->buspath, "com.example.b", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 233s] | ^~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy.c:37:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 37 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy.c:39:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 39 | ASSERT_RETURN(-EEXIST,==,kdbus_conn_update_policy(conn_b, "com.example.a", &access, 1)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy.c:41:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 41 | ASSERT_ZERO(kdbus_conn_update_policy(conn_b, "com.example.a.*", &access, 1)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy.c:43:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 43 | ASSERT_RETURN(-EEXIST,==,kdbus_conn_update_policy(conn_a, "com.example.a.*", &access, 1)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy.c:45:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 45 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.*", &access, 1)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy.c:47:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 47 | ASSERT_ZERO(kdbus_conn_update_policy(conn_b, "com.example.a", &access, 1)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy.c:49:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 49 | ASSERT_RETURN(-EEXIST,==,kdbus_conn_update_policy(conn_b, "com.example.*", &access, 1)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy.c:52:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 52 | ASSERT_RETURN(-EINVAL,==,kdbus_conn_update_policy(conn_b, ".example.*", &access, 1)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy.c:54:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 54 | ASSERT_RETURN(-EINVAL,==,kdbus_conn_update_policy(conn_b, "example", &access, 1)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] cc -c test-policy-ns.c -o test-policy-ns.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 233s] In file included from test-policy-ns.c:34: [ 233s] test-policy-ns.c: In function 'kdbus_test_policy_ns': [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:502:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 502 | ASSERT_RETURN(ret,>=,0); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:516:9: note: in expansion of macro 'ASSERT_NONZERO' [ 233s] 516 | ASSERT_NONZERO(g_conn_db = calloc(MAX_CONN, sizeof(struct kdbus_conn *))); [ 233s] | ^~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:520:9: note: in expansion of macro 'ASSERT_NONZERO' [ 233s] 520 | ASSERT_NONZERO(g_conn_db[0] = kdbus_hello(bus, 0, NULL, 0)); [ 233s] | ^~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:522:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 522 | ASSERT_ZERO(kdbus_add_match_empty(g_conn_db[0])); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:524:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 233s] 524 | ASSERT_EXIT_ZERO(kdbus_fork_test_by_id(bus, g_conn_db, -EPERM, -EPERM)); [ 233s] | ^~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:526:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 526 | ASSERT_ZERO(kdbus_register_policy_holder(bus, POLICY_NAME, &policy_holder)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:529:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 529 | ASSERT_ZERO(kdbus_register_same_activator(bus, POLICY_NAME, &activator)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:532:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 532 | ASSERT_ZERO(kdbus_name_acquire(g_conn_db[0], POLICY_NAME, NULL)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:534:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 534 | ASSERT_ZERO(kdbus_normal_test(bus, POLICY_NAME, g_conn_db)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:536:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 536 | ASSERT_ZERO(kdbus_list(g_conn_db[0], KDBUS_LIST_NAMES | KDBUS_LIST_UNIQUE | KDBUS_LIST_ACTIVATORS | KDBUS_LIST_QUEUED)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:538:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 538 | ASSERT_ZERO(kdbus_fork_test(bus, POLICY_NAME, g_conn_db, EXIT_SUCCESS)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:549:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 233s] 549 | ASSERT_EXIT_ZERO(kdbus_fork_test_by_id(bus, g_conn_db, EXIT_SUCCESS, EXIT_SUCCESS)); [ 233s] | ^~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:558:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 558 | ASSERT_ZERO(kdbus_set_policy_talk(policy_holder, POLICY_NAME, geteuid(), KDBUS_POLICY_ACCESS_USER)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:565:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 565 | ASSERT_ZERO(kdbus_fork_test(bus, POLICY_NAME, g_conn_db, ONTIZEN(0,-EPERM))); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:576:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 233s] 576 | ASSERT_EXIT_ZERO(kdbus_fork_test_by_id(bus, g_conn_db, -EPERM, -EPERM)); [ 233s] | ^~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:579:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 579 | ASSERT_ZERO(kdbus_clone_userns_test(bus, POLICY_NAME, g_conn_db, ONTIZEN(0,-EPERM))); [ 233s] | ^~~~~~~~~~~ [ 233s] test-policy-ns.c: In function 'kdbus_register_policy_holder': [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:123:9: note: in expansion of macro 'ASSERT_NONZERO' [ 233s] 123 | ASSERT_NONZERO(c = kdbus_hello_registrar(bus, name, access, 2, KDBUS_HELLO_POLICY_HOLDER)); [ 233s] | ^~~~~~~~~~~~~~ [ 233s] test-policy-ns.c: In function 'kdbus_normal_test': [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:242:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 242 | ASSERT_RETURN(0,<=,kdbus_recv_in_threads(bus, name, conn_db)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] test-policy-ns.c: In function 'kdbus_recv_in_threads': [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:217:17: note: in expansion of macro 'ASSERT_NONZERO' [ 233s] 217 | ASSERT_NONZERO(lost_packets); [ 233s] | ^~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:225:17: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 225 | ASSERT_RETURN(sent_packets,>=,(unsigned)KDBUS_CONN_MAX_MSGS_PER_USER); [ 233s] | ^~~~~~~~~~~~~ [ 233s] test-policy-ns.c: In function 'kdbus_set_policy_talk': [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:81:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 81 | ASSERT_ZERO(kdbus_conn_update_policy(conn, name, &access, 1)); [ 233s] | ^~~~~~~~~~~ [ 233s] test-policy-ns.c: In function 'kdbus_fork_test': [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 233s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:354:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 233s] 354 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 233s] | ^~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:357:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 233s] 357 | ASSERT_EXIT_ZERO(prctl(PR_SET_PDEATHSIG, SIGKILL)); [ 233s] | ^~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:359:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 233s] 359 | ASSERT_EXIT_ZERO(drop_privileges(65534, 65534)); [ 233s] | ^~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:365:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 365 | ASSERT_RETURN(0,<=,waitpid(pid, &status, 0)); [ 233s] | ^~~~~~~~~~~~~ [ 233s] test-policy-ns.c: In function 'kdbus_fork_test_by_id': [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 233s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:273:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 233s] 273 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 233s] | ^~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:278:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 233s] 278 | ASSERT_EXIT_ZERO(prctl(PR_SET_PDEATHSIG, SIGKILL)); [ 233s] | ^~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:280:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 233s] 280 | ASSERT_EXIT_ZERO(drop_privileges(65534, 65534)); [ 233s] | ^~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:282:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 233s] 282 | ASSERT_EXIT_NONZERO(conn_src = kdbus_hello(bus, 0, NULL, 0)); [ 233s] | ^~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:284:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 233s] 284 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(conn_src)); [ 233s] | ^~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:291:17: note: in expansion of macro 'ASSERT_EXIT' [ 233s] 291 | ASSERT_EXIT(child_status,==,kdbus_msg_send(conn_src, NULL, cookie, 0, 0, 0, conn_db[0]->id)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 233s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:316:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 233s] 316 | ASSERT_RETURN_VAL(ret,==,-ETIMEDOUT, TEST_ERR); [ 233s] | ^~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 233s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:322:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 233s] 322 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 233s] | ^~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 233s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:329:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 233s] 329 | ASSERT_RETURN_VAL(ret,==,parent_status, TEST_ERR); [ 233s] | ^~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:332:9: note: in expansion of macro 'ASSERT_ZERO' [ 233s] 332 | ASSERT_ZERO(kdbus_free(conn_db[0], offset)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 233s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:336:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 233s] 336 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 233s] | ^~~~~~~~~~~~~~~~~ [ 233s] test-policy-ns.c: In function 'kdbus_clone_userns_test': [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 233s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:470:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 233s] 470 | ASSERT_RETURN_VAL(pid,>=,0, -errno); [ 233s] | ^~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:485:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 485 | ASSERT_RETURN(ret,==,expected_status?-ETIMEDOUT:0); [ 233s] | ^~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:488:9: note: in expansion of macro 'ASSERT_RETURN' [ 233s] 488 | ASSERT_RETURN(ret,>=,0); [ 233s] | ^~~~~~~~~~~~~ [ 233s] test-policy-ns.c: In function '__kdbus_clone_userns_test': [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 233s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:382:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 233s] 382 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 233s] | ^~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 233s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:398:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 233s] 398 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 233s] | ^~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 233s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:402:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 233s] 402 | ASSERT_RETURN_VAL(efd,>=,0, efd); [ 233s] | ^~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:429:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 233s] 429 | ASSERT_EXIT_ZERO(prctl(PR_SET_PDEATHSIG, SIGKILL)); [ 233s] | ^~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:431:17: note: in expansion of macro 'ASSERT_EXIT' [ 233s] 431 | ASSERT_EXIT(0,<=,eventfd_read(efd, &event_status)); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 233s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:432:17: note: in expansion of macro 'ASSERT_EXIT' [ 233s] 432 | ASSERT_EXIT(event_status,==,(eventfd_t)1); [ 233s] | ^~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:435:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 233s] 435 | ASSERT_EXIT_NONZERO(conn_src = kdbus_hello(bus, 0, NULL, 0)); [ 233s] | ^~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 233s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:437:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 233s] 437 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(conn_src)); [ 233s] | ^~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 233s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:446:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 233s] 446 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 233s] | ^~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 233s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:450:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 233s] 450 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 233s] | ^~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 233s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 233s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 233s] | ^~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 233s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 233s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 233s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 233s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 233s] | ^~~~~~~~~~~~ [ 233s] test-policy-ns.c:453:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 233s] 453 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 233s] | ^~~~~~~~~~~~~~~~~ [ 234s] cc -c test-policy-priv.c -o test-policy-priv.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 234s] In file included from test-policy-priv.c:14: [ 234s] test-policy-priv.c: In function 'test_policy_priv': [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:566:9: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 566 | ASSERT_RETURN(ret,>=,0); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:586:9: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 586 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:594:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 594 | ASSERT_ZERO(test_priv_before_policy_upload(env)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:607:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 607 | ASSERT_EXIT(errno,==,EPERM); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:608:17: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 608 | ASSERT_ZERO(holder); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:615:9: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 615 | ASSERT_NONZERO(conn_a = kdbus_hello_registrar(env->buspath, "com.example.a", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:616:9: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 616 | ASSERT_NONZERO(conn_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:618:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 618 | ASSERT_EXIT_ZERO(kdbus_name_acquire(conn_b, "com.example.b", NULL)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:623:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 623 | ASSERT_EXIT_ZERO(kdbus_name_acquire(conn, "com.example.a", NULL)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:633:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 633 | ASSERT_EXIT(0,ONTIZEN(==,!=),kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:653:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 653 | ASSERT_EXIT(-EOPNOTSUPP,==,kdbus_conn_update_policy(unpriv, "com.example.a", &access, 1)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:656:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 656 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:659:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 659 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:673:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 673 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:676:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 676 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:685:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 685 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:688:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 688 | ASSERT_EXIT(0,ONTIZEN(==,!=),kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:702:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 702 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:705:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 705 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:714:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 714 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:717:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 717 | ASSERT_EXIT(0,ONTIZEN(==,!=),kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:749:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 749 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", acc, num)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:752:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 752 | ASSERT_EXIT(0,ONTIZEN(==,!=),kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:789:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 789 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", acc, num)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:792:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 792 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:799:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 799 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", NULL, 0)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:805:9: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 805 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:807:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 807 | ASSERT_EXIT_ZERO(kdbus_msg_send(conn, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:809:9: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 809 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 300, NULL, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:818:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 818 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:832:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 832 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.c", &access, 1)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:837:17: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 837 | ASSERT_NONZERO(owner_ = kdbus_hello(env->buspath, 0, NULL, 0)); [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:839:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 839 | ASSERT_EXIT_ZERO(kdbus_name_acquire(owner_, "com.example.c", NULL)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:841:17: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 841 | ASSERT_ZERO(kdbus_msg_send(unpriv, "com.example.c", 0xdeadbeef, 0, 0, 0, 0)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:842:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 842 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(owner_, 100, NULL, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:858:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 858 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", &access, 1)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:861:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 861 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:864:9: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 864 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 100, NULL, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:877:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 877 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", &access, 1)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:880:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 880 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:883:9: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 883 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 100, NULL, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:896:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 896 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", &access, 1)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:899:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 899 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:902:9: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 902 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 100, NULL, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:938:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 938 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", acc, num)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:941:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 941 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:955:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 955 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", &access, 1)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:958:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 958 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:961:9: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 961 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 100, NULL, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:974:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 974 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", &access, 1)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:977:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 977 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:979:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 979 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 100, NULL, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:981:17: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 981 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", NULL, 0)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:983:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 983 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:997:9: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 997 | ASSERT_NONZERO(conn = kdbus_hello_registrar(env->buspath, "com.example.c", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:999:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 999 | ASSERT_ZERO(kdbus_conn_update_policy(conn, "com.example.c", &access, 1)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:1001:9: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 1001 | ASSERT_NONZERO(owner = kdbus_hello(env->buspath, 0, NULL, 0)); [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:1003:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 1003 | ASSERT_ZERO(kdbus_name_acquire(owner, "com.example.c", NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 234s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 234s] | ^~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 234s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:1018:17: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 1018 | ASSERT_RETURN(errno,==,EINTR); \ [ 234s] | ^~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 234s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 234s] | ^~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 234s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:1019:17: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 1019 | ASSERT_RETURN(ret,==,-1); \ [ 234s] | ^~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 234s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 234s] | ^~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 234s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:1020:17: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 1020 | ASSERT_NONZERO(unpriv = kdbus_hello(env->buspath, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 234s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 234s] | ^~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 234s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:1021:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 1021 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.c", 0xdeadbeef, 0, 0, 0, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 234s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 234s] | ^~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 234s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:1022:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 1022 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(owner, 100, NULL, NULL)); \ [ 234s] | ^~~~~~~~~~~ [ 234s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 234s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 234s] | ^~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 234s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:1027:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 1027 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "com.example.c", 0xdeadbeef, 0, 0, 0, 0)); \ [ 234s] | ^~~~~~~~~~~ [ 234s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 234s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 234s] | ^~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 234s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 234s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 234s] | ^~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 234s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 234s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 234s] | ^~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 234s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 234s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 234s] | ^~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 234s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 234s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 234s] | ^~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 234s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:1049:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 1049 | ASSERT_ZERO(test_broadcast_after_policy_upload(env)); [ 234s] | ^~~~~~~~~~~ [ 234s] test-policy-priv.c: In function 'test_priv_before_policy_upload': [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:170:9: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 170 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:178:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 178 | ASSERT_EXIT(0,ONTIZEN(==,>),kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:187:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 187 | ASSERT_ZERO(test_policy_priv_by_id(env->buspath, conn, -ETIMEDOUT, -EPERM)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:190:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 190 | ASSERT_ZERO(kdbus_add_match_empty(conn)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:197:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 197 | ASSERT_EXIT(-ENOTUNIQ,==,kdbus_msg_send(unpriv, NULL, 0xdeadbeef, KDBUS_MSG_EXPECT_REPLY, 5000000000ULL, 0, KDBUS_DST_ID_BROADCAST)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:216:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 216 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, conn, DO_NOT_DROP, 0, -ETIMEDOUT)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:226:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 226 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, NULL, DROP_SAME_UNPRIV, 0, 0)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:235:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 235 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, NULL, DROP_OTHER_UNPRIV, -ETIMEDOUT, -ETIMEDOUT)); [ 234s] | ^~~~~~~~~~~ [ 234s] test-policy-priv.c: In function 'test_policy_priv_by_id': [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:34:9: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 34 | ASSERT_NONZERO(conn_dst); [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:37:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 37 | ASSERT_EXIT(child_status,==,kdbus_msg_send(unpriv, NULL, expected_cookie, 0, 0, 0, conn_dst->id)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:40:9: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 40 | ASSERT_RETURN(parent_status,==,kdbus_msg_recv_poll(conn_dst, 300, NULL, NULL)); [ 234s] | ^~~~~~~~~~~~~ [ 234s] test-policy-priv.c: In function 'test_policy_priv_by_broadcast': [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:74:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 234s] 74 | ASSERT_RETURN_VAL(efd,>=,0, efd); [ 234s] | ^~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:79:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 79 | ASSERT_EXIT_NONZERO(child = kdbus_hello(bus, 0, NULL, 0)); [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:81:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 81 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(child)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:84:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 84 | ASSERT_EXIT_ZERO(eventfd_write(efd, 1)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:87:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 87 | ASSERT_EXIT(child_status,==,kdbus_msg_recv_poll(child, 500, &msg, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:94:25: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 94 | ASSERT_EXIT(expected_cookie,==,msg->cookie); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 234s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:94:25: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 94 | ASSERT_EXIT(expected_cookie,==,msg->cookie); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:99:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 99 | ASSERT_EXIT_ZERO(kdbus_msg_send(child, NULL, expected_cookie + 1, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:124:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 124 | ASSERT_NONZERO(child_2); [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:126:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 126 | ASSERT_RETURN(0,<=,eventfd_read(efd, &event_status)); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:127:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 127 | ASSERT_RETURN(event_status,==,(eventfd_t)1); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:129:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 129 | ASSERT_ZERO(kdbus_msg_send(child_2, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:109:33: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 109 | ASSERT_ZERO(got_own_broadcast);\ [ 234s] | ^~~~~~~~~~~ [ 234s] test-policy-priv.c:131:25: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 234s] 131 | RECEIVE_FROM_PARENT(); [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:114:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 114 | ASSERT_RETURN(parent_status,==,ret);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] test-policy-priv.c:131:25: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 234s] 131 | RECEIVE_FROM_PARENT(); [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 234s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:117:33: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 117 | ASSERT_RETURN(msg->cookie,==,expected_cookie + 1);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] test-policy-priv.c:131:25: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 234s] 131 | RECEIVE_FROM_PARENT(); [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:117:33: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 117 | ASSERT_RETURN(msg->cookie,==,expected_cookie + 1);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] test-policy-priv.c:131:25: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 234s] 131 | RECEIVE_FROM_PARENT(); [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:138:33: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 138 | ASSERT_EXIT_NONZERO(child_2 = kdbus_hello(bus, 0, NULL, 0)); [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:140:33: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 140 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(child_2)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:142:33: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 142 | ASSERT_EXIT(0,<=,eventfd_read(efd, &event_status)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:143:33: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 143 | ASSERT_EXIT(event_status,==,(eventfd_t)1); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:145:33: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 145 | ASSERT_EXIT_ZERO(kdbus_msg_send(child_2, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:109:33: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 109 | ASSERT_ZERO(got_own_broadcast);\ [ 234s] | ^~~~~~~~~~~ [ 234s] test-policy-priv.c:147:33: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 234s] 147 | RECEIVE_FROM_PARENT(); [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:114:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 114 | ASSERT_RETURN(parent_status,==,ret);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] test-policy-priv.c:147:33: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 234s] 147 | RECEIVE_FROM_PARENT(); [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 234s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:117:33: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 117 | ASSERT_RETURN(msg->cookie,==,expected_cookie + 1);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] test-policy-priv.c:147:33: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 234s] 147 | RECEIVE_FROM_PARENT(); [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:117:33: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 117 | ASSERT_RETURN(msg->cookie,==,expected_cookie + 1);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] test-policy-priv.c:147:33: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 234s] 147 | RECEIVE_FROM_PARENT(); [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c: In function 'test_broadcast_after_policy_upload': [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:252:9: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 252 | ASSERT_NONZERO(owner_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:254:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 254 | ASSERT_EXIT_ZERO(kdbus_name_acquire(owner_a, "com.example.broadcastA", NULL)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:263:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 263 | ASSERT_ZERO(test_policy_priv_by_id(env->buspath, owner_a, -ETIMEDOUT, -EPERM)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:276:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 276 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, owner_a, DO_NOT_DROP, -ETIMEDOUT, -ETIMEDOUT)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:279:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 279 | ASSERT_ZERO(kdbus_add_match_empty(owner_a)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:287:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 287 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, owner_a, DO_NOT_DROP, 0, -ETIMEDOUT)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:294:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 294 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, NULL, DROP_SAME_UNPRIV, 0, 0)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:303:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 303 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, NULL, DROP_OTHER_UNPRIV, -ETIMEDOUT, -ETIMEDOUT)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:311:9: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 311 | ASSERT_NONZERO(holder_a = kdbus_hello_registrar(env->buspath, "com.example.broadcastA", &access, 1, KDBUS_HELLO_POLICY_HOLDER)); [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:312:9: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 312 | ASSERT_NONZERO(holder_b = kdbus_hello_registrar(env->buspath, "com.example.broadcastB", &access, 1, KDBUS_HELLO_POLICY_HOLDER)); [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:317:9: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 317 | ASSERT_NONZERO(owner_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:320:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 320 | ASSERT_ZERO(kdbus_add_match_empty(owner_a)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:322:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 322 | ASSERT_EXIT_ZERO(kdbus_name_acquire(owner_a, "com.example.broadcastA", NULL)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:324:9: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 324 | ASSERT_NONZERO(owner_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:326:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 326 | ASSERT_EXIT_ZERO(kdbus_name_acquire(owner_b, "com.example.broadcastB", NULL)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:329:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 329 | ASSERT_ZERO(kdbus_add_match_empty(owner_b)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:340:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 340 | ASSERT_ZERO(kdbus_msg_send(owner_a, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:342:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 342 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_b, 100, &msg, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 234s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:343:9: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 343 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:343:9: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 343 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 234s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:345:9: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 345 | ASSERT_RETURN(msg->src_id,==,owner_a->id); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:345:9: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 345 | ASSERT_RETURN(msg->src_id,==,owner_a->id); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:349:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 349 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 100, &msg, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 234s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:350:9: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 350 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:350:9: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 350 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 234s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:352:9: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 352 | ASSERT_RETURN(msg->src_id,==,owner_a->id); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:352:9: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 352 | ASSERT_RETURN(msg->src_id,==,owner_a->id); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:356:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 356 | ASSERT_EXIT_ZERO(kdbus_name_release(owner_b, "com.example.broadcastB")); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:367:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 367 | ASSERT_ZERO(kdbus_conn_update_policy(holder_b, "com.example.broadcastB", &access, 1)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:398:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 234s] 398 | ASSERT_RETURN_VAL(efd,>=,0, efd); [ 234s] | ^~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:404:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 404 | ASSERT_EXIT_NONZERO(unpriv_owner = kdbus_hello(env->buspath, 0, NULL, 0)); [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:405:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 405 | ASSERT_EXIT_NONZERO(unpriv_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:406:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 406 | ASSERT_EXIT_NONZERO(unpriv_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:408:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 408 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv_owner, "com.example.broadcastB", NULL)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:410:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 410 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(unpriv_a)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:413:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 413 | ASSERT_EXIT_ZERO(eventfd_write(efd, 1)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:419:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 419 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv_owner, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:425:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 425 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(unpriv_a, 300, &msg, NULL)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 234s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:426:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 426 | ASSERT_EXIT(msg->cookie,==,expected_cookie); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:426:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 426 | ASSERT_EXIT(msg->cookie,==,expected_cookie); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:432:17: note: in expansion of macro 'ASSERT_EXIT' [ 234s] 432 | ASSERT_EXIT(-ETIMEDOUT,==,kdbus_msg_recv_poll(unpriv_b, 300, NULL, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:435:17: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 435 | ASSERT_RETURN(0,<=,eventfd_read(efd, &event_status)); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:436:17: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 436 | ASSERT_RETURN(event_status,==,(eventfd_t)1); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:443:17: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 443 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 300, &msg, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 234s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:446:17: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 446 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:446:17: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 446 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:454:17: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 454 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_b, 300, &msg, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 234s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:457:17: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 457 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:457:17: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 457 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 234s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:472:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 472 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, NULL, DROP_OTHER_UNPRIV, -ETIMEDOUT, -ETIMEDOUT)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:475:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 475 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 100, NULL, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:476:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 476 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 100, NULL, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:478:9: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 478 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(owner_a, NULL, NULL)); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:480:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 480 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_b, 100, NULL, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:481:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 481 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_b, 100, NULL, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:483:9: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 483 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(owner_b, NULL, NULL)); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:498:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 498 | ASSERT_ZERO(kdbus_conn_update_policy(holder_a, "com.example.broadcastA", &access, 1)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:504:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 504 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, owner_a, DO_NOT_DROP, 0, 0)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:508:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 508 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.broadcastB", NULL)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:509:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 509 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:513:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 513 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 300, &msg, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 234s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:516:9: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 516 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:516:9: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 516 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:529:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 529 | ASSERT_EXIT_ZERO(kdbus_name_release(owner_a, "com.example.broadcastA")); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 234s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 234s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 234s] | ^~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 234s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 234s] | ^~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:533:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 533 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.broadcastB", NULL)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:534:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 234s] 534 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 234s] | ^~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 234s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 234s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 234s] | ^~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 234s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 234s] | ^~~~~~~~~~ [ 234s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 234s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 234s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 234s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 234s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 234s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:538:9: note: in expansion of macro 'ASSERT_ZERO' [ 234s] 538 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 300, &msg, NULL)); [ 234s] | ^~~~~~~~~~~ [ 234s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 234s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:541:9: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 541 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 234s] | ^~~~~~~~~~~~~ [ 234s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 234s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 234s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 234s] | ^~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 234s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 234s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 234s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 234s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 234s] | ^~~~~~~~~~~~ [ 234s] test-policy-priv.c:541:9: note: in expansion of macro 'ASSERT_RETURN' [ 234s] 541 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 234s] | ^~~~~~~~~~~~~ [ 240s] cc -c test-sync.c -o test-sync.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 240s] In file included from test-sync.c:18: [ 240s] test-sync.c: In function 'kdbus_test_sync_reply': [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:238:9: note: in expansion of macro 'ASSERT_NONZERO' [ 240s] 238 | ASSERT_NONZERO(conn_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 240s] | ^~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:239:9: note: in expansion of macro 'ASSERT_NONZERO' [ 240s] 239 | ASSERT_NONZERO(conn_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 240s] | ^~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:248:9: note: in expansion of macro 'ASSERT_ZERO' [ 240s] 248 | ASSERT_ZERO(status); [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:249:9: note: in expansion of macro 'ASSERT_ZERO' [ 240s] 249 | ASSERT_ZERO(ret); [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:251:9: note: in expansion of macro 'ASSERT_ZERO' [ 240s] 251 | ASSERT_ZERO(interrupt_sync(conn_a, conn_b)); [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:252:9: note: in expansion of macro 'ASSERT_ZERO' [ 240s] 252 | ASSERT_ZERO(close_epipe_sync(env->buspath)); [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:253:9: note: in expansion of macro 'ASSERT_ZERO' [ 240s] 253 | ASSERT_ZERO(cancel_fd_sync(conn_a, conn_b)); [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:254:9: note: in expansion of macro 'ASSERT_ZERO' [ 240s] 254 | ASSERT_ZERO(no_cancel_sync(conn_a, conn_b)); [ 240s] | ^~~~~~~~~~~ [ 240s] test-sync.c: In function 'interrupt_sync': [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 240s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:40:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 240s] 40 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 240s] | ^~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:43:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 240s] 43 | ASSERT_EXIT_ZERO(sigaction(SIGINT, &sa, NULL)); [ 240s] | ^~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:45:17: note: in expansion of macro 'ASSERT_EXIT' [ 240s] 45 | ASSERT_EXIT(-ETIMEDOUT,==,kdbus_msg_send_sync(conn_dst, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 100000000ULL, 0, conn_src->id, -1)); [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:50:9: note: in expansion of macro 'ASSERT_ZERO' [ 240s] 50 | ASSERT_ZERO(kdbus_msg_recv_poll(conn_src, 100, &msg, NULL)); [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 240s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:51:9: note: in expansion of macro 'ASSERT_RETURN' [ 240s] 51 | ASSERT_RETURN(msg->cookie,==,cookie); [ 240s] | ^~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:51:9: note: in expansion of macro 'ASSERT_RETURN' [ 240s] 51 | ASSERT_RETURN(msg->cookie,==,cookie); [ 240s] | ^~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 240s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:56:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 240s] 56 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 240s] | ^~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 240s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:59:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 240s] 59 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 240s] | ^~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:64:9: note: in expansion of macro 'ASSERT_RETURN' [ 240s] 64 | ASSERT_RETURN(-ETIMEDOUT,==,kdbus_msg_recv_poll(conn_src, 100, NULL, NULL)); [ 240s] | ^~~~~~~~~~~~~ [ 240s] test-sync.c: In function 'close_epipe_sync': [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:77:9: note: in expansion of macro 'ASSERT_NONZERO' [ 240s] 77 | ASSERT_NONZERO(conn_src = kdbus_hello(bus, 0, NULL, 0)); [ 240s] | ^~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:79:9: note: in expansion of macro 'ASSERT_ZERO' [ 240s] 79 | ASSERT_ZERO(kdbus_add_match_empty(conn_src)); [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:81:9: note: in expansion of macro 'ASSERT_NONZERO' [ 240s] 81 | ASSERT_NONZERO(conn_dst = kdbus_hello(bus, 0, NULL, 0)); [ 240s] | ^~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 240s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:85:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 240s] 85 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 240s] | ^~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:94:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 240s] 94 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(conn_src, -1, &msg, NULL)); [ 240s] | ^~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 240s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:95:17: note: in expansion of macro 'ASSERT_EXIT' [ 240s] 95 | ASSERT_EXIT(msg->cookie,==,cookie); [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:95:17: note: in expansion of macro 'ASSERT_EXIT' [ 240s] 95 | ASSERT_EXIT(msg->cookie,==,cookie); [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 240s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:96:17: note: in expansion of macro 'ASSERT_EXIT' [ 240s] 96 | ASSERT_EXIT(msg->src_id,==,dst_id); [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:96:17: note: in expansion of macro 'ASSERT_EXIT' [ 240s] 96 | ASSERT_EXIT(msg->src_id,==,dst_id); [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:102:25: note: in expansion of macro 'ASSERT_EXIT' [ 240s] 102 | ASSERT_EXIT(-ECONNRESET,==,ret); /* need big timeout because we're not synchronized wrt dst_id closing */ [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:107:9: note: in expansion of macro 'ASSERT_ZERO' [ 240s] 107 | ASSERT_ZERO(kdbus_msg_send(conn_dst, NULL, cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:110:9: note: in expansion of macro 'ASSERT_ZERO' [ 240s] 110 | ASSERT_ZERO(kdbus_msg_recv_poll(conn_dst, -1, &msg, NULL)); [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 240s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:111:9: note: in expansion of macro 'ASSERT_RETURN' [ 240s] 111 | ASSERT_RETURN(msg->cookie,==,cookie); [ 240s] | ^~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:111:9: note: in expansion of macro 'ASSERT_RETURN' [ 240s] 111 | ASSERT_RETURN(msg->cookie,==,cookie); [ 240s] | ^~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 240s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:120:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 240s] 120 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 240s] | ^~~~~~~~~~~~~~~~~ [ 240s] test-sync.c: In function 'cancel_fd_sync': [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 240s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:138:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 240s] 138 | ASSERT_RETURN_VAL(cancel_fd,>=,0, cancel_fd); [ 240s] | ^~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 240s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:142:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 240s] 142 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 240s] | ^~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:145:17: note: in expansion of macro 'ASSERT_EXIT' [ 240s] 145 | ASSERT_EXIT(-ECANCELED,==,kdbus_msg_send_sync(conn_dst, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 500000000000ULL, 0, conn_src->id, cancel_fd)); [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 240s] 149 | ASSERT_ZERO(kdbus_msg_recv_poll(conn_src, 100, &msg, NULL)); [ 240s] | ^~~~~~~~~~~ [ 240s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 240s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:150:9: note: in expansion of macro 'ASSERT_RETURN' [ 240s] 150 | ASSERT_RETURN(msg->cookie,==,cookie); [ 240s] | ^~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:150:9: note: in expansion of macro 'ASSERT_RETURN' [ 240s] 150 | ASSERT_RETURN(msg->cookie,==,cookie); [ 240s] | ^~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:154:9: note: in expansion of macro 'ASSERT_RETURN' [ 240s] 154 | ASSERT_RETURN((int)sizeof(counter),==,write(cancel_fd, &counter, sizeof(counter))); [ 240s] | ^~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 240s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:157:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 240s] 157 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 240s] | ^~~~~~~~~~~~~~~~~ [ 240s] test-sync.c: In function 'no_cancel_sync': [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 240s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:176:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 240s] 176 | ASSERT_RETURN_VAL(cancel_fd,>=,0, cancel_fd); [ 240s] | ^~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 240s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:180:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 240s] 180 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 240s] | ^~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:183:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 240s] 183 | ASSERT_EXIT_ZERO(kdbus_msg_send_sync(conn_dst, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 500000000000ULL, 0, conn_src->id, cancel_fd)); [ 240s] | ^~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 240s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:188:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 240s] 188 | ASSERT_RETURN_VAL(ret,==,0, -1); [ 240s] | ^~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 240s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 240s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:189:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 240s] 189 | ASSERT_RETURN_VAL(msg->cookie,==,cookie, -1); [ 240s] | ^~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 240s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:189:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 240s] 189 | ASSERT_RETURN_VAL(msg->cookie,==,cookie, -1); [ 240s] | ^~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 240s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:194:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 240s] 194 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 240s] | ^~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 240s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:197:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 240s] 197 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 240s] | ^~~~~~~~~~~~~~~~~ [ 240s] test-sync.c: In function 'kdbus_test_sync_byebye': [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:300:9: note: in expansion of macro 'ASSERT_NONZERO' [ 240s] 300 | ASSERT_NONZERO(conn_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 240s] | ^~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:301:9: note: in expansion of macro 'ASSERT_NONZERO' [ 240s] 301 | ASSERT_NONZERO(conn_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 240s] | ^~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:305:9: note: in expansion of macro 'ASSERT_RETURN' [ 240s] 305 | ASSERT_RETURN(-ECONNRESET,==,kdbus_msg_send_sync(conn_b, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 5000000000ULL, 0, conn_a->id, -1)); [ 240s] | ^~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:312:9: note: in expansion of macro 'ASSERT_NONZERO' [ 240s] 312 | ASSERT_NONZERO(conn_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 240s] | ^~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:313:9: note: in expansion of macro 'ASSERT_NONZERO' [ 240s] 313 | ASSERT_NONZERO(conn_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 240s] | ^~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 240s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:317:9: note: in expansion of macro 'ASSERT_RETURN' [ 240s] 317 | ASSERT_RETURN(-EPIPE,==,kdbus_msg_send_sync(conn_b, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 5000000000ULL, 0, conn_a->id, -1)); [ 240s] | ^~~~~~~~~~~~~ [ 240s] test-sync.c: In function 'run_thread_byebye': [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:274:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 240s] 274 | ASSERT_EXIT_ZERO(kdbus_cmd_byebye(conn_b->fd, &cmd_byebye)); [ 240s] | ^~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 240s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 240s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 240s] | ^~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 240s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 240s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 240s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 240s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 240s] | ^~~~~~~~~~~~ [ 240s] test-sync.c:276:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 240s] 276 | ASSERT_EXIT_ZERO(kdbus_cmd_byebye(conn_a->fd, &cmd_byebye)); [ 240s] | ^~~~~~~~~~~~~~~~ [ 241s] cc -c test-timeout.c -o test-timeout.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 241s] In file included from test-timeout.c:15: [ 241s] test-timeout.c: In function 'timeout_msg_recv': [ 241s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 241s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 241s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:33:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 241s] 33 | ASSERT_RETURN_VAL(msg->payload_type,==,(typeof(msg->payload_type))KDBUS_PAYLOAD_KERNEL, -EINVAL); [ 241s] | ^~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 241s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 241s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:33:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 241s] 33 | ASSERT_RETURN_VAL(msg->payload_type,==,(typeof(msg->payload_type))KDBUS_PAYLOAD_KERNEL, -EINVAL); [ 241s] | ^~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 241s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 241s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:33:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 241s] 33 | ASSERT_RETURN_VAL(msg->payload_type,==,(typeof(msg->payload_type))KDBUS_PAYLOAD_KERNEL, -EINVAL); [ 241s] | ^~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 241s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 241s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:34:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 241s] 34 | ASSERT_RETURN_VAL(msg->src_id,==,(typeof(msg->src_id))KDBUS_SRC_ID_KERNEL, -EINVAL); [ 241s] | ^~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 241s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 241s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:34:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 241s] 34 | ASSERT_RETURN_VAL(msg->src_id,==,(typeof(msg->src_id))KDBUS_SRC_ID_KERNEL, -EINVAL); [ 241s] | ^~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 241s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 241s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:34:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 241s] 34 | ASSERT_RETURN_VAL(msg->src_id,==,(typeof(msg->src_id))KDBUS_SRC_ID_KERNEL, -EINVAL); [ 241s] | ^~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 241s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 241s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:35:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 241s] 35 | ASSERT_RETURN_VAL(msg->dst_id,==,conn->id, -EINVAL); [ 241s] | ^~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 241s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 241s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:35:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 241s] 35 | ASSERT_RETURN_VAL(msg->dst_id,==,conn->id, -EINVAL); [ 241s] | ^~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 241s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 241s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:44:33: note: in expansion of macro 'ASSERT_ZERO' [ 241s] 44 | ASSERT_ZERO(have_type); [ 241s] | ^~~~~~~~~~~ [ 241s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 241s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 241s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:46:33: note: in expansion of macro 'ASSERT_RETURN' [ 241s] 46 | ASSERT_RETURN(item->size,==,2*sizeof(uint64_t)); [ 241s] | ^~~~~~~~~~~~~ [ 241s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 241s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 241s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:46:33: note: in expansion of macro 'ASSERT_RETURN' [ 241s] 46 | ASSERT_RETURN(item->size,==,2*sizeof(uint64_t)); [ 241s] | ^~~~~~~~~~~~~ [ 241s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 241s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 241s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:49:25: note: in expansion of macro 'ASSERT_RETURN' [ 241s] 49 | ASSERT_RETURN(item->type,==,(uint64_t)KDBUS_ITEM_TIMESTAMP); [ 241s] | ^~~~~~~~~~~~~ [ 241s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 241s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 241s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:49:25: note: in expansion of macro 'ASSERT_RETURN' [ 241s] 49 | ASSERT_RETURN(item->type,==,(uint64_t)KDBUS_ITEM_TIMESTAMP); [ 241s] | ^~~~~~~~~~~~~ [ 241s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 241s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 241s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:50:25: note: in expansion of macro 'ASSERT_ZERO' [ 241s] 50 | ASSERT_ZERO(have_timestamp); [ 241s] | ^~~~~~~~~~~ [ 241s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 241s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 241s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:52:25: note: in expansion of macro 'ASSERT_RETURN' [ 241s] 52 | ASSERT_RETURN(item->size,==,2*sizeof(uint64_t) + sizeof(struct kdbus_timestamp)); [ 241s] | ^~~~~~~~~~~~~ [ 241s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 241s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 241s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:52:25: note: in expansion of macro 'ASSERT_RETURN' [ 241s] 52 | ASSERT_RETURN(item->size,==,2*sizeof(uint64_t) + sizeof(struct kdbus_timestamp)); [ 241s] | ^~~~~~~~~~~~~ [ 241s] test-timeout.c: In function 'kdbus_test_timeout': [ 241s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 241s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 241s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:80:9: note: in expansion of macro 'ASSERT_NONZERO' [ 241s] 80 | ASSERT_NONZERO(conn_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 241s] | ^~~~~~~~~~~~~~ [ 241s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 241s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 241s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:81:9: note: in expansion of macro 'ASSERT_NONZERO' [ 241s] 81 | ASSERT_NONZERO(conn_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 241s] | ^~~~~~~~~~~~~~ [ 241s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 241s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 241s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:92:17: note: in expansion of macro 'ASSERT_ZERO' [ 241s] 92 | ASSERT_ZERO(kdbus_msg_send(conn_b, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, (i + 1) * 100ULL * 1000000ULL, 0, conn_a->id)); [ 241s] | ^~~~~~~~~~~ [ 241s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 241s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 241s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:108:25: note: in expansion of macro 'ASSERT_ZERO' [ 241s] 108 | ASSERT_ZERO(timeout_msg_recv(conn_b, KDBUS_ITEM_REPLY_TIMEOUT, &cookie_reply, NULL, NULL, NULL)); [ 241s] | ^~~~~~~~~~~ [ 241s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 241s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 241s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 241s] | ^~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 241s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 241s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 241s] | ^~~~~~~~~~~~ [ 241s] test-timeout.c:114:9: note: in expansion of macro 'ASSERT_ZERO' [ 241s] 114 | ASSERT_ZERO(expected); [ 241s] | ^~~~~~~~~~~ [ 241s] cc -o kdbus-test kdbus-enum.o kdbus-util.o kdbus-test.o test-activator.o test-benchmark.o test-bus.o test-chat.o test-connection.o test-daemon.o test-endpoint.o test-fd.o test-free.o test-match.o test-message.o test-metadata-ns.o test-monitor.o test-names.o test-policy.o test-policy-ns.o test-policy-priv.o test-sync.o test-timeout.o -pthread -lcap -lm [ 242s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.0/tests/kdbus' [ 242s] + make -C tests/logger [ 242s] make: Entering directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.0/tests/logger' [ 242s] gcc -c logger.c -o logger.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi -std=gnu99 -D_GNU_SOURCE -Wno-error=unused-result [ 242s] logger.c: In function 'main': [ 242s] logger.c:332:33: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 242s] 332 | fprintf(stderr, "mask: %u\n", test_mask); [ 242s] | ~^ ~~~~~~~~~ [ 242s] | | | [ 242s] | | long unsigned int [ 242s] | unsigned int [ 242s] | %lu [ 242s] gcc -o logger-test logger.o -pthread [ 243s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.0/tests/logger' [ 243s] + make -C tests/zlog_stdout [ 243s] make: Entering directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.0/tests/zlog_stdout' [ 243s] gcc -c zlog_stdout.c -o zlog_stdout.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi -std=gnu11 -D_GNU_SOURCE -Wno-error=unused-result [ 243s] gcc -o zlog_stdout zlog_stdout.o -pthread [ 243s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.0/tests/zlog_stdout' [ 243s] + make -C tests/zlog_bitmap [ 243s] make: Entering directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.0/tests/zlog_bitmap' [ 243s] gcc -c zlog_bitmap.c -o zlog_bitmap.o -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I../../include/uapi -std=gnu11 -D_GNU_SOURCE -Wno-error=unused-result [ 243s] zlog_bitmap.c: In function 'main': [ 243s] zlog_bitmap.c:64:32: warning: unused variable 'k' [-Wunused-variable] [ 243s] 64 | int fd, ret = 0, i, j, k, result[2][2]; [ 243s] | ^ [ 243s] gcc -o zlog_bitmap zlog_bitmap.o -pthread [ 243s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.0/tests/zlog_bitmap' [ 243s] + exit 0 [ 243s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FJg6p0 [ 243s] + umask 022 [ 243s] + cd /home/abuild/rpmbuild/BUILD [ 243s] + cd linux-tizen-modules-source-7.5.0 [ 243s] + LANG=C [ 243s] + export LANG [ 243s] + unset DISPLAY [ 243s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64 [ 243s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64 [ 243s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/src/linux-tizen-modules-source/kdbus [ 243s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/src/linux-tizen-modules-source/zlogger [ 243s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64//usr/include/linux [ 243s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64//usr/libexec/linux-tizen-modules-source/tests [ 243s] + cp -a include/ /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/src/linux-tizen-modules-source [ 244s] + cp kernel/dm-bow.c kernel/dm-core.h kernel/dm.h kernel/extcon-usb-fixed.c kernel/inform-reboot.c kernel/logger.c kernel/proc-tsm.c kernel/Makefile COPYING /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/src/linux-tizen-modules-source [ 244s] + cp kernel/kdbus/bus.c kernel/kdbus/bus.h kernel/kdbus/connection.c kernel/kdbus/connection.h kernel/kdbus/domain.c kernel/kdbus/domain.h kernel/kdbus/endpoint.c kernel/kdbus/endpoint.h kernel/kdbus/fs.c kernel/kdbus/fs.h kernel/kdbus/handle.c kernel/kdbus/handle.h kernel/kdbus/item.c kernel/kdbus/item.h kernel/kdbus/limits.h kernel/kdbus/main.c kernel/kdbus/match.c kernel/kdbus/match.h kernel/kdbus/message.c kernel/kdbus/message.h kernel/kdbus/metadata.c kernel/kdbus/metadata.h kernel/kdbus/names.c kernel/kdbus/names.h kernel/kdbus/node.c kernel/kdbus/node.h kernel/kdbus/notify.c kernel/kdbus/notify.h kernel/kdbus/policy.c kernel/kdbus/policy.h kernel/kdbus/pool.c kernel/kdbus/pool.h kernel/kdbus/queue.c kernel/kdbus/queue.h kernel/kdbus/reply.c kernel/kdbus/reply.h kernel/kdbus/util.c kernel/kdbus/util.h kernel/kdbus/Makefile /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/src/linux-tizen-modules-source/kdbus [ 244s] + cp kernel/zlogger/zlogger.c kernel/zlogger/Makefile /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/src/linux-tizen-modules-source/zlogger [ 244s] + cp include/uapi/linux/kdbus.h /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64//usr/include/linux [ 245s] + cp include/uapi/linux/logger.h /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64//usr/include/linux [ 245s] + cp include/uapi/linux/zlogger.h /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64//usr/include/linux [ 245s] + cp tests/logger/logger-test /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64//usr/libexec/linux-tizen-modules-source/tests/logger-test [ 246s] + cp tests/kdbus/kdbus-test /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64//usr/libexec/linux-tizen-modules-source/tests/kdbus-test [ 246s] + cp tests/zlog_stdout/zlog_stdout /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64//usr/libexec/linux-tizen-modules-source/tests/zlog_stdout [ 247s] + cp tests/zlog_bitmap/zlog_bitmap /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64//usr/libexec/linux-tizen-modules-source/tests/zlog_bitmap [ 247s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 7.5.0-0 --unique-debug-src-base linux-tizen-modules-source-7.5.0-0.riscv64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.0 [ 253s] 1+0 records in [ 253s] 1+0 records out [ 253s] 1+0 records in [ 253s] 1+0 records out [ 253s] 1+0 records in [ 253s] 1+0 records out [ 253s] 1+0 records in [ 253s] 1+0 records out [ 254s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/libexec/linux-tizen-modules-source/tests/kdbus-test [ 254s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/libexec/linux-tizen-modules-source/tests/zlog_bitmap [ 254s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/libexec/linux-tizen-modules-source/tests/zlog_stdout [ 254s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/libexec/linux-tizen-modules-source/tests/logger-test [ 255s] 0+0 records in [ 255s] 0+0 records out [ 255s] 0+0 records in [ 255s] 0+0 records out [ 255s] 0+0 records in [ 255s] 0+0 records out [ 255s] 0+0 records in [ 255s] 0+0 records out [ 256s] 675 blocks [ 256s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.0/linux-tizen-modules-source-debuginfo.manifest [ 257s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.0/linux-tizen-modules-source-debugsource.manifest [ 258s] + /usr/lib/rpm/check-buildroot [ 258s] + /usr/lib/rpm//brp-compress [ 258s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 259s] + /usr/lib/rpm/brp-python-hardlink [ 259s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64 [ 260s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.0/isu.list [ 260s] ~/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64 ~/rpmbuild/BUILD/linux-tizen-modules-source-7.5.0 [ 260s] ~/rpmbuild/BUILD/linux-tizen-modules-source-7.5.0 [ 260s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 261s] Processing files: linux-tizen-modules-source-7.5.0-0.riscv64 [ 261s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 261s] ZXF1ZXN0Pgo8L21hbmlmZXN0Pgo= [ 261s] [ 261s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uroN6n [ 261s] + umask 022 [ 261s] + cd /home/abuild/rpmbuild/BUILD [ 261s] + cd linux-tizen-modules-source-7.5.0 [ 261s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/share/licenses/linux-tizen-modules-source [ 261s] + export LC_ALL=C [ 261s] + LC_ALL=C [ 261s] + export LICENSEDIR [ 261s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/share/licenses/linux-tizen-modules-source [ 261s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/share/licenses/linux-tizen-modules-source [ 261s] + exit 0 [ 261s] Provides: linux-tizen-modules-source = 7.5.0-0 linux-tizen-modules-source(riscv-64) = 7.5.0-0 [ 261s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 261s] Processing files: linux-tizen-modules-source-debugsource-7.5.0-0.riscv64 [ 261s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 261s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 261s] [ 261s] Provides: linux-tizen-modules-source-debugsource = 7.5.0-0 linux-tizen-modules-source-debugsource(riscv-64) = 7.5.0-0 [ 261s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 261s] Processing files: linux-tizen-modules-headers-7.5.0-0.riscv64 [ 261s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 261s] ZXF1ZXN0Pgo8L21hbmlmZXN0Pgo= [ 261s] [ 261s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cJi1Ya [ 261s] + umask 022 [ 261s] + cd /home/abuild/rpmbuild/BUILD [ 261s] + cd linux-tizen-modules-source-7.5.0 [ 261s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/share/licenses/linux-tizen-modules-headers [ 261s] + export LC_ALL=C [ 261s] + LC_ALL=C [ 261s] + export LICENSEDIR [ 261s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/share/licenses/linux-tizen-modules-headers [ 261s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/share/licenses/linux-tizen-modules-headers [ 261s] + exit 0 [ 261s] Provides: linux-tizen-modules-headers = 7.5.0-0 linux-tizen-modules-headers(riscv-64) = 7.5.0-0 [ 261s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 261s] Processing files: linux-tizen-modules-tests-7.5.0-0.riscv64 [ 261s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 261s] ZXF1ZXN0Pgo8L21hbmlmZXN0Pgo= [ 261s] [ 261s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.R4kpqr [ 261s] + umask 022 [ 261s] + cd /home/abuild/rpmbuild/BUILD [ 261s] + cd linux-tizen-modules-source-7.5.0 [ 261s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/share/licenses/linux-tizen-modules-tests [ 261s] + export LC_ALL=C [ 261s] + LC_ALL=C [ 261s] + export LICENSEDIR [ 261s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/share/licenses/linux-tizen-modules-tests [ 261s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64/usr/share/licenses/linux-tizen-modules-tests [ 262s] + exit 0 [ 262s] Provides: linux-kernel-kdbus-tests linux-kernel-logger-tests linux-tizen-modules-tests = 7.5.0-0 linux-tizen-modules-tests(riscv-64) = 7.5.0-0 [ 262s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 262s] Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libasan.so.8()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libcap.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) [ 262s] Processing files: linux-tizen-modules-tests-debuginfo-7.5.0-0.riscv64 [ 262s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 262s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 262s] [ 262s] Provides: linux-tizen-modules-tests-debuginfo = 7.5.0-0 linux-tizen-modules-tests-debuginfo(riscv-64) = 7.5.0-0 [ 262s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 262s] Recommends: linux-tizen-modules-source-debugsource(riscv-64) = 7.5.0-0 [ 262s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64 [ 264s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/linux-tizen-modules-source-7.5.0-0.riscv64.rpm [ 265s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/linux-tizen-modules-source-debugsource-7.5.0-0.riscv64.rpm [ 265s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/linux-tizen-modules-headers-7.5.0-0.riscv64.rpm [ 265s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/linux-tizen-modules-tests-7.5.0-0.riscv64.rpm [ 266s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/linux-tizen-modules-tests-debuginfo-7.5.0-0.riscv64.rpm [ 266s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Q4zHwG [ 266s] + umask 022 [ 266s] + cd /home/abuild/rpmbuild/BUILD [ 266s] + cd linux-tizen-modules-source-7.5.0 [ 266s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.0-0.riscv64 [ 266s] + exit 0 [ 266s] ... checking for files with abuild user/group [ 266s] ... creating baselibs [ 271s] [ 271s] ip-192-168-56-183 finished "build linux-tizen-modules-source.spec" at Fri Dec 27 01:36:03 UTC 2024. [ 271s]