[ 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] [ 1s] [ 1s] ip-192-168-56-50 started "build linux-tizen-modules-source.spec" at Mon Feb 10 05:03:04 UTC 2025. [ 1s] [ 1s] [ 1s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_asan_standard/linux-tizen-modules-source-7.5.1-0/linux-tizen-modules-source.spec ... [ 1s] 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.1-0/linux-tizen-modules-source.spec build ... [ 1s] 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... [ 3s] [1/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/asan-build-env-14.2.0-1.12.riscv64.rpm ... [ 3s] [2/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/asan-force-options-14.2.0-1.12.riscv64.rpm ... [ 3s] [3/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/asan-runtime-env-14.2.0-1.12.riscv64.rpm ... [ 4s] [4/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/noarch/autoconf-2.71-1.27.noarch.rpm ... [ 4s] [5/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/noarch/automake-1.16.5-1.27.noarch.rpm ... [ 4s] [6/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/bash-3.2.57-1.2.riscv64.rpm ... [ 4s] [7/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/binutils-2.43-1.26.riscv64.rpm ... [ 4s] [8/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/binutils-libs-2.43-1.26.riscv64.rpm ... [ 5s] [9/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/noarch/build-20120927-1.1.noarch.rpm ... [ 5s] [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.9.noarch.rpm ... [ 5s] [11/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/noarch/build-mkbaselibs-20120927-1.1.noarch.rpm ... [ 5s] [12/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/bzip2-1.0.8-1.27.riscv64.rpm ... [ 5s] [13/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/coreutils-6.9-14.9.riscv64.rpm ... [ 5s] [14/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/cpio-2.8-1.2.riscv64.rpm ... [ 6s] [15/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/cpp-14.2.0-3.6.riscv64.rpm ... [ 6s] [16/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/diffutils-3.10-1.2.riscv64.rpm ... [ 6s] [17/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/elfutils-0.189-1.25.riscv64.rpm ... [ 7s] [18/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/file-5.45-1.25.riscv64.rpm ... [ 7s] [19/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/filesystem-3.1-1.1.riscv64.rpm ... [ 7s] [20/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/findutils-4.3.8-1.27.riscv64.rpm ... [ 7s] [21/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/gawk-3.1.5-1.2.riscv64.rpm ... [ 7s] [22/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/gcc-14.2.0-3.6.riscv64.rpm ... [ 8s] [23/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/gcc-c++-14.2.0-3.6.riscv64.rpm ... [ 8s] [24/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/gdbm-1.8.3-1.27.riscv64.rpm ... [ 9s] [25/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/glibc-2.40-2.6.riscv64.rpm ... [ 9s] [26/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/glibc-devel-2.40-2.6.riscv64.rpm ... [ 9s] [27/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/glibc-locale-2.40-2.6.riscv64.rpm ... [ 9s] [28/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/grep-2.5.2-1.23.riscv64.rpm ... [ 9s] [29/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/gzip-1.13-1.25.riscv64.rpm ... [ 10s] [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-1.1.riscv64.rpm ... [ 10s] [31/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/hostname-3.23-1.2.riscv64.rpm ... [ 10s] [32/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/less-668-1.2.riscv64.rpm ... [ 10s] [33/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libacl-2.3.2-1.25.riscv64.rpm ... [ 10s] [34/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libarchive-3.7.7-1.7.riscv64.rpm ... [ 10s] [35/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libasan-14.2.0-3.6.riscv64.rpm ... [ 11s] [36/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libasm-0.189-1.25.riscv64.rpm ... [ 11s] [37/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libatomic-14.2.0-3.6.riscv64.rpm ... [ 11s] [38/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libattr-2.5.1-1.27.riscv64.rpm ... [ 11s] [39/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libblkid-2.39.3-2.6.riscv64.rpm ... [ 11s] [40/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libbz2-1.0.8-1.27.riscv64.rpm ... [ 11s] [41/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libcap-2.73-1.2.riscv64.rpm ... [ 12s] [42/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libcap-devel-2.73-1.2.riscv64.rpm ... [ 12s] [43/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libcc1-14.2.0-3.6.riscv64.rpm ... [ 12s] [44/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libdw-0.189-1.25.riscv64.rpm ... [ 12s] [45/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libelf-0.189-1.25.riscv64.rpm ... [ 12s] [46/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libfdisk-2.39.3-2.6.riscv64.rpm ... [ 12s] [47/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libfreebl3-3.98-1.24.riscv64.rpm ... [ 13s] [48/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libgcc-14.2.0-3.6.riscv64.rpm ... [ 13s] [49/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libgfortran-14.2.0-3.6.riscv64.rpm ... [ 13s] [50/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libgomp-14.2.0-3.6.riscv64.rpm ... [ 13s] [51/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libitm-14.2.0-3.6.riscv64.rpm ... [ 13s] [52/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libltdl-2.4.7-1.27.riscv64.rpm ... [ 13s] [53/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/liblua-5.1.5-1.25.riscv64.rpm ... [ 13s] [54/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/liblzma-5.6.3-1.20.riscv64.rpm ... [ 14s] [55/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libmagic-5.45-1.25.riscv64.rpm ... [ 14s] [56/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libmagic-data-5.45-1.25.riscv64.rpm ... [ 14s] [57/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libmount-2.39.3-2.6.riscv64.rpm ... [ 14s] [58/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libncurses-6.4-1.27.riscv64.rpm ... [ 14s] [59/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libncurses6-6.4-1.27.riscv64.rpm ... [ 14s] [60/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libopenssl11-1.1.1w-1.27.riscv64.rpm ... [ 15s] [61/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libpcre-8.45-1.26.riscv64.rpm ... [ 15s] [62/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libpopt-1.16-1.24.riscv64.rpm ... [ 15s] [63/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libreadline-5.2-1.27.riscv64.rpm ... [ 15s] [64/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libsmack-1.3.1-1.24.riscv64.rpm ... [ 15s] [65/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libsmartcols-2.39.3-2.6.riscv64.rpm ... [ 15s] [66/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libsoftokn3-3.98-1.24.riscv64.rpm ... [ 16s] [67/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libsqlite-3.48.0-1.27.riscv64.rpm ... [ 16s] [68/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libstdc++-14.2.0-3.6.riscv64.rpm ... [ 16s] [69/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libstdc++-devel-14.2.0-3.6.riscv64.rpm ... [ 16s] [70/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libtool-2.4.7-1.27.riscv64.rpm ... [ 16s] [71/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libubsan-14.2.0-3.6.riscv64.rpm ... [ 16s] [72/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libuuid-2.39.3-2.6.riscv64.rpm ... [ 17s] [73/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libxcrypt-4.4.36-1.25.riscv64.rpm ... [ 17s] [74/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libxcrypt-devel-4.4.36-1.25.riscv64.rpm ... [ 17s] [75/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libxml2-2.13.5-1.2.riscv64.rpm ... [ 17s] [76/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/libzstd1-1.5.6-1.19.riscv64.rpm ... [ 17s] [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.27.riscv64.rpm ... [ 18s] [78/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/m4-1.4.19-1.2.riscv64.rpm ... [ 18s] [79/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/make-4.4.1-1.8.riscv64.rpm ... [ 18s] [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.23.riscv64.rpm ... [ 18s] [81/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/nspr-4.35-1.24.riscv64.rpm ... [ 18s] [82/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/nss-3.98-1.24.riscv64.rpm ... [ 18s] [83/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/nss-certs-3.98-1.24.riscv64.rpm ... [ 19s] [84/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/pam-1.1.6-1.23.riscv64.rpm ... [ 19s] [85/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/patch-2.7.6-1.24.riscv64.rpm ... [ 19s] [86/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/perl-5.38.0-1.20.riscv64.rpm ... [ 20s] [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.26.riscv64.rpm ... [ 20s] [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-1.8.riscv64.rpm ... [ 29s] [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-9.2.0-3.5.riscv64.rpm ... [ 30s] [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.24.riscv64.rpm ... [ 30s] [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.24.riscv64.rpm ... [ 30s] [92/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/sed-4.1c-1.25.riscv64.rpm ... [ 30s] [93/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/setup-0.9-1.7.riscv64.rpm ... [ 30s] [94/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/smack-1.3.1-1.24.riscv64.rpm ... [ 31s] [95/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/tar-1.17-1.2.riscv64.rpm ... [ 31s] [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.27.riscv64.rpm ... [ 31s] [97/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/tzdata-2024b-1.1.riscv64.rpm ... [ 31s] [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.2.riscv64.rpm ... [ 31s] [99/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/util-linux-2.39.3-2.6.riscv64.rpm ... [ 32s] [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-2.6.riscv64.rpm ... [ 32s] [101/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/which-2.17-1.2.riscv64.rpm ... [ 32s] [102/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/xz-5.6.3-1.20.riscv64.rpm ... [ 32s] [103/103] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/riscv64/zlib-1.3.1-2.6.riscv64.rpm ... [ 32s] [ 33s] cycle: nss -> libsoftokn3 [ 33s] breaking dependency nss -> libsoftokn3 [ 33s] [1/47] preinstalling libmagic-data... [ 33s] [2/47] preinstalling libncurses... [ 33s] [3/47] preinstalling setup... [ 33s] [4/47] preinstalling filesystem... [ 33s] [5/47] preinstalling glibc... [ 33s] [6/47] preinstalling libgcc... [ 33s] [7/47] preinstalling libstdc++... [ 33s] [8/47] preinstalling libasan... [ 33s] [9/47] preinstalling findutils... [ 33s] [10/47] preinstalling grep... [ 33s] [11/47] preinstalling libattr... [ 33s] [12/47] preinstalling libbz2... [ 33s] [13/47] preinstalling libcap... [ 33s] [14/47] preinstalling liblua... [ 33s] [15/47] preinstalling libpopt... [ 33s] [16/47] preinstalling libsmack... [ 33s] [17/47] preinstalling libuuid... [ 33s] [18/47] preinstalling libxcrypt... [ 33s] [19/47] preinstalling nspr... [ 33s] [20/47] preinstalling sed... [ 33s] [21/47] preinstalling zlib... [ 33s] [22/47] preinstalling bash... [ 34s] [23/47] preinstalling diffutils... [ 34s] [24/47] preinstalling libblkid... [ 34s] [25/47] preinstalling libfreebl3... [ 34s] [26/47] preinstalling liblzma... [ 34s] [27/47] preinstalling libreadline... [ 34s] [28/47] preinstalling libsqlite... [ 34s] [29/47] preinstalling libxml2... [ 34s] [30/47] preinstalling libzstd1... [ 34s] [31/47] preinstalling qemu-accel-x86_64-riscv64... [ 78s] [32/47] preinstalling qemu-linux-user-x86_64-cross... [ 80s] [33/47] preinstalling asan-build-env... [ 80s] [34/47] preinstalling libacl... [ 80s] [35/47] preinstalling libelf... [ 81s] [36/47] preinstalling smack... [ 81s] [37/47] preinstalling bzip2... [ 81s] [38/47] preinstalling coreutils... [ 82s] [39/47] preinstalling libmagic... [ 82s] [40/47] preinstalling libmount... [ 82s] [41/47] preinstalling tar... [ 82s] [42/47] preinstalling util-linux... [ 83s] [43/47] preinstalling util-linux-su... [ 83s] [44/47] preinstalling nss... [ 83s] [45/47] preinstalling libsoftokn3... [ 83s] [46/47] preinstalling rpm... [ 84s] [47/47] preinstalling asan-force-options... [ 84s] [ 85s] running qemu-linux-user-x86_64-cross postinstall script [ 85s] running qemu-accel-x86_64-riscv64 postinstall script [ 86s] mv: cannot stat `/usr/lib64/gcc/riscv64-tizen-linux-gnu/14.2.0/liblto_plugin.so': No such file or directory [ 86s] running setup postinstall script [ 86s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 86s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 86s] running asan-build-env postinstall script [ 86s] running asan-force-options postinstall script [ 89s] initializing rpm db... [ 90s] reordering...cycle: bash -> glibc -> filesystem -> setup -> asan-runtime-env [ 90s] breaking dependency bash -> glibc [ 90s] cycle: bash -> libasan -> glibc -> filesystem -> setup -> asan-runtime-env [ 90s] breaking dependency libasan -> glibc [ 90s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 90s] breaking dependency asan-runtime-env -> bash [ 90s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 90s] breaking dependency coreutils -> bash [ 90s] cycle: glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 90s] breaking dependency coreutils -> glibc [ 90s] cycle: libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 90s] breaking dependency libasan -> libgcc [ 90s] cycle: libasan -> libstdc++ -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 90s] breaking dependency libstdc++ -> glibc [ 90s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 90s] breaking dependency coreutils -> libasan [ 90s] cycle: libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 90s] breaking dependency asan-runtime-env -> coreutils [ 90s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 90s] breaking dependency setup -> asan-runtime-env [ 90s] cycle: glibc-devel -> libxcrypt-devel [ 90s] breaking dependency libxcrypt-devel -> glibc-devel [ 90s] cycle: nss -> libsoftokn3 [ 90s] breaking dependency nss -> libsoftokn3 [ 90s] reordering done [ 90s] [1/103] installing libmagic-data-5.45-1.25 [ 92s] [2/103] installing setup-0.9-1.7 [ 92s] [3/103] installing filesystem-3.1-1.1 [ 93s] [4/103] installing glibc-2.40-2.6 [ 94s] [5/103] installing libatomic-14.2.0-3.6 [ 95s] [6/103] installing libgcc-14.2.0-3.6 [ 96s] [7/103] installing libgomp-14.2.0-3.6 [ 96s] [8/103] installing libitm-14.2.0-3.6 [ 97s] [9/103] installing libgfortran-14.2.0-3.6 [ 98s] [10/103] installing libstdc++-14.2.0-3.6 [ 99s] [11/103] installing coreutils-6.9-14.9 [ 101s] [12/103] installing libstdc++-devel-14.2.0-3.6 [ 103s] [13/103] installing linux-glibc-devel-6.6-1.27 [ 106s] [14/103] installing libasan-14.2.0-3.6 [ 107s] [15/103] installing libcc1-14.2.0-3.6 [ 107s] [16/103] installing libubsan-14.2.0-3.6 [ 107s] [17/103] installing cpio-2.8-1.2 [ 108s] [18/103] installing findutils-4.3.8-1.27 [ 108s] [19/103] installing gdbm-1.8.3-1.27 [ 108s] [20/103] installing hostname-3.23-1.2 [ 108s] [21/103] installing libattr-2.5.1-1.27 [ 109s] [22/103] installing libbz2-1.0.8-1.27 [ 110s] [23/103] installing libcap-2.73-1.2 [ 110s] [24/103] installing libltdl-2.4.7-1.27 [ 111s] [25/103] installing liblua-5.1.5-1.25 [ 111s] [26/103] installing libpopt-1.16-1.24 [ 112s] [27/103] installing libsmack-1.3.1-1.24 [ 112s] [28/103] installing libsmartcols-2.39.3-2.6 [ 113s] [29/103] installing libuuid-2.39.3-2.6 [ 113s] [30/103] installing libxcrypt-4.4.36-1.25 [ 113s] [31/103] installing m4-1.4.19-1.2 [ 114s] [32/103] installing net-tools-2.0_20121208git-1.23 [ 114s] [33/103] installing nspr-4.35-1.24 [ 114s] [34/103] installing patch-2.7.6-1.24 [ 115s] [35/103] installing sed-4.1c-1.25 [ 115s] [36/103] installing which-2.17-1.2 [ 115s] [37/103] installing zlib-1.3.1-2.6 [ 116s] [38/103] installing asan-runtime-env-14.2.0-1.12 [ 116s] [39/103] installing bash-3.2.57-1.2 [ 116s] [40/103] installing diffutils-3.10-1.2 [ 117s] [41/103] installing libblkid-2.39.3-2.6 [ 118s] [42/103] installing libfreebl3-3.98-1.24 [ 118s] [43/103] installing liblzma-5.6.3-1.20 [ 119s] [44/103] installing libopenssl11-1.1.1w-1.27 [ 119s] [45/103] installing libpcre-8.45-1.26 [ 120s] [46/103] installing libsqlite-3.48.0-1.27 [ 121s] [47/103] installing libxml2-2.13.5-1.2 [ 123s] [48/103] installing libzstd1-1.5.6-1.19 [ 124s] [49/103] installing pkg-config-0.29.2-1.26 [ 124s] [50/103] installing update-alternatives-1.22.2-1.2 [ 125s] [51/103] installing build-compare-2023.06.18-1.9 [ 125s] [52/103] installing hal-rootstrap-checker-0.1.0-1.1 [ 125s] [53/103] installing qemu-linux-user-x86_64-cross-9.2.0-3.5 [ 129s] [54/103] installing asan-build-env-14.2.0-1.12 [ 129s] libasan.so is already preloaded [ 130s] [55/103] installing cpp-14.2.0-3.6 [ 132s] [56/103] installing gcc-c++-14.2.0-3.6 [ 136s] [57/103] installing terminfo-base-full-6.4-1.27 [ 137s] [58/103] installing gawk-3.1.5-1.2 [ 137s] [59/103] installing glibc-locale-2.40-2.6 [ 139s] [60/103] installing grep-2.5.2-1.23 [ 139s] [61/103] installing libacl-2.3.2-1.25 [ 140s] [62/103] installing libelf-0.189-1.25 [ 141s] [63/103] installing libxcrypt-devel-4.4.36-1.25 [ 141s] [64/103] installing make-4.4.1-1.8 [ 142s] [65/103] installing nss-certs-3.98-1.24 [ 142s] [66/103] installing smack-1.3.1-1.24 [ 142s] [67/103] installing binutils-libs-2.43-1.26 [ 144s] [68/103] installing bzip2-1.0.8-1.27 [ 144s] [69/103] installing gzip-1.13-1.25 [ 144s] [70/103] installing libmagic-5.45-1.25 [ 145s] [71/103] installing libmount-2.39.3-2.6 [ 145s] [72/103] installing xz-5.6.3-1.20 [ 146s] [73/103] installing libfdisk-2.39.3-2.6 [ 146s] [74/103] installing tzdata-2024b-1.1 [ 147s] [75/103] installing pam-1.1.6-1.23 [ 148s] [76/103] installing perl-5.38.0-1.20 [ 170s] [77/103] installing gcc-14.2.0-3.6 [ 181s] [78/103] installing build-mkbaselibs-20120927-1.1 [ 182s] [79/103] installing qemu-accel-x86_64-riscv64-0.4-1.8 [ 256s] [80/103] installing autoconf-2.71-1.27 [ 257s] [81/103] installing file-5.45-1.25 [ 257s] [82/103] installing glibc-devel-2.40-2.6 [ 259s] [83/103] installing binutils-2.43-1.26 [ 261s] [84/103] installing tar-1.17-1.2 [ 261s] [85/103] installing libncurses6-6.4-1.27 [ 262s] [86/103] installing libdw-0.189-1.25 [ 263s] [87/103] installing nss-3.98-1.24 [ 265s] [88/103] installing libarchive-3.7.7-1.7 [ 266s] [89/103] installing libncurses-6.4-1.27 [ 266s] [90/103] installing automake-1.16.5-1.27 [ 267s] [91/103] installing libcap-devel-2.73-1.2 [ 267s] [92/103] installing less-668-1.2 [ 268s] [93/103] installing libasm-0.189-1.25 [ 268s] [94/103] installing libreadline-5.2-1.27 [ 268s] [95/103] installing build-20120927-1.1 [ 269s] [96/103] installing libsoftokn3-3.98-1.24 [ 269s] [97/103] installing rpm-4.14.1.1-1.24 [ 272s] [98/103] installing asan-force-options-14.2.0-1.12 [ 278s] [99/103] installing libtool-2.4.7-1.27 [ 278s] [100/103] installing elfutils-0.189-1.25 [ 279s] [101/103] installing util-linux-2.39.3-2.6 [ 279s] [102/103] installing rpm-build-4.14.1.1-1.24 [ 280s] [103/103] installing util-linux-su-2.39.3-2.6 [ 280s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.2/etc/nsswitch.conf... [ 280s] now finalizing build dir... [ 282s] ----------------------------------------------------------------- [ 282s] ----- building linux-tizen-modules-source.spec (user abuild) [ 282s] ----------------------------------------------------------------- [ 282s] ----------------------------------------------------------------- [ 283s] + 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 [ 283s] Building target platforms: riscv64-tizen-linux [ 283s] Building for target riscv64-tizen-linux [ 283s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EnFeZz [ 283s] + umask 022 [ 283s] + cd /home/abuild/rpmbuild/BUILD [ 283s] + cd /home/abuild/rpmbuild/BUILD [ 283s] + rm -rf linux-tizen-modules-source-7.5.1 [ 283s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/linux-tizen-modules-source-7.5.1.tar.xz [ 283s] + /bin/tar -xof - [ 283s] + STATUS=0 [ 283s] + '[' 0 -ne 0 ']' [ 283s] + cd linux-tizen-modules-source-7.5.1 [ 283s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 283s] + cp /home/abuild/rpmbuild/SOURCES/linux-tizen-modules-source.manifest . [ 283s] + exit 0 [ 283s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ghatp9 [ 283s] + umask 022 [ 283s] + cd /home/abuild/rpmbuild/BUILD [ 283s] + cd linux-tizen-modules-source-7.5.1 [ 283s] + ref=/usr/lib/rpm [ 283s] + mints=0 [ 283s] + case $(uname -m) in [ 283s] ++ uname -m [ 283s] + mints=20160911 [ 283s] + for s in guess sub [ 283s] ++ find -maxdepth 8 -name config.guess [ 283s] + for s in guess sub [ 283s] ++ find -maxdepth 8 -name config.sub [ 283s] + LANG=C [ 283s] + export LANG [ 283s] + unset DISPLAY [ 283s] + 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' [ 283s] + export CFLAGS [ 283s] + 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' [ 283s] + export CXXFLAGS [ 283s] + 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' [ 283s] + export FFLAGS [ 283s] + LDFLAGS= [ 283s] + export LDFLAGS [ 283s] + make -C tests/kdbus [ 283s] make: Entering directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/tests/kdbus' [ 283s] 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 [ 284s] 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 [ 284s] In file included from kdbus-util.c:46: [ 284s] kdbus-util.c: In function 'kdbus_conn_info': [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:418:17: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 418 | ASSERT_ZERO(kdbus_info_verify(info, flags)); [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-util.c: In function 'kdbus_info_verify': [ 284s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 284s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1044:9: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1044 | ASSERT_RETURN(item->size,>=,2*sizeof(uint64_t));\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1103:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 284s] 1103 | VERIFY_DECL_INLOOP; [ 284s] | ^~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1044:9: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1044 | ASSERT_RETURN(item->size,>=,2*sizeof(uint64_t));\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1103:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 284s] 1103 | VERIFY_DECL_INLOOP; [ 284s] | ^~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1045:9: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1045 | ASSERT_RETURN((unsigned)item->size,==,item->size);\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1103:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 284s] 1103 | VERIFY_DECL_INLOOP; [ 284s] | ^~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 284s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1045:9: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1045 | ASSERT_RETURN((unsigned)item->size,==,item->size);\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1103:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 284s] 1103 | VERIFY_DECL_INLOOP; [ 284s] | ^~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1050:17: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1050 | ASSERT_RETURN(size,==,sizeof(struct kdbus_creds));\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 284s] 1105 | VERIFY_META_CASES; [ 284s] | ^~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1053:17: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1053 | ASSERT_RETURN(size,==,sizeof(struct kdbus_pids));\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 284s] 1105 | VERIFY_META_CASES; [ 284s] | ^~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1056:17: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1056 | ASSERT_RETURN(size,==,sizeof(struct kdbus_audit));\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 284s] 1105 | VERIFY_META_CASES; [ 284s] | ^~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1060:17: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1060 | ASSERT_ZERO(size%sizeof(uint32_t));\ [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 284s] 1105 | VERIFY_META_CASES; [ 284s] | ^~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1063:17: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1063 | ASSERT_ZERO(verify_string(size-offsetof(typeof(item->name), name), item->name.name));\ [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 284s] 1105 | VERIFY_META_CASES; [ 284s] | ^~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1071:17: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1071 | ASSERT_ZERO(verify_string(size, item->str));\ [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 284s] 1105 | VERIFY_META_CASES; [ 284s] | ^~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1074:17: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1074 | ASSERT_ZERO(verify_string_array(size, item->str));\ [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 284s] 1105 | VERIFY_META_CASES; [ 284s] | ^~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 284s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1106:34: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1106 | default: ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1106:34: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1106 | default: ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 284s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1106:34: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1106 | default: ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 284s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1077:9: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1077 | ASSERT_RETURN(item->type,>=,(uint64_t)_KDBUS_ITEM_ATTACH_BASE);\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1108:17: note: in expansion of macro 'VERIFY_META' [ 284s] 1108 | VERIFY_META; [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1077:9: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1077 | ASSERT_RETURN(item->type,>=,(uint64_t)_KDBUS_ITEM_ATTACH_BASE);\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1108:17: note: in expansion of macro 'VERIFY_META' [ 284s] 1108 | VERIFY_META; [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1079:9: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1079 | ASSERT_RETURN(idx,<,sizeof(item_count)/sizeof(*item_count));\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1108:17: note: in expansion of macro 'VERIFY_META' [ 284s] 1108 | VERIFY_META; [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1080:9: note: in expansion of macro 'ASSERT_NONZERO' [ 284s] 1080 | ASSERT_NONZERO(attach_flags & 1<attach_flags_recv)); [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-util.c: In function 'kdbus_msg_verify': [ 284s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 284s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1123:17: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1123 | ASSERT_RETURN(msg->payload_type,==,KDBUS_PAYLOAD_DBUS); [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1123:17: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1123 | ASSERT_RETURN(msg->payload_type,==,KDBUS_PAYLOAD_DBUS); [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 284s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1044:9: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1044 | ASSERT_RETURN(item->size,>=,2*sizeof(uint64_t));\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1128:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 284s] 1128 | VERIFY_DECL_INLOOP; [ 284s] | ^~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1044:9: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1044 | ASSERT_RETURN(item->size,>=,2*sizeof(uint64_t));\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1128:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 284s] 1128 | VERIFY_DECL_INLOOP; [ 284s] | ^~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1045:9: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1045 | ASSERT_RETURN((unsigned)item->size,==,item->size);\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1128:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 284s] 1128 | VERIFY_DECL_INLOOP; [ 284s] | ^~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 284s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1045:9: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1045 | ASSERT_RETURN((unsigned)item->size,==,item->size);\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1128:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 284s] 1128 | VERIFY_DECL_INLOOP; [ 284s] | ^~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1132:33: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1132 | ASSERT_RETURN(size,==,sizeof(struct kdbus_timestamp)); [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1050:17: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1050 | ASSERT_RETURN(size,==,sizeof(struct kdbus_creds));\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 284s] 1134 | VERIFY_META_CASES; [ 284s] | ^~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1053:17: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1053 | ASSERT_RETURN(size,==,sizeof(struct kdbus_pids));\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 284s] 1134 | VERIFY_META_CASES; [ 284s] | ^~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1056:17: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1056 | ASSERT_RETURN(size,==,sizeof(struct kdbus_audit));\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 284s] 1134 | VERIFY_META_CASES; [ 284s] | ^~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1060:17: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1060 | ASSERT_ZERO(size%sizeof(uint32_t));\ [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 284s] 1134 | VERIFY_META_CASES; [ 284s] | ^~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1063:17: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1063 | ASSERT_ZERO(verify_string(size-offsetof(typeof(item->name), name), item->name.name));\ [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 284s] 1134 | VERIFY_META_CASES; [ 284s] | ^~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1071:17: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1071 | ASSERT_ZERO(verify_string(size, item->str));\ [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 284s] 1134 | VERIFY_META_CASES; [ 284s] | ^~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1074:17: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1074 | ASSERT_ZERO(verify_string_array(size, item->str));\ [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 284s] 1134 | VERIFY_META_CASES; [ 284s] | ^~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1138:33: note: in expansion of macro 'ASSERT_NONZERO' [ 284s] 1138 | ASSERT_NONZERO(user); [ 284s] | ^~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1139:33: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1139 | ASSERT_RETURN(size,==,sizeof(struct kdbus_vec)); [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1142:33: note: in expansion of macro 'ASSERT_NONZERO' [ 284s] 1142 | ASSERT_NONZERO(user); [ 284s] | ^~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1143:33: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1143 | ASSERT_RETURN(size,==,sizeof(struct kdbus_memfd)); [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1146:33: note: in expansion of macro 'ASSERT_NONZERO' [ 284s] 1146 | ASSERT_NONZERO(user); [ 284s] | ^~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1147:33: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1147 | ASSERT_ZERO(size%sizeof(int)); [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1150:33: note: in expansion of macro 'ASSERT_NONZERO' [ 284s] 1150 | ASSERT_NONZERO(user); [ 284s] | ^~~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1151:33: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1151 | ASSERT_ZERO(verify_string(size, item->str)); [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1158:33: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1158 | ASSERT_ZERO(user); [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1159:33: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1159 | ASSERT_RETURN(size,>=,sizeof(struct kdbus_notify_name_change)); [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1160:33: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1160 | ASSERT_ZERO(verify_string(size-sizeof(struct kdbus_notify_name_change), item->name_change.name)); [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1164:33: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1164 | ASSERT_ZERO(user); [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1165:33: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1165 | ASSERT_RETURN(size,==,sizeof(struct kdbus_notify_id_change)); [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1169:33: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1169 | ASSERT_ZERO(user); [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1170:33: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1170 | ASSERT_ZERO(size); [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 284s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1178:33: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1178 | ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1178:33: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1178 | ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 284s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1178:33: note: in expansion of macro 'ASSERT_ZERO' [ 284s] 1178 | ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1181:25: note: in expansion of macro 'ASSERT_NONZERO' [ 284s] 1181 | ASSERT_NONZERO(user); [ 284s] | ^~~~~~~~~~~~~~ [ 284s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 284s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1077:9: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1077 | ASSERT_RETURN(item->type,>=,(uint64_t)_KDBUS_ITEM_ATTACH_BASE);\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1182:17: note: in expansion of macro 'VERIFY_META' [ 284s] 1182 | VERIFY_META; [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1077:9: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1077 | ASSERT_RETURN(item->type,>=,(uint64_t)_KDBUS_ITEM_ATTACH_BASE);\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1182:17: note: in expansion of macro 'VERIFY_META' [ 284s] 1182 | VERIFY_META; [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 284s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1079:9: note: in expansion of macro 'ASSERT_RETURN' [ 284s] 1079 | ASSERT_RETURN(idx,<,sizeof(item_count)/sizeof(*item_count));\ [ 284s] | ^~~~~~~~~~~~~ [ 284s] kdbus-util.c:1182:17: note: in expansion of macro 'VERIFY_META' [ 284s] 1182 | VERIFY_META; [ 284s] | ^~~~~~~~~~~ [ 284s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 284s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 284s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 284s] | ^~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 284s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 284s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 284s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 284s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 284s] | ^~~~~~~~~~~~ [ 284s] kdbus-util.c:1080:9: note: in expansion of macro 'ASSERT_NONZERO' [ 284s] 1080 | ASSERT_NONZERO(attach_flags & 1<control_fd,>=,0); [ 288s] | ^~~~~~~~~~~~~ [ 288s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 288s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 288s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 288s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 288s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 288s] | ^~~~~~~~~~~~~~~~~~~~ [ 288s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 288s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 288s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 288s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 288s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 288s] | ^~~~~~~~~~~~ [ 288s] kdbus-test.c:400:25: note: in expansion of macro 'ASSERT_NONZERO' [ 288s] 400 | ASSERT_NONZERO(n = unique_name("test-bus")); [ 288s] | ^~~~~~~~~~~~~~ [ 288s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 288s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 288s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 288s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 288s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 288s] | ^~~~~~~~~~~~~~~~~~~~ [ 288s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 288s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 288s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 288s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 288s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 288s] | ^~~~~~~~~~~~ [ 288s] kdbus-test.c:406:17: note: in expansion of macro 'ASSERT_ZERO' [ 288s] 406 | ASSERT_ZERO(ret); [ 288s] | ^~~~~~~~~~~ [ 288s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 288s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 288s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 288s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 288s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 288s] | ^~~~~~~~~~~~~~~~~~~~ [ 288s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 288s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 288s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 288s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 288s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 288s] | ^~~~~~~~~~~~ [ 288s] kdbus-test.c:414:17: note: in expansion of macro 'ASSERT_NONZERO' [ 288s] 414 | ASSERT_NONZERO(env->conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 288s] | ^~~~~~~~~~~~~~ [ 288s] kdbus-test.c: In function 'run_tests_in_namespaces': [ 288s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 288s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 288s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 288s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 288s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 288s] | ^~~~~~~~~~~~~~~~~~~~ [ 288s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 288s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 288s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 288s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 288s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 288s] | ^~~~~~~~~~~~ [ 288s] kdbus-test.c:866:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 288s] 866 | ASSERT_RETURN_VAL(rpid,==,pid, TEST_ERR); [ 288s] | ^~~~~~~~~~~~~~~~~ [ 288s] 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 [ 289s] In file included from test-activator.c:17: [ 289s] test-activator.c: In function 'kdbus_test_activator': [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:249:9: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 249 | ASSERT_NONZERO(activator); [ 289s] | ^~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:251:9: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 251 | ASSERT_ZERO(kdbus_add_match_empty(env->conn)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:253:9: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 253 | ASSERT_ZERO(kdbus_list(env->conn, KDBUS_LIST_NAMES | KDBUS_LIST_UNIQUE | KDBUS_LIST_ACTIVATORS | KDBUS_LIST_QUEUED)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:255:9: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 255 | ASSERT_ZERO(kdbus_msg_send(env->conn, "foo.test.activator", 0xdeafbeef, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:271:17: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 271 | ASSERT_RETURN(ret,>=,0); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:273:17: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 273 | ASSERT_ZERO(kdbus_list(env->conn, KDBUS_LIST_NAMES)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:280:25: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 280 | ASSERT_ZERO(kdbus_name_acquire(env->conn, "foo.test.activator", &flags)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:286:25: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 286 | ASSERT_ZERO(kdbus_msg_recv(env->conn, NULL, NULL)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:297:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 297 | ASSERT_RETURN(ret,>=,0); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:302:9: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 302 | ASSERT_ZERO(kdbus_priv_activator(env)); [ 289s] | ^~~~~~~~~~~ [ 289s] test-activator.c: In function 'kdbus_priv_activator': [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:71:9: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 71 | ASSERT_NONZERO(activator); [ 289s] | ^~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:74:9: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 74 | ASSERT_NONZERO(service); [ 289s] | ^~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:77:9: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 77 | ASSERT_NONZERO(client); [ 289s] | ^~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 289s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 289s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 289s] | ^~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 289s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 289s] | ^~~~~~~~~~~~~~ [ 289s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 289s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 289s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 289s] | ^~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 289s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 289s] | ^~~~~~~~~~~~~~ [ 289s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 289s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:94:17: note: in expansion of macro 'ASSERT_EXIT' [ 289s] 94 | ASSERT_EXIT(ret_##shadow_counter,==,-ENXIO); \ [ 289s] | ^~~~~~~~~~~ [ 289s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 289s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 289s] | ^~~~~~~~~~~~~~ [ 289s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 289s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:100:17: note: in expansion of macro 'ASSERT_EXIT' [ 289s] 100 | ASSERT_EXIT(ret_##shadow_counter,==,ONTIZEN(0,-EPERM)); \ [ 289s] | ^~~~~~~~~~~ [ 289s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 289s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 289s] | ^~~~~~~~~~~~~~ [ 289s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 289s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 289s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 289s] | ^~~~~~~~~~~~~~ [ 289s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 289s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 289s] | ^~~~~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 289s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 289s] | ^~~~~~~~~~~~~~ [ 289s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 289s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 289s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 289s] | ^~~~~~~~~~~~~~ [ 289s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 289s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 289s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 289s] | ^~~~~~~~~~~~~~ [ 289s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 289s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:117:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 117 | ASSERT_RETURN(ONTIZEN(0,-ETIMEDOUT),==,kdbus_starter_poll(activator)); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:125:9: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 125 | ASSERT_ZERO(kdbus_msg_send(service, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:127:9: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 127 | ASSERT_ZERO(kdbus_starter_poll(activator)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 289s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 289s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 289s] | ^~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 289s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 289s] | ^~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:133:17: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 133 | ASSERT_RETURN(ONTIZEN(0,-EPERM),==,kdbus_name_acquire(unpriv, "foo.priv.activator", &flags)); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 289s] | ^~~~~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:137:9: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 137 | ASSERT_ZERO(kdbus_name_acquire(service, "foo.priv.activator", &flags)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:140:9: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 140 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:141:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 141 | ASSERT_RETURN(msg->cookie,==,cookie-1); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:141:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 141 | ASSERT_RETURN(msg->cookie,==,cookie-1); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:145:9: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 145 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:146:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 146 | ASSERT_RETURN(msg->cookie,==,cookie); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:146:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 146 | ASSERT_RETURN(msg->cookie,==,cookie); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 289s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 289s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 289s] | ^~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 289s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 289s] | ^~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:154:17: note: in expansion of macro 'ASSERT_EXIT' [ 289s] 154 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 289s] | ^~~~~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:157:9: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 157 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:158:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 158 | ASSERT_RETURN(msg->cookie,==,cookie); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:158:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 158 | ASSERT_RETURN(msg->cookie,==,cookie); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:164:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 164 | ASSERT_RETURN(-ETIMEDOUT,==,kdbus_msg_recv_poll(service, 100, NULL, NULL)); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:169:9: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 169 | ASSERT_ZERO(kdbus_msg_send(client, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:170:9: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 170 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:171:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 171 | ASSERT_RETURN(msg->cookie,==,cookie); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:171:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 171 | ASSERT_RETURN(msg->cookie,==,cookie); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 289s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 289s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 289s] | ^~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 289s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 289s] | ^~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:181:17: note: in expansion of macro 'ASSERT_EXIT' [ 289s] 181 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 289s] | ^~~~~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:184:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 184 | ASSERT_RETURN(ONTIZEN(0,-ETIMEDOUT),==,kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:186:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 186 | ASSERT_RETURN(msg->cookie,==,cookie); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:186:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 186 | ASSERT_RETURN(msg->cookie,==,cookie); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:192:9: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 192 | ASSERT_ZERO(kdbus_msg_send(client, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:193:9: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 193 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 194 | ASSERT_RETURN(msg->cookie,==,cookie); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 194 | ASSERT_RETURN(msg->cookie,==,cookie); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:208:9: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 208 | ASSERT_NONZERO(holder); [ 289s] | ^~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 289s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 289s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 289s] | ^~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 289s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 289s] | ^~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:215:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 289s] 215 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 289s] | ^~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 289s] | ^~~~~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:218:9: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 218 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, NULL, NULL)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 289s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 289s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 289s] | ^~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 289s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 289s] | ^~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 289s] | ^~~~~~~~~~~~ [ 289s] test-activator.c:222:17: note: in expansion of macro 'ASSERT_EXIT' [ 289s] 222 | ASSERT_EXIT(ONTIZEN(-EEXIST,-EPERM),==,kdbus_name_acquire(unpriv, "foo.priv.activator", &flags)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 289s] | ^~~~~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 289s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 289s] | ^~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 289s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 289s] | ^~~~~~~~~~ [ 289s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 289s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 289s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 289s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 289s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~ [ 291s] 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 [ 291s] In file included from kdbus-api.h:5, [ 291s] from test-benchmark.c:20: [ 291s] test-benchmark.c: In function 'benchmark_bandwidth': [ 291s] 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=] [ 291s] 535 | kdbus_printf("%llu kB/s\n", kilobytes_received / PERIOD_S); [ 291s] | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] | | [ 291s] | uint64_t {aka long unsigned int} [ 291s] kdbus-util.h:33:38: note: in definition of macro 'print' [ 291s] 33 | #define print(...) fprintf(stderr, ##__VA_ARGS__) [ 291s] | ^~~~~~~~~~~ [ 291s] test-benchmark.c:535:17: note: in expansion of macro 'kdbus_printf' [ 291s] 535 | kdbus_printf("%llu kB/s\n", kilobytes_received / PERIOD_S); [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:535:34: note: format string is defined here [ 291s] 535 | kdbus_printf("%llu kB/s\n", kilobytes_received / PERIOD_S); [ 291s] | ~~~^ [ 291s] | | [ 291s] | long long unsigned int [ 291s] | %lu [ 291s] In file included from test-benchmark.c:21: [ 291s] test-benchmark.c: In function 'handle_echo_reply': [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 291s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:222:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 291s] 222 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 291s] | ^~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 291s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:238:25: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 291s] 238 | ASSERT_RETURN_VAL(buf,!=,MAP_FAILED, -EINVAL); [ 291s] | ^~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 291s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 291s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:239:25: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 291s] 239 | ASSERT_RETURN_VAL(item->memfd.size,==,sizeof(uint64_t), -EINVAL); [ 291s] | ^~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 291s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:239:25: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 291s] 239 | ASSERT_RETURN_VAL(item->memfd.size,==,sizeof(uint64_t), -EINVAL); [ 291s] | ^~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 291s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:259:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 291s] 259 | ASSERT_RETURN_VAL(ret,==,0, -errno); [ 291s] | ^~~~~~~~~~~~~~~~~ [ 291s] test-benchmark.c: In function 'bandwidth_sender_thread': [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:467:9: note: in expansion of macro 'ASSERT_NONZERO' [ 291s] 467 | ASSERT_NONZERO(conn_a); [ 291s] | ^~~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:469:9: note: in expansion of macro 'ASSERT_NONZERO' [ 291s] 469 | ASSERT_NONZERO(conn_b); [ 291s] | ^~~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:470:9: note: in expansion of macro 'ASSERT_ZERO' [ 291s] 470 | ASSERT_ZERO(kdbus_add_match_empty(conn_a)); [ 291s] | ^~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:471:9: note: in expansion of macro 'ASSERT_ZERO' [ 291s] 471 | ASSERT_ZERO(kdbus_add_match_empty(conn_b)); [ 291s] | ^~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:473:9: note: in expansion of macro 'ASSERT_ZERO' [ 291s] 473 | ASSERT_ZERO(kdbus_name_acquire(conn_a, name, NULL)); [ 291s] | ^~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:474:9: note: in expansion of macro 'ASSERT_ZERO' [ 291s] 474 | ASSERT_ZERO(setup_simple_kdbus_msg(conn_b, conn_a->id, data->env->payload, &kdbus_msg)); [ 291s] | ^~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 291s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 291s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 291s] | ^~~~~~~~~~~~~ [ 291s] test-benchmark.c:475:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 291s] 475 | ASSERT_NO_PENDING(conn_a); [ 291s] | ^~~~~~~~~~~~~~~~~ [ 291s] test-benchmark.c: In function 'setup_simple_kdbus_msg': [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 291s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:114:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 291s] 114 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 291s] | ^~~~~~~~~~~~~~~~~ [ 291s] test-benchmark.c: In function 'send_echo_request': [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 291s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:187:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 291s] 187 | ASSERT_RETURN_VAL(memfd,>=,0, memfd); [ 291s] | ^~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 291s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:189:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 291s] 189 | ASSERT_RETURN_VAL(write(memfd, &now_ns, sizeof(now_ns)),==,(typeof(write(memfd, &now_ns, sizeof(now_ns))))sizeof(now_ns), -EAGAIN); [ 291s] | ^~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 291s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:191:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 291s] 191 | ASSERT_RETURN_VAL(sys_memfd_seal_set(memfd),==,0, -errno); [ 291s] | ^~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 291s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:201:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 291s] 201 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 291s] | ^~~~~~~~~~~~~~~~~ [ 291s] test-benchmark.c: In function 'benchmark': [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:279:9: note: in expansion of macro 'ASSERT_NONZERO' [ 291s] 279 | ASSERT_NONZERO(stress_payload); [ 291s] | ^~~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:282:9: note: in expansion of macro 'ASSERT_NONZERO' [ 291s] 282 | ASSERT_NONZERO(buf); [ 291s] | ^~~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:290:9: note: in expansion of macro 'ASSERT_NONZERO' [ 291s] 290 | ASSERT_NONZERO(conn_a); [ 291s] | ^~~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:292:9: note: in expansion of macro 'ASSERT_NONZERO' [ 291s] 292 | ASSERT_NONZERO(conn_b); [ 291s] | ^~~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:294:9: note: in expansion of macro 'ASSERT_ZERO' [ 291s] 294 | ASSERT_ZERO(kdbus_add_match_empty(conn_a)); [ 291s] | ^~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:296:9: note: in expansion of macro 'ASSERT_ZERO' [ 291s] 296 | ASSERT_ZERO(kdbus_add_match_empty(conn_b)); [ 291s] | ^~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:298:9: note: in expansion of macro 'ASSERT_ZERO' [ 291s] 298 | ASSERT_ZERO(kdbus_name_acquire(conn_a, SERVICE_NAME, NULL)); [ 291s] | ^~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:301:17: note: in expansion of macro 'ASSERT_ZERO' [ 291s] 301 | ASSERT_ZERO(kdbus_conn_update_attach_flags(conn_a, _KDBUS_ATTACH_ALL, 0)); [ 291s] | ^~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:305:9: note: in expansion of macro 'ASSERT_ZERO' [ 291s] 305 | ASSERT_ZERO(socketpair(AF_UNIX, SOCK_SEQPACKET | SOCK_NONBLOCK, 0, uds)); [ 291s] | ^~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:309:17: note: in expansion of macro 'ASSERT_ZERO' [ 291s] 309 | ASSERT_ZERO(setup_memfd_kdbus_msg(conn_b, conn_a->id, env->payload, &memfd_cached_offset, &kdbus_msg)); [ 291s] | ^~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:311:17: note: in expansion of macro 'ASSERT_ZERO' [ 291s] 311 | ASSERT_ZERO(setup_simple_kdbus_msg(conn_b, conn_a->id, env->payload, &kdbus_msg)); [ 291s] | ^~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 291s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 291s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 291s] | ^~~~~~~~~~~~~ [ 291s] test-benchmark.c:317:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 291s] 317 | ASSERT_NO_PENDING(conn_a); [ 291s] | ^~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:328:17: note: in expansion of macro 'ASSERT_ZERO' [ 291s] 328 | ASSERT_ZERO(send_echo_request(conn_b, kdbus_msg, memfd_cached_offset)); [ 291s] | ^~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:343:33: note: in expansion of macro 'ASSERT_ZERO' [ 291s] 343 | ASSERT_ZERO(handle_echo_reply(conn_a, send_ns)); [ 291s] | ^~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:346:33: note: in expansion of macro 'ASSERT_ZERO' [ 291s] 346 | ASSERT_ZERO(send_echo_request(conn_b, kdbus_msg, memfd_cached_offset)); [ 291s] | ^~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:355:33: note: in expansion of macro 'ASSERT_ZERO' [ 291s] 355 | ASSERT_ZERO(handle_echo_reply(conn_a, send_ns)); /* purge last message to prevent leaks */ [ 291s] | ^~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 291s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:375:17: note: in expansion of macro 'ASSERT_RETURN' [ 291s] 375 | ASSERT_RETURN((typeof(write(uds[0], stress_payload, env->payload)))env->payload,==,write(uds[0], stress_payload, env->payload)); [ 291s] | ^~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 291s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:390:33: note: in expansion of macro 'ASSERT_RETURN' [ 291s] 390 | ASSERT_RETURN((typeof(read(uds[1], buf, env->payload)))env->payload,==,read(uds[1], buf, env->payload)); [ 291s] | ^~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 291s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:395:33: note: in expansion of macro 'ASSERT_RETURN' [ 291s] 395 | ASSERT_RETURN((typeof(write(uds[0], buf, env->payload)))env->payload,==,write(uds[0], buf, env->payload)); [ 291s] | ^~~~~~~~~~~~~ [ 291s] test-benchmark.c: In function 'setup_memfd_kdbus_msg': [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 291s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:150:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 291s] 150 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 291s] | ^~~~~~~~~~~~~~~~~ [ 291s] test-benchmark.c: In function 'benchmark_bandwidth': [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:510:9: note: in expansion of macro 'ASSERT_NONZERO' [ 291s] 510 | ASSERT_NONZERO(stress_payload); [ 291s] | ^~~~~~~~~~~~~~ [ 291s] test-benchmark.c: In function 'benchmark_latency_mt': [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] test-benchmark.c:548:9: note: in expansion of macro 'ASSERT_NONZERO' [ 291s] 548 | ASSERT_NONZERO(stress_payload); [ 291s] | ^~~~~~~~~~~~~~ [ 292s] 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 [ 292s] In file included from test-bus.c:17: [ 292s] test-bus.c: In function 'kdbus_test_bus_make': [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:91:9: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 91 | ASSERT_NONZERO(name); [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:95:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 95 | ASSERT_RETURN(env->control_fd,>=,0); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:98:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 98 | ASSERT_RETURN(control_fd2,>=,0); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:116:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 116 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_bus_make(env->control_fd, &bus_make.cmd)); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:123:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 123 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_bus_make(env->control_fd, &bus_make.cmd)); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:130:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 130 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_bus_make(env->control_fd, &bus_make.cmd)); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:137:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 137 | ASSERT_ZERO(kdbus_cmd_bus_make(env->control_fd, &bus_make.cmd)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:139:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 139 | ASSERT_RETURN(-EEXIST,==,kdbus_cmd_bus_make(control_fd2, &bus_make.cmd)); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:142:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 142 | ASSERT_ZERO(access(s, F_OK)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:144:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 144 | ASSERT_ZERO(test_bus_creator_info(s)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:153:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 153 | ASSERT_RETURN(-EBADFD,==,kdbus_cmd_bus_make(env->control_fd, &bus_make.cmd)); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:160:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 160 | ASSERT_ZERO(kdbus_cmd_bus_make(control_fd2, &bus_make.cmd)); [ 292s] | ^~~~~~~~~~~ [ 292s] test-bus.c: In function 'test_bus_creator_info': [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:42:9: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 42 | ASSERT_NONZERO(tmp); [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:44:9: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 44 | ASSERT_NONZERO(busname); [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:47:9: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 47 | ASSERT_NONZERO(busname); [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:51:9: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 51 | ASSERT_NONZERO(conn); [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:53:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 53 | ASSERT_ZERO(kdbus_bus_creator_info(conn, _KDBUS_ATTACH_ALL, &offset)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:58:9: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 58 | ASSERT_NONZERO(item); [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:59:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 59 | ASSERT_ZERO(strcmp(item->str, busname)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 292s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-bus.c:62:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 292s] 62 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 292s] | ^~~~~~~~~~~~~~~~~ [ 293s] 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 [ 293s] In file included from test-chat.c:14: [ 293s] test-chat.c: In function 'kdbus_test_chat': [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:27:9: note: in expansion of macro 'ASSERT_NONZERO' [ 293s] 27 | ASSERT_NONZERO(conn_a); [ 293s] | ^~~~~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:29:9: note: in expansion of macro 'ASSERT_NONZERO' [ 293s] 29 | ASSERT_NONZERO(conn_b); [ 293s] | ^~~~~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:32:9: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 32 | ASSERT_ZERO(kdbus_name_acquire(conn_a, "foo.bar.test", &flags)); [ 293s] | ^~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:34:9: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 34 | ASSERT_ZERO(kdbus_name_acquire(conn_a, "foo.bar.baz", NULL)); [ 293s] | ^~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:37:9: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 37 | ASSERT_ZERO(kdbus_name_acquire(conn_b, "foo.bar.baz", &flags)); [ 293s] | ^~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:39:9: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 39 | ASSERT_ZERO(kdbus_name_acquire(conn_a, "foo.bar.double", NULL)); [ 293s] | ^~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:42:9: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 42 | ASSERT_ZERO(kdbus_name_acquire(conn_a, "foo.bar.double", &flags)); [ 293s] | ^~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:43:9: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 43 | ASSERT_ZERO(flags & KDBUS_NAME_ACQUIRED); [ 293s] | ^~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:45:9: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 45 | ASSERT_ZERO(kdbus_name_release(conn_a, "foo.bar.double")); [ 293s] | ^~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 293s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:47:9: note: in expansion of macro 'ASSERT_RETURN' [ 293s] 47 | ASSERT_RETURN(-ESRCH,==,kdbus_name_release(conn_a, "foo.bar.double")); [ 293s] | ^~~~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:49:9: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 49 | ASSERT_ZERO(kdbus_list(conn_b, KDBUS_LIST_UNIQUE | KDBUS_LIST_NAMES | KDBUS_LIST_QUEUED | KDBUS_LIST_ACTIVATORS)); [ 293s] | ^~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:51:9: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 51 | ASSERT_ZERO(kdbus_add_match_empty(conn_a)); [ 293s] | ^~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:53:9: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 53 | ASSERT_ZERO(kdbus_add_match_empty(conn_b)); [ 293s] | ^~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:56:9: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 56 | ASSERT_ZERO(kdbus_msg_send(conn_b, NULL, 0xc0000000 | cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 293s] | ^~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 293s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:72:17: note: in expansion of macro 'ASSERT_RETURN' [ 293s] 72 | ASSERT_RETURN(ret,>=,0); [ 293s] | ^~~~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:76:33: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 76 | ASSERT_ZERO(kdbus_name_release(conn_a, "foo.bar.baz")); [ 293s] | ^~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:78:25: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 78 | ASSERT_ZERO(kdbus_msg_recv(conn_a, NULL, NULL)); [ 293s] | ^~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:79:25: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 79 | ASSERT_ZERO(kdbus_msg_send(conn_a, NULL, 0xc0000000 | cookie++, 0, 0, 0, conn_b->id)); [ 293s] | ^~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:83:25: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 83 | ASSERT_ZERO(kdbus_msg_recv(conn_b, NULL, NULL)); [ 293s] | ^~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:84:25: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 84 | ASSERT_ZERO(kdbus_msg_send(conn_b, NULL, 0xc0000000 | cookie++, 0, 0, 0, conn_a->id)); [ 293s] | ^~~~~~~~~~~ [ 293s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 293s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 293s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 293s] | ^~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 293s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 293s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 293s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 293s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 293s] | ^~~~~~~~~~~~ [ 293s] test-chat.c:87:17: note: in expansion of macro 'ASSERT_ZERO' [ 293s] 87 | ASSERT_ZERO(kdbus_list(conn_b, KDBUS_LIST_UNIQUE | KDBUS_LIST_NAMES | KDBUS_LIST_QUEUED | KDBUS_LIST_ACTIVATORS)); [ 293s] | ^~~~~~~~~~~ [ 293s] 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 [ 294s] In file included from test-connection.c:21: [ 294s] test-connection.c: In function 'kdbus_test_hello': [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:32:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 32 | ASSERT_RETURN(fd,>=,0); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:41:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 41 | ASSERT_RETURN(-EFAULT,==,kdbus_cmd_hello(fd, (struct kdbus_cmd_hello *) ((char *) &hello + 1))); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:47:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 47 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_hello(fd, &hello)); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:54:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 54 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_hello(fd, &hello)); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:60:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 60 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_hello(fd, &hello)); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:64:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 64 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_hello(fd, &hello)); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:72:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 72 | ASSERT_ZERO(kdbus_cmd_hello(fd, &hello)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:75:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 75 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:75:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 75 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:75:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 75 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:78:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 78 | ASSERT_ZERO(kdbus_cmd_free(fd, &cmd_free)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:83:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 83 | ASSERT_RETURN(fd,>=,0); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:87:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 87 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_hello(fd, &hello)); [ 294s] | ^~~~~~~~~~~~~ [ 294s] test-connection.c: In function 'kdbus_test_byebye': [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:102:9: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 102 | ASSERT_NONZERO(conn); [ 294s] | ^~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:104:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 104 | ASSERT_ZERO(kdbus_add_match_empty(conn)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:106:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 106 | ASSERT_ZERO(kdbus_add_match_empty(env->conn)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:109:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 109 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, 0, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:112:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 112 | ASSERT_RETURN(-EBUSY,==,kdbus_cmd_byebye(conn->fd, &cmd_byebye)); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:115:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 115 | ASSERT_ZERO(kdbus_cmd_recv(conn->fd, &cmd_recv)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:117:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 117 | ASSERT_ZERO(kdbus_free(conn, cmd_recv.msg.offset)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:120:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 120 | ASSERT_ZERO(kdbus_cmd_byebye(conn->fd, &cmd_byebye)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:123:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 123 | ASSERT_RETURN(-ECONNRESET,==,kdbus_cmd_byebye(conn->fd, &cmd_byebye)); [ 294s] | ^~~~~~~~~~~~~ [ 294s] test-connection.c: In function 'kdbus_test_conn_info': [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:407:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 407 | ASSERT_ZERO(kdbus_conn_info(env->conn, env->conn->id, NULL, 0, NULL)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:416:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 416 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_conn_info(env->conn->fd, (struct kdbus_cmd_info *) &buf)); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:419:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 419 | ASSERT_RETURN(-ESRCH,==,kdbus_conn_info(env->conn, 0, "non.existent.name", 0, NULL)); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:426:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 426 | ASSERT_RETURN(have_caps,>=,0); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:428:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 428 | ASSERT_ZERO(kdbus_fuzz_conn_info(env, have_caps)); [ 294s] | ^~~~~~~~~~~ [ 294s] test-connection.c: In function 'kdbus_fuzz_conn_info': [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:199:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 199 | ASSERT_ZERO(kdbus_conn_info(env->conn, env->conn->id, NULL, valid_flags, &offset)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:202:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 202 | ASSERT_RETURN(info->id,==,env->conn->id); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:202:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 202 | ASSERT_RETURN(info->id,==,env->conn->id); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:206:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 206 | ASSERT_ZERO(item); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:210:17: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 210 | ASSERT_NONZERO(item); [ 294s] | ^~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:212:17: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 212 | ASSERT_ZERO(item); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:214:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 214 | ASSERT_ZERO(kdbus_free(env->conn, offset)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:217:9: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 217 | ASSERT_NONZERO(conn); [ 294s] | ^~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:220:9: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 220 | ASSERT_NONZERO(privileged); [ 294s] | ^~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:222:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 222 | ASSERT_ZERO(kdbus_conn_info(conn, conn->id, NULL, valid_flags, &offset)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:225:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 225 | ASSERT_RETURN(info->id,==,conn->id); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:225:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 225 | ASSERT_RETURN(info->id,==,conn->id); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:229:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 229 | ASSERT_ZERO(item); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:233:17: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 233 | ASSERT_RETURN(cnt,==,1U); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:236:17: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 236 | ASSERT_NONZERO(item); [ 294s] | ^~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:239:17: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 239 | ASSERT_ZERO(memcmp(&item->creds, &cached_creds, sizeof(struct kdbus_creds))); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:241:17: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 241 | ASSERT_ZERO(cnt); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:245:17: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 245 | ASSERT_NONZERO(item); [ 294s] | ^~~~~~~~~~~~~~ [ 294s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:248:17: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 248 | ASSERT_RETURN(item->pids.pid,==,cached_pids.pid); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:248:17: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 248 | ASSERT_RETURN(item->pids.pid,==,cached_pids.pid); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:248:17: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 248 | ASSERT_RETURN(item->pids.pid,==,cached_pids.pid); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:249:17: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 249 | ASSERT_RETURN(item->pids.tid,==,cached_pids.tid); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:249:17: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 249 | ASSERT_RETURN(item->pids.tid,==,cached_pids.tid); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:249:17: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 249 | ASSERT_RETURN(item->pids.tid,==,cached_pids.tid); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:250:17: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 250 | ASSERT_RETURN(item->pids.ppid,==,cached_pids.ppid); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:250:17: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 250 | ASSERT_RETURN(item->pids.ppid,==,cached_pids.ppid); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:250:17: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 250 | ASSERT_RETURN(item->pids.ppid,==,cached_pids.ppid); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:252:17: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 252 | ASSERT_ZERO(item); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:256:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 256 | ASSERT_ZERO(item); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:258:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 258 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:260:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 260 | ASSERT_ZERO(kdbus_name_acquire(conn, "com.example.a", NULL)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:262:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 262 | ASSERT_ZERO(kdbus_conn_info(conn, conn->id, NULL, valid_flags, &offset)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:265:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 265 | ASSERT_RETURN(info->id,==,conn->id); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:265:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 265 | ASSERT_RETURN(info->id,==,conn->id); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:269:17: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 269 | ASSERT_NONZERO(item); [ 294s] | ^~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:270:17: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 270 | ASSERT_ZERO(strcmp(item->name.name, "com.example.a")); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:272:17: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 272 | ASSERT_ZERO(item); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:274:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 274 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:276:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 276 | ASSERT_ZERO(kdbus_conn_info(conn, 0, "com.example.a", valid_flags, &offset)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:279:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 279 | ASSERT_RETURN(info->id,==,conn->id); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:279:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 279 | ASSERT_RETURN(info->id,==,conn->id); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:281:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 281 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 294s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 294s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 294s] | ^~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:288:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 294s] 288 | ASSERT_EXIT_ZERO(kdbus_conn_info(conn, conn->id, NULL, valid_flags, &offset)); [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:291:17: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 291 | ASSERT_EXIT(info->id,==,conn->id); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:291:17: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 291 | ASSERT_EXIT(info->id,==,conn->id); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:294:25: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 294s] 294 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(info, KDBUS_ITEM_OWNED_NAME)); [ 294s] | ^~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:295:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 294s] 295 | ASSERT_EXIT_ZERO(strcmp(item->name.name, "com.example.a")); [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:299:25: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 294s] 299 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(info, KDBUS_ITEM_CREDS)); [ 294s] | ^~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:302:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 294s] 302 | ASSERT_EXIT_ZERO(memcmp(&item->creds, &cached_creds, sizeof(struct kdbus_creds))); [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:306:25: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 294s] 306 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(info, KDBUS_ITEM_PIDS)); [ 294s] | ^~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:314:25: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 314 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:314:25: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 314 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:314:25: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 314 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:315:25: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 315 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:315:25: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 315 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:315:25: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 315 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:318:17: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 318 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:324:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 294s] 324 | ASSERT_EXIT_ZERO(kdbus_conn_info(conn, conn->id, NULL, invalid_flags, &offset)); [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:332:25: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 332 | ASSERT_EXIT(cnt,==,1U); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:334:25: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 294s] 334 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(info, KDBUS_ITEM_CREDS)); [ 294s] | ^~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:337:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 294s] 337 | ASSERT_EXIT_ZERO(memcmp(&item->creds, &cached_creds, sizeof(struct kdbus_creds))); [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:339:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 294s] 339 | ASSERT_EXIT_ZERO(cnt); [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:343:25: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 343 | ASSERT_EXIT(cnt,==,1U); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:345:25: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 294s] 345 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(info, KDBUS_ITEM_PIDS)); [ 294s] | ^~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:348:25: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 348 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:348:25: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 348 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:348:25: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 348 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:349:25: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 349 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:349:25: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 349 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:349:25: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 349 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:354:25: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 354 | ASSERT_EXIT(cnt,==,1U); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:356:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 294s] 356 | ASSERT_EXIT_ZERO(cnt); [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:360:25: note: in expansion of macro 'ASSERT_EXIT' [ 294s] 360 | ASSERT_EXIT(cnt,==,1U); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:362:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 294s] 362 | ASSERT_EXIT_ZERO(cnt); [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:364:17: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 364 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 294s] | ^~~~~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 294s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 294s] | ^~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 294s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 294s] | ^~~~~~~~~~ [ 294s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 294s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 294s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 294s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 294s] | ^~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:371:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 371 | ASSERT_ZERO(kdbus_name_acquire(conn, "com.example.b", NULL)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:373:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 373 | ASSERT_ZERO(kdbus_conn_info(conn, conn->id, NULL, valid_flags, &offset)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:376:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 376 | ASSERT_RETURN(info->id,==,conn->id); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:376:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 376 | ASSERT_RETURN(info->id,==,conn->id); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:380:17: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 380 | ASSERT_RETURN(cnt,==,2U); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:382:17: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 382 | ASSERT_RETURN(cnt,==,0U); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:384:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 384 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 294s] | ^~~~~~~~~~~ [ 294s] test-connection.c: In function 'kdbus_test_conn_update': [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:449:9: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 449 | ASSERT_NONZERO(conn); [ 294s] | ^~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:451:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 451 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, 0x12345678, 0, 0, 0, conn->id)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:453:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 453 | ASSERT_ZERO(kdbus_msg_recv(conn, &msg, NULL)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:456:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 456 | ASSERT_RETURN(found,==,1); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:466:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 466 | ASSERT_ZERO(kdbus_conn_update_attach_flags(conn, _KDBUS_ATTACH_ALL, _KDBUS_ATTACH_ALL & ~KDBUS_ATTACH_TIMESTAMP)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:468:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 468 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, 0x12345678, 0, 0, 0, conn->id)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:470:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 470 | ASSERT_ZERO(kdbus_msg_recv(conn, &msg, NULL)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:473:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 473 | ASSERT_ZERO(found); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:476:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 476 | ASSERT_RETURN(-EINVAL,==,kdbus_conn_update_attach_flags(conn, _KDBUS_ATTACH_ALL + 1, _KDBUS_ATTACH_ALL)); [ 294s] | ^~~~~~~~~~~~~ [ 294s] test-connection.c: In function 'kdbus_test_writable_pool': [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:493:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 493 | ASSERT_RETURN(fd,>=,0); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:504:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 504 | ASSERT_ZERO(kdbus_cmd_hello(fd, &hello)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:507:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 507 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:507:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 507 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:507:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 507 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:510:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 510 | ASSERT_ZERO(kdbus_cmd_free(fd, &cmd_free)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:514:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 514 | ASSERT_RETURN(map,==,MAP_FAILED); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:518:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 518 | ASSERT_RETURN(map,!=,MAP_FAILED); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-connection.c:521:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 521 | ASSERT_RETURN(0,>,mprotect(map, POOL_SIZE, PROT_READ | PROT_WRITE)); [ 294s] | ^~~~~~~~~~~~~ [ 296s] 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 [ 296s] In file included from test-daemon.c:14: [ 297s] test-daemon.c: In function 'kdbus_test_daemon': [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-daemon.c:31:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 31 | ASSERT_ZERO(kdbus_name_acquire(env->conn, "com.example.kdbus-test", NULL)); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-daemon.c:52:25: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 52 | ASSERT_ZERO(kdbus_msg_recv(env->conn, NULL, NULL)); [ 297s] | ^~~~~~~~~~~ [ 297s] 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 [ 297s] In file included from test-endpoint.c:18: [ 297s] test-endpoint.c: In function 'kdbus_test_custom_endpoint': [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:215:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 215 | ASSERT_RETURN(-ENAMETOOLONG,==,create_endpoint(env->buspath, getuid(), fake_ep, 0)); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:218:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 218 | ASSERT_RETURN(-EINVAL,==,create_endpoint(env->buspath, getuid() + 1, "foobar", 0)); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:221:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 221 | ASSERT_RETURN(0,<=,ep_fd = create_endpoint(env->buspath, getuid(), "foo", 0)); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:223:9: note: in expansion of macro 'ASSERT_NONZERO' [ 297s] 223 | ASSERT_NONZERO(tmp = strdup(env->buspath)); [ 297s] | ^~~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:224:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 224 | ASSERT_RETURN(0,<=,asprintf(&ep, "%s/%u-%s", dirname(tmp), getuid(), epname)); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:228:9: note: in expansion of macro 'ASSERT_NONZERO' [ 297s] 228 | ASSERT_NONZERO(reader = kdbus_hello(ep, 0, NULL, 0)); [ 297s] | ^~~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:231:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 231 | ASSERT_ZERO(kdbus_add_match_id(reader, 0x1, KDBUS_ITEM_ID_ADD, KDBUS_MATCH_ID_ANY)); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:232:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 232 | ASSERT_ZERO(kdbus_add_match_id(reader, 0x2, KDBUS_ITEM_ID_REMOVE, KDBUS_MATCH_ID_ANY)); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:233:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 233 | ASSERT_ZERO(install_name_add_match(reader, name)); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:237:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 237 | ASSERT_RETURN(errno,==,EOPNOTSUPP); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:238:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 238 | ASSERT_ZERO(ep_conn); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:240:9: note: in expansion of macro 'ASSERT_NONZERO' [ 297s] 240 | ASSERT_NONZERO(ep_conn = kdbus_hello(ep, 0, NULL, 0)); [ 297s] | ^~~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:243:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 243 | ASSERT_ZERO(kdbus_msg_recv(reader, &msg, NULL)); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 297s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:244:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 244 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:244:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 244 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 297s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:244:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 244 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 297s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:245:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 245 | ASSERT_RETURN(msg->items[0].id_change.id,==,ep_conn->id); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:245:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 245 | ASSERT_RETURN(msg->items[0].id_change.id,==,ep_conn->id); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:255:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 255 | ASSERT_ZERO(install_name_add_match(ep_conn, name)); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:257:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 257 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:259:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 259 | ASSERT_RETURN(ONTIZEN(0,-EAGAIN),==,kdbus_msg_recv(ep_conn, NULL, NULL)); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:260:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 260 | ASSERT_RETURN(ONTIZEN(0,-ESRCH),==,kdbus_conn_info(ep_conn, 0, name, 0, NULL)); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:261:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 261 | ASSERT_RETURN(-ESRCH,==,kdbus_conn_info(ep_conn, 0, "random.crappy.name", 0, NULL)); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:262:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 262 | ASSERT_RETURN(ONTIZEN(0,-ENXIO),==,kdbus_conn_info(ep_conn, env->conn->id, NULL, 0, NULL)); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:263:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 263 | ASSERT_RETURN(-ENXIO,==,kdbus_conn_info(ep_conn, 0x0fffffffffffffffULL, NULL, 0, NULL)); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:266:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 266 | ASSERT_RETURN(ONTIZEN(0,-EAGAIN),==,kdbus_msg_recv(reader, NULL, NULL)); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:273:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 273 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:276:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 276 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(reader, NULL, NULL)); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:278:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 278 | ASSERT_ZERO(update_endpoint(ep_fd, name)); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:280:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 280 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:282:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 282 | ASSERT_ZERO(kdbus_msg_recv(ep_conn, &msg, NULL)); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 297s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:283:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 283 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:283:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 283 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 297s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:283:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 283 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 297s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:284:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 284 | ASSERT_ZERO(msg->items[0].name_change.old_id.id); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:284:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 284 | ASSERT_ZERO(msg->items[0].name_change.old_id.id); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 297s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:284:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 284 | ASSERT_ZERO(msg->items[0].name_change.old_id.id); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 297s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:285:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 285 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,env->conn->id); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:285:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 285 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,env->conn->id); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:286:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 286 | ASSERT_ZERO(strcmp(msg->items[0].name_change.name, name)); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:289:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 289 | ASSERT_ZERO(kdbus_msg_recv(reader, &msg, NULL)); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:290:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 290 | ASSERT_ZERO(strcmp(msg->items[0].name_change.name, name)); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:294:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 294 | ASSERT_ZERO(kdbus_conn_info(ep_conn, 0, name, 0, NULL)); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:296:9: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 296 | ASSERT_ZERO(kdbus_conn_info(ep_conn, env->conn->id, NULL, 0, NULL)); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:300:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 300 | ASSERT_RETURN(ret,>=,0); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:306:17: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 306 | ASSERT_ZERO(unpriv_test_custom_ep(env->buspath)); [ 297s] | ^~~~~~~~~~~ [ 297s] test-endpoint.c: In function 'unpriv_test_custom_ep': [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:100:9: note: in expansion of macro 'ASSERT_NONZERO' [ 297s] 100 | ASSERT_NONZERO(tmp1 = strdup(buspath)); [ 297s] | ^~~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:101:9: note: in expansion of macro 'ASSERT_NONZERO' [ 297s] 101 | ASSERT_NONZERO(tmp2 = strdup(buspath)); [ 297s] | ^~~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:104:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 104 | ASSERT_RETURN(ret,>,0); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:107:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 107 | ASSERT_RETURN(ret,>,0); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:114:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 114 | ASSERT_RETURN(ep_fd1,>=,0); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:119:9: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 119 | ASSERT_RETURN(ep_fd2,>=,0); [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 297s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 297s] | ^~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 297s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 297s] | ^~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 297s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 297s] | ^~~~~~~~~~~~ [ 297s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 297s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 297s] | ^~~~~~~~~~~~~~~ [ 297s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 297s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 297s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 297s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 297s] | ^~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 297s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 297s] | ^~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 297s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 297s] | ^~~~~~~~~~ [ 297s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 297s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 297s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 297s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 297s] | ^~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:131:17: note: in expansion of macro 'ASSERT_EXIT' [ 297s] 131 | ASSERT_EXIT(ep_fd,==,-EPERM); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 297s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 297s] | ^~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 297s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 297s] | ^~~~~~~~~~ [ 297s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 297s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 297s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 297s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 297s] | ^~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:138:17: note: in expansion of macro 'ASSERT_EXIT' [ 297s] 138 | ASSERT_EXIT(errno,==,EACCES); [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 297s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 297s] | ^~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 297s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 297s] | ^~~~~~~~~~ [ 297s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 297s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 297s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 297s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 297s] | ^~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:139:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 297s] 139 | ASSERT_EXIT_ZERO(ep_conn); [ 297s] | ^~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 297s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 297s] | ^~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 297s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 297s] | ^~~~~~~~~~ [ 297s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 297s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 297s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 297s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 297s] | ^~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 297s] | ^~~~~~~~~~~~ [ 297s] test-endpoint.c:142:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 297s] 142 | ASSERT_EXIT_NONZERO(ep_conn = kdbus_hello(ep2, 0, NULL, 0)); [ 297s] | ^~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 297s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 297s] | ^~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 297s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 297s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 297s] | ^~~~~~~~~~~~~ [ 297s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 297s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 297s] | ^~~~~~~~~~ [ 297s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 297s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 297s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 297s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 297s] | ^~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 297s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 297s] | ^~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 297s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 297s] | ^~~~~~~~~~~~~~ [ 297s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 297s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 297s] | ^~~~~~~~~~ [ 297s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 297s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 297s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 297s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 297s] | ^~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 297s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 297s] | ^~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 297s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 297s] | ^~~~~~~~~~ [ 297s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 297s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 297s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 297s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 297s] | ^~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 297s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 297s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 297s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 297s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 297s] | ^~~~~~~~~~~~ [ 297s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 297s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 297s] | ^~~~~~~~~~~ [ 297s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 297s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 297s] | ^~~~~~~~~~ [ 297s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 297s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 297s] | ^~~~~~~~~~~~~~~~~~~~ [ 297s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 297s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 297s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 297s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 297s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 297s] | ^~~~~~~~~~~~~~~~ [ 298s] 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 [ 299s] In file included from test-fd.c:19: [ 299s] test-fd.c: In function 'kdbus_test_fd_passing': [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:661:9: note: in expansion of macro 'ASSERT_NONZERO' [ 299s] 661 | ASSERT_NONZERO(conn_src = kdbus_hello(env->buspath, 0, NULL, 0)); [ 299s] | ^~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:662:9: note: in expansion of macro 'ASSERT_NONZERO' [ 299s] 662 | ASSERT_NONZERO(conn_dst = kdbus_hello(env->buspath, 0, NULL, 0)); [ 299s] | ^~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:667:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 667 | ASSERT_ZERO(socketpair(AF_UNIX, SOCK_STREAM, 0, sock_pair)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:671:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 671 | ASSERT_RETURN(memfd,>=,0); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:676:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 676 | ASSERT_ZERO(ret); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:679:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 679 | ASSERT_RETURN(i,==,strlen(str)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:685:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 685 | ASSERT_RETURN(-ENOTSUP,==,send_fds(conn_src, conn_dst->id, fds_conn, 2)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:686:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 686 | ASSERT_RETURN(-ENOTSUP,==,send_fds(conn_dst, conn_src->id, fds_conn, 2)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:691:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 691 | ASSERT_ZERO(send_fds(conn_src, conn_dst->id, sock_pair, 2)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:692:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 692 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:697:25: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 697 | ASSERT_RETURN(nfds,==,2); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:704:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 704 | ASSERT_ZERO(kdbus_test_no_fds(env, fds, (int *)&memfd)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:707:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 707 | ASSERT_RETURN(-ENOTUNIQ,==,send_fds(conn_src, KDBUS_DST_ID_BROADCAST, fds, 1)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:710:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 710 | ASSERT_ZERO(send_memfds(conn_src, KDBUS_DST_ID_BROADCAST, (int *)&memfd, 1)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:718:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 718 | ASSERT_ZERO(send_fds(conn_src, conn_dst->id, fds, 1)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:721:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 721 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:728:25: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 728 | ASSERT_RETURN(sizeof(tmp),==,strlen(str)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:729:25: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 729 | ASSERT_RETURN(nfds,==,1); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:733:33: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 733 | ASSERT_RETURN(i,==,sizeof(tmp)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:734:33: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 734 | ASSERT_ZERO(memcmp(tmp, str, sizeof(tmp))); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:764:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 764 | ASSERT_RETURN(-EBADF,==,send_fds(conn_src, conn_dst->id, fds, 1)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:768:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 768 | ASSERT_ZERO(kdbus_send_multiple_fds(conn_src, conn_dst)); [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c: In function 'memfd_write': [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 299s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:84:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 299s] 84 | ASSERT_RETURN_VAL(memfd,>=,0, memfd); [ 299s] | ^~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 299s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:87:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 299s] 87 | ASSERT_RETURN_VAL(ret,==,(ssize_t)bufsize, -EAGAIN); [ 299s] | ^~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 299s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:90:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 299s] 90 | ASSERT_RETURN_VAL(ret,==,0, -errno); [ 299s] | ^~~~~~~~~~~~~~~~~ [ 299s] test-fd.c: In function 'kdbus_test_no_fds': [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:257:9: note: in expansion of macro 'ASSERT_NONZERO' [ 299s] 257 | ASSERT_NONZERO(conn_src = kdbus_hello(env->buspath, 0, NULL, 0)); [ 299s] | ^~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:260:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 260 | ASSERT_RETURN(connfd1,>=,0); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:263:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 263 | ASSERT_RETURN(connfd2,>=,0); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:269:9: note: in expansion of macro 'ASSERT_NONZERO' [ 299s] 269 | ASSERT_NONZERO(conn_dst = alloc(sizeof(*conn_dst))); [ 299s] | ^~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:270:9: note: in expansion of macro 'ASSERT_NONZERO' [ 299s] 270 | ASSERT_NONZERO(conn_dummy = alloc(sizeof(*conn_dummy))); [ 299s] | ^~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:277:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 277 | ASSERT_ZERO(kdbus_cmd_hello(connfd1, &hello)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:281:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 281 | ASSERT_ZERO(kdbus_cmd_free(connfd1, &cmd_free)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:292:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 292 | ASSERT_ZERO(kdbus_cmd_hello(connfd2, &hello)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:296:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 296 | ASSERT_ZERO(kdbus_cmd_free(connfd2, &cmd_free)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:304:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 304 | ASSERT_RETURN(conn_dst->buf,!=,MAP_FAILED); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:308:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 308 | ASSERT_RETURN(conn_dummy->buf,!=,MAP_FAILED); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:313:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 313 | ASSERT_RETURN(-ECOMM,==,send_fds(conn_src, conn_dst->id, fds, 1)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:318:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 318 | ASSERT_ZERO(send_memfds(conn_src, conn_dst->id, memfd, 1)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:320:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 320 | ASSERT_ZERO(kdbus_msg_recv_poll(conn_dst, 100, NULL, NULL)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 299s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:325:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 299s] 325 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 299s] | ^~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:334:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 299s] 334 | ASSERT_EXIT_NONZERO(msg_sync_reply = get_kdbus_msg_with_fd(conn_dst, conn_dummy->id, cookie, fds[0])); [ 299s] | ^~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:336:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 299s] 336 | ASSERT_EXIT_ZERO(clock_gettime(CLOCK_MONOTONIC_COARSE, &now)); [ 299s] | ^~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:347:17: note: in expansion of macro 'ASSERT_EXIT' [ 299s] 347 | ASSERT_EXIT(-ECOMM,==,kdbus_cmd_send(conn_dst->fd, &cmd)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:357:17: note: in expansion of macro 'ASSERT_EXIT' [ 299s] 357 | ASSERT_EXIT(-EREMOTEIO,==,kdbus_msg_send_sync(conn_dst, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 5000000000ULL, 0, conn_src->id, -1)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:360:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 299s] 360 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(conn_dst, 100, &msg, NULL)); [ 299s] | ^~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 299s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:361:17: note: in expansion of macro 'ASSERT_EXIT' [ 299s] 361 | ASSERT_EXIT(msg->cookie,==,cookie); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:361:17: note: in expansion of macro 'ASSERT_EXIT' [ 299s] 361 | ASSERT_EXIT(msg->cookie,==,cookie); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:369:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 369 | ASSERT_RETURN(-ETIMEDOUT,==,kdbus_msg_recv_poll(conn_dummy, 100, NULL, NULL)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:372:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 372 | ASSERT_ZERO(kdbus_msg_recv_poll(conn_src, 100, &msg, NULL)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 299s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:373:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 373 | ASSERT_RETURN(msg->cookie,==,cookie); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:373:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 373 | ASSERT_RETURN(msg->cookie,==,cookie); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:384:9: note: in expansion of macro 'ASSERT_NONZERO' [ 299s] 384 | ASSERT_NONZERO(msg_sync_reply); [ 299s] | ^~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:392:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 392 | ASSERT_RETURN(-EOPNOTSUPP,==,kdbus_cmd_send(conn_src->fd, &cmd)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:405:9: note: in expansion of macro 'ASSERT_NONZERO' [ 299s] 405 | ASSERT_NONZERO(msg_sync_reply); [ 299s] | ^~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:413:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 413 | ASSERT_RETURN(-ECOMM,==,kdbus_cmd_send(conn_src->fd, &cmd)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:422:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 422 | ASSERT_ZERO(kdbus_msg_send(conn_src, NULL, cookie, 0, 0, 0, conn_dst->id)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 299s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:425:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 299s] 425 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 299s] | ^~~~~~~~~~~~~~~~~ [ 299s] test-fd.c: In function 'get_kdbus_msg_with_fd': [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 299s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:231:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 299s] 231 | ASSERT_RETURN_VAL(ret,==,0, NULL); [ 299s] | ^~~~~~~~~~~~~~~~~ [ 299s] test-fd.c: In function 'make_msg_payload_dbus': [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 299s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:39:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 299s] 39 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 299s] | ^~~~~~~~~~~~~~~~~ [ 299s] test-fd.c: In function 'send_memfds': [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 299s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:111:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 299s] 111 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 299s] | ^~~~~~~~~~~~~~~~~ [ 299s] test-fd.c: In function 'send_fds': [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 299s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:154:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 299s] 154 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 299s] | ^~~~~~~~~~~~~~~~~ [ 299s] test-fd.c: In function 'kdbus_send_multiple_fds': [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:479:33: note: in expansion of macro 'MAKE_FDS_' [ 299s] 479 | #define MAKE_FDS(ARRAY_NAME) MAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:549:9: note: in expansion of macro 'MAKE_FDS' [ 299s] 549 | MAKE_FDS(fds); [ 299s] | ^~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:479:33: note: in expansion of macro 'MAKE_FDS_' [ 299s] 479 | #define MAKE_FDS(ARRAY_NAME) MAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:549:9: note: in expansion of macro 'MAKE_FDS' [ 299s] 549 | MAKE_FDS(fds); [ 299s] | ^~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:552:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 552 | ASSERT_RETURN(-EMFILE,==,send_fds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER + 1)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:555:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 555 | ASSERT_ZERO(send_fds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:556:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 556 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:539:36: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 539 | #define CHECK_FDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_fds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:557:9: note: in expansion of macro 'CHECK_FDS' [ 299s] 557 | CHECK_FDS(fds, KDBUS_CONN_MAX_FDS_PER_USER, msg); [ 299s] | ^~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:480:33: note: in expansion of macro 'MAKE_FDS_' [ 299s] 480 | #define MAKE_MEMFDS(ARRAY_NAME) MAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:560:9: note: in expansion of macro 'MAKE_MEMFDS' [ 299s] 560 | MAKE_MEMFDS(memfds); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:480:33: note: in expansion of macro 'MAKE_FDS_' [ 299s] 480 | #define MAKE_MEMFDS(ARRAY_NAME) MAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:560:9: note: in expansion of macro 'MAKE_MEMFDS' [ 299s] 560 | MAKE_MEMFDS(memfds); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:563:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 563 | ASSERT_RETURN(-E2BIG,==,send_memfds(conn_src, conn_dst->id, memfds, KDBUS_MSG_MAX_ITEMS + 1)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:564:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 564 | ASSERT_RETURN(-E2BIG,==,send_memfds(conn_src, conn_dst->id, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS + 1)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:567:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 567 | ASSERT_ZERO(send_memfds(conn_src, conn_dst->id, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:568:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 568 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:540:39: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 540 | #define CHECK_MEMFDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_memfds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:571:9: note: in expansion of macro 'CHECK_MEMFDS' [ 299s] 571 | CHECK_MEMFDS(memfds, KDBUS_MSG_MAX_MEMFD_ITEMS, msg); [ 299s] | ^~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:448:9: note: in expansion of macro 'CLOSE_FDS' [ 299s] 448 | CLOSE_FDS(ARRAY_NAME);\ [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 299s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:575:9: note: in expansion of macro 'REMAKE_FDS' [ 299s] 575 | REMAKE_FDS(fds); [ 299s] | ^~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 299s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 299s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:575:9: note: in expansion of macro 'REMAKE_FDS' [ 299s] 575 | REMAKE_FDS(fds); [ 299s] | ^~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 299s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 299s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:575:9: note: in expansion of macro 'REMAKE_FDS' [ 299s] 575 | REMAKE_FDS(fds); [ 299s] | ^~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:448:9: note: in expansion of macro 'CLOSE_FDS' [ 299s] 448 | CLOSE_FDS(ARRAY_NAME);\ [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 299s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:576:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 299s] 576 | REMAKE_MEMFDS(memfds); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 299s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 299s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:576:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 299s] 576 | REMAKE_MEMFDS(memfds); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 299s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 299s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:576:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 299s] 576 | REMAKE_MEMFDS(memfds); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:582:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 582 | ASSERT_RETURN(-EMFILE,==,send_fds_memfds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER + 1, memfds, 10)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:583:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 583 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn_dst, NULL, NULL)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:590:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 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)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:591:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 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)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:592:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 592 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn_dst, NULL, NULL)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:598:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 598 | ASSERT_ZERO(send_fds_memfds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:600:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 600 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:539:36: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 539 | #define CHECK_FDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_fds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:603:9: note: in expansion of macro 'CHECK_FDS' [ 299s] 603 | CHECK_FDS(fds, KDBUS_CONN_MAX_FDS_PER_USER, msg); [ 299s] | ^~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:540:39: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 540 | #define CHECK_MEMFDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_memfds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:604:9: note: in expansion of macro 'CHECK_MEMFDS' [ 299s] 604 | CHECK_MEMFDS(memfds, KDBUS_MSG_MAX_MEMFD_ITEMS, msg); [ 299s] | ^~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:448:9: note: in expansion of macro 'CLOSE_FDS' [ 299s] 448 | CLOSE_FDS(ARRAY_NAME);\ [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 299s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:608:9: note: in expansion of macro 'REMAKE_FDS' [ 299s] 608 | REMAKE_FDS(fds); [ 299s] | ^~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 299s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 299s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:608:9: note: in expansion of macro 'REMAKE_FDS' [ 299s] 608 | REMAKE_FDS(fds); [ 299s] | ^~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 299s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 299s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:608:9: note: in expansion of macro 'REMAKE_FDS' [ 299s] 608 | REMAKE_FDS(fds); [ 299s] | ^~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:448:9: note: in expansion of macro 'CLOSE_FDS' [ 299s] 448 | CLOSE_FDS(ARRAY_NAME);\ [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 299s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:609:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 299s] 609 | REMAKE_MEMFDS(memfds); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 299s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 299s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:609:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 299s] 609 | REMAKE_MEMFDS(memfds); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 299s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 299s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:609:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 299s] 609 | REMAKE_MEMFDS(memfds); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:615:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 615 | ASSERT_ZERO(send_fds_memfds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:448:9: note: in expansion of macro 'CLOSE_FDS' [ 299s] 448 | CLOSE_FDS(ARRAY_NAME);\ [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 299s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:618:9: note: in expansion of macro 'REMAKE_FDS' [ 299s] 618 | REMAKE_FDS(fds); [ 299s] | ^~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 299s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 299s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:618:9: note: in expansion of macro 'REMAKE_FDS' [ 299s] 618 | REMAKE_FDS(fds); [ 299s] | ^~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 299s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 299s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:618:9: note: in expansion of macro 'REMAKE_FDS' [ 299s] 618 | REMAKE_FDS(fds); [ 299s] | ^~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:621:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 621 | ASSERT_RETURN(-EMFILE,==,send_fds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:624:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 624 | ASSERT_ZERO(send_memfds(conn_src, conn_dst->id, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:625:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 625 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:539:36: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 539 | #define CHECK_FDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_fds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:626:9: note: in expansion of macro 'CHECK_FDS' [ 299s] 626 | CHECK_FDS(fds, KDBUS_CONN_MAX_FDS_PER_USER, msg); [ 299s] | ^~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:540:39: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 540 | #define CHECK_MEMFDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_memfds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:627:9: note: in expansion of macro 'CHECK_MEMFDS' [ 299s] 627 | CHECK_MEMFDS(memfds, KDBUS_MSG_MAX_MEMFD_ITEMS, msg); [ 299s] | ^~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:630:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 630 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:540:39: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 540 | #define CHECK_MEMFDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_memfds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c:633:9: note: in expansion of macro 'CHECK_MEMFDS' [ 299s] 633 | CHECK_MEMFDS(memfds, KDBUS_MSG_MAX_MEMFD_ITEMS, msg); [ 299s] | ^~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:636:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 636 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn_dst, NULL, NULL)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:638:9: note: in expansion of macro 'CLOSE_FDS' [ 299s] 638 | CLOSE_FDS(fds); [ 299s] | ^~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] test-fd.c:639:9: note: in expansion of macro 'CLOSE_FDS' [ 299s] 639 | CLOSE_FDS(memfds); [ 299s] | ^~~~~~~~~ [ 299s] test-fd.c: In function 'send_fds_memfds': [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 299s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:196:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 299s] 196 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 299s] | ^~~~~~~~~~~~~~~~~ [ 299s] test-fd.c: In function 'check_fds': [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:487:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 487 | ASSERT_RETURN(0,<,togo); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:488:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 488 | ASSERT_RETURN(togo,<=,total_count); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:494:25: note: in expansion of macro 'ASSERT_NONZERO' [ 299s] 494 | ASSERT_NONZERO(togo); [ 299s] | ^~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:499:41: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 499 | ASSERT_ZERO(eventfd_read(fd, &value)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:500:41: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 500 | ASSERT_RETURN(value,==,++value_checked_in); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:504:25: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 504 | ASSERT_ZERO(togo); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:506:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 506 | ASSERT_ZERO(togo); [ 299s] | ^~~~~~~~~~~ [ 299s] test-fd.c: In function 'check_memfds': [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:514:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 514 | ASSERT_RETURN(0,<,togo); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:515:9: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 515 | ASSERT_RETURN(togo,<=,total_count); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:520:25: note: in expansion of macro 'ASSERT_NONZERO' [ 299s] 520 | ASSERT_NONZERO(togo); [ 299s] | ^~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:526:33: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 526 | ASSERT_ZERO(sys_memfd_get_size(fd, &size)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:527:33: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 527 | ASSERT_RETURN(size,==,(typeof(size))sizeof(value_checked_in)); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:528:33: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 528 | ASSERT_RETURN((uint64_t)size,==,item->memfd.size); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 299s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:528:33: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 528 | ASSERT_RETURN((uint64_t)size,==,item->memfd.size); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:529:33: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 529 | ASSERT_RETURN(MAP_FAILED, !=, (buf = mmap(NULL, size, PROT_READ, MAP_PRIVATE, fd, 0))); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:530:33: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 530 | ASSERT_RETURN(*buf,==,++value_checked_in); [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:531:33: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 531 | ASSERT_ZERO(munmap(buf, size)); [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-fd.c:534:9: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 534 | ASSERT_ZERO(togo); [ 299s] | ^~~~~~~~~~~ [ 303s] 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 [ 303s] In file included from test-free.c:15: [ 303s] test-free.c: In function 'kdbus_test_free': [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 303s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:61:9: note: in expansion of macro 'ASSERT_RETURN' [ 303s] 61 | ASSERT_RETURN(-ENXIO,==,kdbus_cmd_free(env->conn->fd, &cmd_free)); [ 303s] | ^~~~~~~~~~~~~ [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 303s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:66:9: note: in expansion of macro 'ASSERT_RETURN' [ 303s] 66 | ASSERT_RETURN(-ENXIO,==,kdbus_cmd_free(env->conn->fd, &cmd_free)); [ 303s] | ^~~~~~~~~~~~~ [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 303s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:79:17: note: in expansion of macro 'ASSERT_ZERO' [ 303s] 79 | ASSERT_ZERO(sample_ioctl_call(env, &off, &siz)); [ 303s] | ^~~~~~~~~~~ [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 303s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:82:33: note: in expansion of macro 'ASSERT_ZERO' [ 303s] 82 | ASSERT_ZERO(area_before(off,siz,offset[j])); [ 303s] | ^~~~~~~~~~~ [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 303s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:86:33: note: in expansion of macro 'ASSERT_ZERO' [ 303s] 86 | ASSERT_ZERO(area_before(offset[j],size[j],off)); [ 303s] | ^~~~~~~~~~~ [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 303s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:90:17: note: in expansion of macro 'ASSERT_RETURN' [ 303s] 90 | ASSERT_RETURN(j+1,>=,0); [ 303s] | ^~~~~~~~~~~~~ [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 303s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:91:17: note: in expansion of macro 'ASSERT_RETURN' [ 303s] 91 | ASSERT_RETURN((unsigned)(j+1),<=,i); [ 303s] | ^~~~~~~~~~~~~ [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 303s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:106:25: note: in expansion of macro 'ASSERT_RETURN' [ 303s] 106 | ASSERT_RETURN(-ENXIO,==,kdbus_cmd_free(env->conn->fd, &cmd_free)); [ 303s] | ^~~~~~~~~~~~~ [ 303s] test-free.c: In function 'sample_ioctl_call': [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 303s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:26:9: note: in expansion of macro 'ASSERT_ZERO' [ 303s] 26 | ASSERT_ZERO(kdbus_cmd_list(env->conn->fd, &cmd_list)); [ 303s] | ^~~~~~~~~~~ [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 303s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:28:29: note: in expansion of macro 'ASSERT_RETURN' [ 303s] 28 | #define A(L,R) do { ASSERT_RETURN((typeof(L))(R),==,(R)); *p##L = L = (R); } while (0) [ 303s] | ^~~~~~~~~~~~~ [ 303s] test-free.c:29:17: note: in expansion of macro 'A' [ 303s] 29 | A(off, cmd_list.offset); [ 303s] | ^ [ 303s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 303s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 303s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:28:29: note: in expansion of macro 'ASSERT_RETURN' [ 303s] 28 | #define A(L,R) do { ASSERT_RETURN((typeof(L))(R),==,(R)); *p##L = L = (R); } while (0) [ 303s] | ^~~~~~~~~~~~~ [ 303s] test-free.c:29:17: note: in expansion of macro 'A' [ 303s] 29 | A(off, cmd_list.offset); [ 303s] | ^ [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 303s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:30:17: note: in expansion of macro 'ASSERT_RETURN' [ 303s] 30 | ASSERT_RETURN(off,<,POOL_SIZE); [ 303s] | ^~~~~~~~~~~~~ [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 303s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:28:29: note: in expansion of macro 'ASSERT_RETURN' [ 303s] 28 | #define A(L,R) do { ASSERT_RETURN((typeof(L))(R),==,(R)); *p##L = L = (R); } while (0) [ 303s] | ^~~~~~~~~~~~~ [ 303s] test-free.c:31:17: note: in expansion of macro 'A' [ 303s] 31 | A(size, ((struct kdbus_info *)((uintptr_t)env->conn->buf + off))->size); [ 303s] | ^ [ 303s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 303s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 303s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:28:29: note: in expansion of macro 'ASSERT_RETURN' [ 303s] 28 | #define A(L,R) do { ASSERT_RETURN((typeof(L))(R),==,(R)); *p##L = L = (R); } while (0) [ 303s] | ^~~~~~~~~~~~~ [ 303s] test-free.c:31:17: note: in expansion of macro 'A' [ 303s] 31 | A(size, ((struct kdbus_info *)((uintptr_t)env->conn->buf + off))->size); [ 303s] | ^ [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 303s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:34:9: note: in expansion of macro 'ASSERT_RETURN' [ 303s] 34 | ASSERT_RETURN(off+size,<,POOL_SIZE); [ 303s] | ^~~~~~~~~~~~~ [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 303s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:35:9: note: in expansion of macro 'ASSERT_RETURN' [ 303s] 35 | ASSERT_RETURN(off+size,>=,size); [ 303s] | ^~~~~~~~~~~~~ [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 303s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:36:9: note: in expansion of macro 'ASSERT_RETURN' [ 303s] 36 | ASSERT_RETURN(off+size,>,off); [ 303s] | ^~~~~~~~~~~~~ [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 303s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:37:9: note: in expansion of macro 'ASSERT_ZERO' [ 303s] 37 | ASSERT_ZERO(size % 8); [ 303s] | ^~~~~~~~~~~ [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 303s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:38:9: note: in expansion of macro 'ASSERT_RETURN' [ 303s] 38 | ASSERT_RETURN(size,>=,sizeof(struct kdbus_info)); [ 303s] | ^~~~~~~~~~~~~ [ 303s] test-free.c: In function 'area_before': [ 303s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 303s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 303s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 303s] | ^~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 303s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 303s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 303s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 303s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 303s] | ^~~~~~~~~~~~ [ 303s] test-free.c:47:9: note: in expansion of macro 'ASSERT_RETURN' [ 303s] 47 | ASSERT_RETURN(off_left+size_left,<=,off_right); [ 303s] | ^~~~~~~~~~~~~ [ 304s] 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 [ 304s] In file included from test-match.c:15: [ 304s] test-match.c: In function 'kdbus_test_match_id_add': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:38:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 38 | ASSERT_ZERO(add_id_match_((CONN),(FLAGS),KDBUS_ITEM_ID_##NOTIFICATION_TYPE,(ID))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:46:9: note: in expansion of macro 'ADD_ID_MATCH' [ 304s] 46 | ADD_ID_MATCH(env->conn, 0, ADD, KDBUS_MATCH_ID_ANY); [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:49:9: note: in expansion of macro 'ASSERT_NONZERO' [ 304s] 49 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 304s] | ^~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:52:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 52 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:53:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 53 | ASSERT_NO_PENDING(env->conn); [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:55:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 55 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:55:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 55 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:55:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 55 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:56:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 56 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:56:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 56 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c: In function 'add_id_match_': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:34:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 34 | ASSERT_ZERO(kdbus_cmd_match_add(conn->fd, &buf.cmd)); [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c: In function 'kdbus_test_match_id_remove': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:70:9: note: in expansion of macro 'ASSERT_NONZERO' [ 304s] 70 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 304s] | ^~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:38:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 38 | ASSERT_ZERO(add_id_match_((CONN),(FLAGS),KDBUS_ITEM_ID_##NOTIFICATION_TYPE,(ID))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:74:9: note: in expansion of macro 'ADD_ID_MATCH' [ 304s] 74 | ADD_ID_MATCH(env->conn, 0, REMOVE, id); [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:80:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 80 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:82:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 82 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:82:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 82 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:82:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 82 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:83:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 83 | ASSERT_RETURN(msg->items[0].id_change.id,==,id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:83:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 83 | ASSERT_RETURN(msg->items[0].id_change.id,==,id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c: In function 'kdbus_test_match_replace': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:95:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 95 | ASSERT_RETURN(kdbus_test_match_id_add(env),==,TEST_OK); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:38:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 38 | ASSERT_ZERO(add_id_match_((CONN),(FLAGS),KDBUS_ITEM_ID_##NOTIFICATION_TYPE,(ID))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:98:9: note: in expansion of macro 'ADD_ID_MATCH' [ 304s] 98 | ADD_ID_MATCH(env->conn, KDBUS_MATCH_REPLACE, REMOVE, KDBUS_MATCH_ID_ANY); [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:101:9: note: in expansion of macro 'ASSERT_NONZERO' [ 304s] 101 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 304s] | ^~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:105:9: note: in expansion of macro 'ASSERT_NONZERO' [ 304s] 105 | ASSERT_NONZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 304s] | ^~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:111:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 111 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:113:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 113 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:113:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 113 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:113:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 113 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:114:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 114 | ASSERT_RETURN(msg->items[0].id_change.id,==,id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:114:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 114 | ASSERT_RETURN(msg->items[0].id_change.id,==,id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c: In function 'kdbus_test_match_name_add': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:187:9: note: in expansion of macro 'ASSERT_NONZERO' [ 304s] 187 | ASSERT_NONZERO(listener = kdbus_hello(env->buspath, 0, NULL, 0)); [ 304s] | ^~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:190:9: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 190 | ADD_NAME_MATCH(env->conn, 0, KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, ADD, name); [ 304s] | ^~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:193:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 193 | ASSERT_ZERO(kdbus_test_match_name_add_(env, name, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:194:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 194 | ASSERT_NO_PENDING(listener); [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:197:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 197 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, KDBUS_MATCH_ID_ANY, (ID), ADD, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:201:17: note: in expansion of macro 'CHECK' [ 304s] 201 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:198:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 198 | ASSERT_ZERO(kdbus_test_match_name_add_(env, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:201:17: note: in expansion of macro 'CHECK' [ 304s] 201 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:199:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 199 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:201:17: note: in expansion of macro 'CHECK' [ 304s] 201 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:197:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 197 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, KDBUS_MATCH_ID_ANY, (ID), ADD, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:202:17: note: in expansion of macro 'CHECK' [ 304s] 202 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:198:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 198 | ASSERT_ZERO(kdbus_test_match_name_add_(env, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:202:17: note: in expansion of macro 'CHECK' [ 304s] 202 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:199:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 199 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:202:17: note: in expansion of macro 'CHECK' [ 304s] 202 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:197:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 197 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, KDBUS_MATCH_ID_ANY, (ID), ADD, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:203:17: note: in expansion of macro 'CHECK' [ 304s] 203 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:198:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 198 | ASSERT_ZERO(kdbus_test_match_name_add_(env, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:203:17: note: in expansion of macro 'CHECK' [ 304s] 203 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:199:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 199 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:203:17: note: in expansion of macro 'CHECK' [ 304s] 203 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:197:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 197 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, KDBUS_MATCH_ID_ANY, (ID), ADD, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:204:17: note: in expansion of macro 'CHECK' [ 304s] 204 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:198:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 198 | ASSERT_ZERO(kdbus_test_match_name_add_(env, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:204:17: note: in expansion of macro 'CHECK' [ 304s] 204 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:199:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 199 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:204:17: note: in expansion of macro 'CHECK' [ 304s] 204 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 304s] | ^~~~~ [ 304s] test-match.c: In function 'add_name_match_': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:145:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 145 | ASSERT_ZERO(kdbus_cmd_match_add(conn->fd, &buf.cmd)); [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c: In function 'kdbus_test_match_name_add_': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:169:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 169 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:171:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 304s] 171 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), 0, env->conn->id, ADD, name) [ 304s] | ^~~~~~~~~~~~~~~~~~~ [ 304s] test-match.c:172:17: note: in expansion of macro 'CHECK' [ 304s] 172 | CHECK(env->conn); [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:171:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 304s] 171 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), 0, env->conn->id, ADD, name) [ 304s] | ^~~~~~~~~~~~~~~~~~~ [ 304s] test-match.c:174:25: note: in expansion of macro 'CHECK' [ 304s] 174 | CHECK(listener); [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:177:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 177 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c: In function 'assert_single_match_': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:154:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 154 | ASSERT_ZERO(kdbus_msg_recv(conn, &msg, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:155:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 155 | ASSERT_RETURN(msg->items[0].type,==,notification_type); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:155:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 155 | ASSERT_RETURN(msg->items[0].type,==,notification_type); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:156:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 156 | ASSERT_RETURN(msg->items[0].name_change.old_id.id,==,old_id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:156:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 156 | ASSERT_RETURN(msg->items[0].name_change.old_id.id,==,old_id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:157:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 157 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,new_id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:157:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 157 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,new_id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:158:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 158 | ASSERT_ZERO(strcmp(msg->items[0].name_change.name, name)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:159:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 159 | ASSERT_ZERO(kdbus_free_msg(conn, msg)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:160:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 160 | ASSERT_NO_PENDING(conn); [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c: In function 'kdbus_test_match_name_remove': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:234:9: note: in expansion of macro 'ASSERT_NONZERO' [ 304s] 234 | ASSERT_NONZERO(listener = kdbus_hello(env->buspath, 0, NULL, 0)); [ 304s] | ^~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:237:9: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 237 | ADD_NAME_MATCH(env->conn, 0, KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, REMOVE, name); [ 304s] | ^~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:240:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 240 | ASSERT_ZERO(kdbus_test_match_name_remove_(env, name, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:241:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 241 | ASSERT_NO_PENDING(listener); [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:244:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 244 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (ID), KDBUS_MATCH_ID_ANY, REMOVE, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:248:17: note: in expansion of macro 'CHECK' [ 304s] 248 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:245:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 245 | ASSERT_ZERO(kdbus_test_match_name_remove_(env, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:248:17: note: in expansion of macro 'CHECK' [ 304s] 248 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:246:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 246 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:248:17: note: in expansion of macro 'CHECK' [ 304s] 248 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:244:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 244 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (ID), KDBUS_MATCH_ID_ANY, REMOVE, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:249:17: note: in expansion of macro 'CHECK' [ 304s] 249 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:245:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 245 | ASSERT_ZERO(kdbus_test_match_name_remove_(env, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:249:17: note: in expansion of macro 'CHECK' [ 304s] 249 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:246:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 246 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:249:17: note: in expansion of macro 'CHECK' [ 304s] 249 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:244:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 244 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (ID), KDBUS_MATCH_ID_ANY, REMOVE, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:250:17: note: in expansion of macro 'CHECK' [ 304s] 250 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:245:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 245 | ASSERT_ZERO(kdbus_test_match_name_remove_(env, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:250:17: note: in expansion of macro 'CHECK' [ 304s] 250 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:246:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 246 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:250:17: note: in expansion of macro 'CHECK' [ 304s] 250 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:244:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 244 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (ID), KDBUS_MATCH_ID_ANY, REMOVE, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:251:17: note: in expansion of macro 'CHECK' [ 304s] 251 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:245:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 245 | ASSERT_ZERO(kdbus_test_match_name_remove_(env, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:251:17: note: in expansion of macro 'CHECK' [ 304s] 251 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:246:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 246 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:251:17: note: in expansion of macro 'CHECK' [ 304s] 251 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 304s] | ^~~~~ [ 304s] test-match.c: In function 'kdbus_test_match_name_remove_': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:214:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 214 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:217:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 217 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:220:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 304s] 220 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), env->conn->id, 0, REMOVE, name) [ 304s] | ^~~~~~~~~~~~~~~~~~~ [ 304s] test-match.c:221:17: note: in expansion of macro 'CHECK' [ 304s] 221 | CHECK(env->conn); [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:220:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 304s] 220 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), env->conn->id, 0, REMOVE, name) [ 304s] | ^~~~~~~~~~~~~~~~~~~ [ 304s] test-match.c:223:25: note: in expansion of macro 'CHECK' [ 304s] 223 | CHECK(listener); [ 304s] | ^~~~~ [ 304s] test-match.c: In function 'kdbus_test_match_name_change': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:292:9: note: in expansion of macro 'ASSERT_NONZERO' [ 304s] 292 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 304s] | ^~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:294:9: note: in expansion of macro 'ASSERT_NONZERO' [ 304s] 294 | ASSERT_NONZERO(listener = kdbus_hello(env->buspath, 0, NULL, 0)); [ 304s] | ^~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:296:9: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 296 | ADD_NAME_MATCH(env->conn, 0, KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, CHANGE, name); [ 304s] | ^~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:299:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 299 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:300:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 300 | ASSERT_NO_PENDING(listener); [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:307:17: note: in expansion of macro 'CHECK' [ 304s] 307 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:307:17: note: in expansion of macro 'CHECK' [ 304s] 307 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 305 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:307:17: note: in expansion of macro 'CHECK' [ 304s] 307 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:308:17: note: in expansion of macro 'CHECK' [ 304s] 308 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:308:17: note: in expansion of macro 'CHECK' [ 304s] 308 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 305 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:308:17: note: in expansion of macro 'CHECK' [ 304s] 308 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:310:17: note: in expansion of macro 'CHECK' [ 304s] 310 | CHECK(env->conn->id, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name + good id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:310:17: note: in expansion of macro 'CHECK' [ 304s] 310 | CHECK(env->conn->id, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name + good id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 305 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:310:17: note: in expansion of macro 'CHECK' [ 304s] 310 | CHECK(env->conn->id, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name + good id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:311:17: note: in expansion of macro 'CHECK' [ 304s] 311 | CHECK(env->conn->id + 1, KDBUS_MATCH_ID_ANY, NULL, NULL); /* wildcard name + bad id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:311:17: note: in expansion of macro 'CHECK' [ 304s] 311 | CHECK(env->conn->id + 1, KDBUS_MATCH_ID_ANY, NULL, NULL); /* wildcard name + bad id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 305 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:311:17: note: in expansion of macro 'CHECK' [ 304s] 311 | CHECK(env->conn->id + 1, KDBUS_MATCH_ID_ANY, NULL, NULL); /* wildcard name + bad id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:313:17: note: in expansion of macro 'CHECK' [ 304s] 313 | CHECK(KDBUS_MATCH_ID_ANY, conn->id, NULL, listener); /* good id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:313:17: note: in expansion of macro 'CHECK' [ 304s] 313 | CHECK(KDBUS_MATCH_ID_ANY, conn->id, NULL, listener); /* good id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 305 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:313:17: note: in expansion of macro 'CHECK' [ 304s] 313 | CHECK(KDBUS_MATCH_ID_ANY, conn->id, NULL, listener); /* good id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:314:17: note: in expansion of macro 'CHECK' [ 304s] 314 | CHECK(KDBUS_MATCH_ID_ANY, conn->id + 1, NULL, NULL); /* bad id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:314:17: note: in expansion of macro 'CHECK' [ 304s] 314 | CHECK(KDBUS_MATCH_ID_ANY, conn->id + 1, NULL, NULL); /* bad id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 305 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:314:17: note: in expansion of macro 'CHECK' [ 304s] 314 | CHECK(KDBUS_MATCH_ID_ANY, conn->id + 1, NULL, NULL); /* bad id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:316:17: note: in expansion of macro 'CHECK' [ 304s] 316 | CHECK(env->conn->id, conn->id, NULL, listener); /* wildcard name + good id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:316:17: note: in expansion of macro 'CHECK' [ 304s] 316 | CHECK(env->conn->id, conn->id, NULL, listener); /* wildcard name + good id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 305 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:316:17: note: in expansion of macro 'CHECK' [ 304s] 316 | CHECK(env->conn->id, conn->id, NULL, listener); /* wildcard name + good id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:318:17: note: in expansion of macro 'CHECK' [ 304s] 318 | CHECK(env->conn->id + 1, conn->id, NULL, NULL); /* wildcard name + bad id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:318:17: note: in expansion of macro 'CHECK' [ 304s] 318 | CHECK(env->conn->id + 1, conn->id, NULL, NULL); /* wildcard name + bad id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 305 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:318:17: note: in expansion of macro 'CHECK' [ 304s] 318 | CHECK(env->conn->id + 1, conn->id, NULL, NULL); /* wildcard name + bad id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 304s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 304s] | ^~~~~~~~~~~~~~ [ 304s] test-match.c:319:17: note: in expansion of macro 'CHECK' [ 304s] 319 | CHECK(env->conn->id, conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:319:17: note: in expansion of macro 'CHECK' [ 304s] 319 | CHECK(env->conn->id, conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 305 | ASSERT_NO_PENDING(listener);\ [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c:319:17: note: in expansion of macro 'CHECK' [ 304s] 319 | CHECK(env->conn->id, conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:322:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 322 | ASSERT_NO_PENDING(conn); [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] test-match.c: In function 'kdbus_test_match_name_change_': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:263:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 263 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:268:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 268 | ASSERT_ZERO(kdbus_name_acquire(conn, name, &flags)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:269:9: note: in expansion of macro 'ASSERT_NONZERO' [ 304s] 269 | ASSERT_NONZERO(flags & KDBUS_NAME_IN_QUEUE); [ 304s] | ^~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:272:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 272 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:275:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 304s] 275 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), env->conn->id, conn->id, CHANGE, name) [ 304s] | ^~~~~~~~~~~~~~~~~~~ [ 304s] test-match.c:276:17: note: in expansion of macro 'CHECK' [ 304s] 276 | CHECK(env->conn); [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c:275:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 304s] 275 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), env->conn->id, conn->id, CHANGE, name) [ 304s] | ^~~~~~~~~~~~~~~~~~~ [ 304s] test-match.c:278:25: note: in expansion of macro 'CHECK' [ 304s] 278 | CHECK(listener); [ 304s] | ^~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:281:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 281 | ASSERT_ZERO(kdbus_name_release(conn, name)); [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c: In function 'kdbus_test_match_bloom': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:401:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 401 | ASSERT_ZERO(kdbus_cmd_match_add(env->conn->fd, &buf.cmd)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:404:9: note: in expansion of macro 'ASSERT_NONZERO' [ 304s] 404 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 304s] | ^~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:408:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 408 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 0)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:410:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 410 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(env->conn, &msg, NULL)); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:415:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 415 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 0)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:417:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 417 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:418:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 418 | ASSERT_RETURN(msg->cookie,==,cookie); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:418:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 418 | ASSERT_RETURN(msg->cookie,==,cookie); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:424:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 424 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 0)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:426:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 426 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:427:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 427 | ASSERT_RETURN(msg->cookie,==,cookie); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:427:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 427 | ASSERT_RETURN(msg->cookie,==,cookie); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:430:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 430 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 1)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:432:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 432 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(env->conn, &msg, NULL)); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:437:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 437 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 1)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:439:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 439 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:440:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 440 | ASSERT_RETURN(msg->cookie,==,cookie); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:440:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 440 | ASSERT_RETURN(msg->cookie,==,cookie); [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c: In function 'kdbus_test_big_metadata': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:492:9: note: in expansion of macro 'ASSERT_NONZERO' [ 304s] 492 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 304s] | ^~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:496:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 496 | ASSERT_ZERO(kdbus_name_acquire(conn, buf, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:501:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 501 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, 1, 0, 0, 0, env->conn->id)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:505:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 505 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:508:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 508 | ASSERT_ZERO(has_all_names(msg->items, msg->size - offsetof(typeof(*msg), items))); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:512:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 512 | ASSERT_ZERO(kdbus_conn_info(env->conn, conn->id, NULL, _KDBUS_ATTACH_ALL, &offset)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:514:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 514 | ASSERT_RETURN(info->id,==,conn->id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:514:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 514 | ASSERT_RETURN(info->id,==,conn->id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:515:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 515 | ASSERT_ZERO(has_all_names(info->items, info->size - offsetof(typeof(*info), items))); [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c: In function 'has_all_names': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:459:25: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 459 | ASSERT_RETURN(255u,==,strlen(item->name.name)); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:460:25: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 460 | ASSERT_RETURN(0,==,memcmp(item->name.name, "big.n", 5)); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:462:33: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 462 | ASSERT_RETURN('0',==,(int)item->name.name[i]); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:463:25: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 463 | ASSERT_RETURN('0',<=,(int)item->name.name[252]); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:464:25: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 464 | ASSERT_RETURN((int)item->name.name[252],<=,'9'); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:465:25: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 465 | ASSERT_RETURN('0',<=,(int)item->name.name[253]); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:466:25: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 466 | ASSERT_RETURN((int)item->name.name[253],<=,'9'); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:467:25: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 467 | ASSERT_RETURN('0',<=,(int)item->name.name[254]); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:468:25: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 468 | ASSERT_RETURN((int)item->name.name[254],<=,'9'); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:470:25: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 470 | ASSERT_RETURN(0,<=,i); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:471:25: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 471 | ASSERT_RETURN(i,<,256); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:472:25: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 472 | ASSERT_ZERO((int)seen[i]); [ 304s] | ^~~~~~~~~~~ [ 304s] test-match.c: In function 'kdbus_test_match_itemless': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:536:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 536 | ASSERT_ZERO(kdbus_cmd_match_add(env->conn->fd, &cmd)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:539:9: note: in expansion of macro 'ASSERT_NONZERO' [ 304s] 539 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 304s] | ^~~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:542:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 542 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:543:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 543 | ASSERT_NO_PENDING(env->conn); [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:544:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 544 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:544:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 544 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:544:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 544 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:545:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 545 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:545:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 545 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:549:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 549 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 0)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:551:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 551 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:552:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 552 | ASSERT_NO_PENDING(env->conn); [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:553:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 553 | ASSERT_RETURN(msg->cookie,==,cookie); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:553:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 553 | ASSERT_RETURN(msg->cookie,==,cookie); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:555:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 555 | ASSERT_ZERO(kdbus_name_acquire(conn, "mein.volk", NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:557:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 557 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:558:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 558 | ASSERT_NO_PENDING(env->conn); [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:559:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 559 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:559:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 559 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:559:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 559 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:560:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 560 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,conn->id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:560:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 560 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,conn->id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:562:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 562 | ASSERT_ZERO(kdbus_name_release(conn, "mein.volk")); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:564:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 564 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:565:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 565 | ASSERT_NO_PENDING(env->conn); [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:566:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 566 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_REMOVE); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:566:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 566 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_REMOVE); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:566:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 566 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_REMOVE); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:567:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 567 | ASSERT_RETURN(msg->items[0].name_change.old_id.id,==,conn->id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:567:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 567 | ASSERT_RETURN(msg->items[0].name_change.old_id.id,==,conn->id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:572:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 572 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:573:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 573 | ASSERT_NO_PENDING(env->conn); [ 304s] | ^~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:574:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 574 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:574:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 574 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:574:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 574 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:575:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 575 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-match.c:575:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 575 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-match.c:577:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 304s] 577 | ASSERT_NO_PENDING(env->conn); [ 304s] | ^~~~~~~~~~~~~~~~~ [ 308s] 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 [ 308s] In file included from test-message.c:19: [ 308s] test-message.c: In function 'kdbus_test_message_basic': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:38:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 38 | ASSERT_NONZERO(sender = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:41:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 41 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:43:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 43 | ASSERT_ZERO(kdbus_add_match_empty(conn)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:45:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 45 | ASSERT_ZERO(kdbus_add_match_empty(sender)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:48:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 48 | ASSERT_ZERO(kdbus_msg_send(sender, NULL, cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:51:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 51 | ASSERT_ZERO(kdbus_msg_recv(sender, &msg, &offset)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:52:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 52 | ASSERT_RETURN(msg->cookie,==,cookie); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:52:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 52 | ASSERT_RETURN(msg->cookie,==,cookie); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:56:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 56 | ASSERT_ZERO(kdbus_msg_recv_poll(conn, 100, &msg, &offset)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:57:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 57 | ASSERT_RETURN(msg->cookie,==,cookie); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:57:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 57 | ASSERT_RETURN(msg->cookie,==,cookie); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:62:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 62 | ASSERT_RETURN(-EINVAL,==,kdbus_msg_send(sender, NULL, 0, KDBUS_MSG_EXPECT_REPLY, 1000000000, 0, conn->id)); /* no cookie */ [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:63:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 63 | ASSERT_RETURN(-EINVAL,==,kdbus_msg_send(sender, NULL, 1, KDBUS_MSG_EXPECT_REPLY, 0, 0, conn->id)); /* no timeout */ [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:64:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 64 | ASSERT_RETURN(-EINVAL,==,kdbus_msg_send(sender, NULL, 0, KDBUS_MSG_EXPECT_REPLY, 0, 0, conn->id)); /* neither cookie nor timeout */ [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:67:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 67 | ASSERT_RETURN(ONTIZEN(0,-EBADSLT),==,kdbus_msg_send_reply(conn, time(NULL) ^ cookie, sender->id)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:69:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 69 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 308s] | ^~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_message_prio': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:120:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 120 | ASSERT_NONZERO(a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:121:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 121 | ASSERT_NONZERO(b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:123:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 123 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, 25, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:124:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 124 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -600, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:125:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 125 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, 10, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:126:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 126 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -35, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:127:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 127 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -100, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:128:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 128 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, 20, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:129:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 129 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -15, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:130:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 130 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -800, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:131:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 131 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -150, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:132:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 132 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, 10, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:133:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 133 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -800, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:134:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 134 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -10, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:136:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 136 | ASSERT_ZERO(msg_recv_prio(a, -200, -800)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:137:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 137 | ASSERT_ZERO(msg_recv_prio(a, -100, -800)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:138:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 138 | ASSERT_ZERO(msg_recv_prio(a, -400, -600)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:139:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 139 | ASSERT_RETURN(msg_recv_prio(a, -400, -600),==,-EAGAIN); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:140:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 140 | ASSERT_ZERO(msg_recv_prio(a, 10, -150)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:141:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 141 | ASSERT_ZERO(msg_recv_prio(a, 10, -100)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:144:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 144 | ASSERT_ZERO(kdbus_msg_recv(a, NULL, NULL)); [ 308s] | ^~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_activator_quota': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:275:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 275 | ASSERT_NONZERO(activator = kdbus_hello_activator(env->buspath, "foo.test.activator", &access, 1)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:277:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 277 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:278:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 278 | ASSERT_NONZERO(sender = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:280:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 280 | ASSERT_ZERO(kdbus_list(sender, KDBUS_LIST_NAMES | KDBUS_LIST_UNIQUE | KDBUS_LIST_ACTIVATORS | KDBUS_LIST_QUEUED)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:285:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 285 | ASSERT_RETURN(i,<=,KDBUS_CONN_MAX_MSGS);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:293:9: note: in expansion of macro 'EXHAUST' [ 308s] 293 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, "foo.test.activator", ++cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:287:25: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 287 | ASSERT_RETURN((EXPECTERR),==,ret);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:293:9: note: in expansion of macro 'EXHAUST' [ 308s] 293 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, "foo.test.activator", ++cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:288:25: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 288 | ASSERT_RETURN(i,<,KDBUS_CONN_MAX_MSGS);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:293:9: note: in expansion of macro 'EXHAUST' [ 308s] 293 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, "foo.test.activator", ++cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 308s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:297:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 308s] 297 | ASSERT_RETURN_VAL(i,>,0U, -errno); [ 308s] | ^~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:302:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 302 | ASSERT_RETURN(-ENXIO,==,kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, activator->id)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:305:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 305 | ASSERT_RETURN(-ENOBUFS,==,kdbus_msg_send(conn, "foo.test.activator", ++cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:308:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 308 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:311:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 311 | ASSERT_ZERO(kdbus_cmd_recv(activator->fd, &recv)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:312:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 312 | ASSERT_ZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:312:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 312 | ASSERT_ZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:312:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 312 | ASSERT_ZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:315:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 315 | ASSERT_RETURN(msg->src_id,==,sender->id); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:315:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 315 | ASSERT_RETURN(msg->src_id,==,sender->id); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:316:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 316 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:316:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 316 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:316:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 316 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:285:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 285 | ASSERT_RETURN(i,<=,KDBUS_CONN_MAX_MSGS);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:324:9: note: in expansion of macro 'EXHAUST' [ 308s] 324 | EXHAUST(-ENOBUFS,kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, conn->id)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:287:25: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 287 | ASSERT_RETURN((EXPECTERR),==,ret);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:324:9: note: in expansion of macro 'EXHAUST' [ 308s] 324 | EXHAUST(-ENOBUFS,kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, conn->id)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:288:25: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 288 | ASSERT_RETURN(i,<,KDBUS_CONN_MAX_MSGS);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:324:9: note: in expansion of macro 'EXHAUST' [ 308s] 324 | EXHAUST(-ENOBUFS,kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, conn->id)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:329:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 329 | ASSERT_ZERO(kdbus_cmd_recv(conn->fd, &recv)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:330:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 330 | ASSERT_ZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:330:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 330 | ASSERT_ZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:330:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 330 | ASSERT_ZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:335:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 335 | ASSERT_ZERO(kdbus_name_acquire(conn, "foo.test.activator", &flags)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:340:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 340 | ASSERT_ZERO(kdbus_cmd_recv(conn->fd, &recv)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:341:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 341 | ASSERT_NONZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:341:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 341 | ASSERT_NONZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:341:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 341 | ASSERT_NONZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:344:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 344 | ASSERT_RETURN(recv.dropped_msgs,<,activator_msgs_count); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:344:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 344 | ASSERT_RETURN(recv.dropped_msgs,<,activator_msgs_count); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:356:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 356 | ASSERT_ZERO(kdbus_name_release(conn, "foo.test.activator")); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:359:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 359 | ASSERT_ZERO(kdbus_msg_recv(activator, &msg, NULL)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:360:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 360 | ASSERT_RETURN(msg->src_id,==,sender->id); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:360:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 360 | ASSERT_RETURN(msg->src_id,==,sender->id); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:361:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 361 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:361:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 361 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:361:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 361 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:285:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 285 | ASSERT_RETURN(i,<=,KDBUS_CONN_MAX_MSGS);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:369:9: note: in expansion of macro 'EXHAUST' [ 308s] 369 | EXHAUST(-EAGAIN,kdbus_msg_recv(conn, NULL, NULL)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:287:25: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 287 | ASSERT_RETURN((EXPECTERR),==,ret);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:369:9: note: in expansion of macro 'EXHAUST' [ 308s] 369 | EXHAUST(-EAGAIN,kdbus_msg_recv(conn, NULL, NULL)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:288:25: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 288 | ASSERT_RETURN(i,<,KDBUS_CONN_MAX_MSGS);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:369:9: note: in expansion of macro 'EXHAUST' [ 308s] 369 | EXHAUST(-EAGAIN,kdbus_msg_recv(conn, NULL, NULL)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:285:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 285 | ASSERT_RETURN(i,<=,KDBUS_CONN_MAX_MSGS);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:370:9: note: in expansion of macro 'EXHAUST' [ 308s] 370 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, NULL, ++cookie, 0, 0, 0, conn->id)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:287:25: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 287 | ASSERT_RETURN((EXPECTERR),==,ret);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:370:9: note: in expansion of macro 'EXHAUST' [ 308s] 370 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, NULL, ++cookie, 0, 0, 0, conn->id)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:288:25: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 288 | ASSERT_RETURN(i,<,KDBUS_CONN_MAX_MSGS);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:370:9: note: in expansion of macro 'EXHAUST' [ 308s] 370 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, NULL, ++cookie, 0, 0, 0, conn->id)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:374:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 374 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(activator, NULL, NULL)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:378:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 378 | ASSERT_ZERO(kdbus_name_acquire(conn, "foo.test.activator", &flags)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:388:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 388 | ASSERT_ZERO(kdbus_cmd_recv(conn->fd, &recv)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:389:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 389 | ASSERT_RETURN(recv.dropped_msgs,==,activator_msgs_count); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:389:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 389 | ASSERT_RETURN(recv.dropped_msgs,==,activator_msgs_count); [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_pool_quota': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 308s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:524:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 308s] 524 | ASSERT_RETURN_VAL(payload,!=,NULL, -ENOMEM); [ 308s] | ^~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:526:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 526 | ASSERT_NONZERO(a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:527:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 527 | ASSERT_NONZERO(b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:528:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 528 | ASSERT_NONZERO(c = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 308s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:534:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 308s] 534 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 308s] | ^~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 308s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:562:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 308s] 562 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 308s] | ^~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:567:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 567 | ASSERT_RETURN(-ENOBUFS,==,kdbus_cmd_send(a->fd, &cmd)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:570:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 570 | ASSERT_ZERO(kdbus_msg_send(b, NULL, cookie++, 0, 0, 0, c->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:573:17: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 573 | ASSERT_ZERO(kdbus_msg_recv(c, &recv_msg, NULL)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:574:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 574 | ASSERT_RETURN(recv_msg->src_id,==,a->id); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:574:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 574 | ASSERT_RETURN(recv_msg->src_id,==,a->id); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:579:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 579 | ASSERT_ZERO(kdbus_msg_recv(c, &recv_msg, NULL)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:580:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 580 | ASSERT_RETURN(recv_msg->src_id,==,b->id); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:580:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 580 | ASSERT_RETURN(recv_msg->src_id,==,b->id); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:584:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 584 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(c, NULL, NULL)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_message_quota': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:602:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 602 | ASSERT_ZERO(kdbus_test_notify_kernel_quota(env)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:604:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 604 | ASSERT_ZERO(kdbus_test_pool_quota(env)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:606:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 606 | ASSERT_ZERO(kdbus_test_expected_reply_timeouts_or_quota(env)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:608:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 608 | ASSERT_ZERO(kdbus_test_expected_reply_quota(env)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:613:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 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)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:615:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 615 | ASSERT_RETURN(-ENOBUFS,==,kdbus_msg_send(b, NULL, ++cookie, 0, 0, 0, a->id)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:618:17: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 618 | ASSERT_ZERO(kdbus_msg_recv(a, NULL, NULL)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:620:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 620 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(a, NULL, NULL)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:622:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 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)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:624:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 624 | ASSERT_RETURN(-ENOBUFS,==,kdbus_msg_send(b, NULL, ++cookie, 0, 0, 0, a->id)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_notify_kernel_quota': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:160:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 160 | ASSERT_NONZERO(reader = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:161:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 161 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 164 | ASSERT_ZERO(kdbus_add_match_id(reader, 0x1, KDBUS_ITEM_ID_ADD, KDBUS_MATCH_ID_ANY)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:166:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 166 | ASSERT_ZERO(kdbus_add_match_id(reader, 0x2, KDBUS_ITEM_ID_REMOVE, KDBUS_MATCH_ID_ANY)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:171:17: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 171 | ASSERT_NONZERO(notifier = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:179:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 179 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, 0xdeadbeef, 0, 0, 0, reader->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:184:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 184 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:192:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 192 | ASSERT_ZERO(kdbus_cmd_recv(reader->fd, &recv)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:193:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 193 | ASSERT_NONZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:193:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 193 | ASSERT_NONZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:193:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 193 | ASSERT_NONZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 194 | ASSERT_RETURN(recv.dropped_msgs,==,3U); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 194 | ASSERT_RETURN(recv.dropped_msgs,==,3U); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:204:17: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 204 | ASSERT_ZERO(kdbus_cmd_recv(reader->fd, &recv)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:205:17: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 205 | ASSERT_ZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:205:17: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 205 | ASSERT_ZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:205:17: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 205 | ASSERT_ZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:211:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 211 | ASSERT_ZERO(kdbus_msg_recv(reader, NULL, NULL)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:213:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 213 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(reader, NULL, NULL)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_expected_reply_timeouts_or_quota': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:435:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 435 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:438:17: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 438 | ASSERT_NONZERO(connections[i] = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:445:25: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 445 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, first_cookie + i + n*TIMEOUT_CONNECTION_COUNT, [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:450:25: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 450 | ASSERT_ZERO(kdbus_msg_recv(connections[i], NULL, NULL)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:455:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 455 | ASSERT_ZERO(kdbus_test_expected_reply_validate_timeouts(conn, first_cookie, KDBUS_ITEM_REPLY_TIMEOUT)); [ 308s] | ^~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_expected_reply_validate_timeouts': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:411:17: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 411 | ASSERT_ZERO(timeout_msg_recv(conn, type, &cookie_reply, &seqnum, &monotonic_ns, &realtime_ns)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:412:37: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 412 | #define A(W,R) do { ASSERT_RETURN(prev_##W,R,W); prev_##W = W; } while (0); [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:413:25: note: in expansion of macro 'A' [ 308s] 413 | A(seqnum,<) [ 308s] | ^ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:412:37: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 412 | #define A(W,R) do { ASSERT_RETURN(prev_##W,R,W); prev_##W = W; } while (0); [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:414:25: note: in expansion of macro 'A' [ 308s] 414 | A(monotonic_ns,<=) [ 308s] | ^ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:412:37: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 412 | #define A(W,R) do { ASSERT_RETURN(prev_##W,R,W); prev_##W = W; } while (0); [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:415:25: note: in expansion of macro 'A' [ 308s] 415 | A(realtime_ns,<=) [ 308s] | ^ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:417:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 417 | ASSERT_RETURN(first_cookie,<=,cookie_reply); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:421:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 421 | ASSERT_RETURN(r,==,next_cookie[n]); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:424:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 308s] 424 | ASSERT_NO_PENDING(conn); [ 308s] | ^~~~~~~~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_expected_reply_quota': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:472:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 472 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:475:17: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 475 | ASSERT_NONZERO(connections[i] = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:480:25: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 480 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, first_cookie + i + n*TIMEOUT_CONNECTION_COUNT, [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:485:25: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 485 | ASSERT_ZERO(kdbus_msg_recv(connections[i], NULL, NULL)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:493:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 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)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:498:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 498 | ASSERT_ZERO(kdbus_test_expected_reply_validate_timeouts(conn, first_cookie, KDBUS_ITEM_REPLY_DEAD)); [ 308s] | ^~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_fill_conn_queue': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 308s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:234:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 308s] 234 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 308s] | ^~~~~~~~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_memory_access': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:673:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 673 | ASSERT_NONZERO(a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:674:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 674 | ASSERT_NONZERO(b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 308s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:680:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 308s] 680 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 308s] | ^~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:698:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 698 | ASSERT_RETURN(-EFAULT,==,kdbus_cmd_send(a->fd, &cmd)); [ 308s] | ^~~~~~~~~~~~~ [ 310s] test-message.c: In function 'kdbus_test_pool_quota': [ 310s] test-message.c:543:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 310s] 543 | item->type = KDBUS_ITEM_PAYLOAD_VEC; [ 310s] | ^~ [ 310s] test-message.c:533:15: note: at offset 64 into object of size 96 allocated by 'malloc' [ 310s] 533 | msg = malloc(size); [ 310s] | ^~~~~~~~~~~~ [ 310s] test-message.c:544:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 310s] 544 | item->size = KDBUS_ITEM_HEADER_SIZE + sizeof(struct kdbus_vec); [ 310s] | ^~ [ 310s] test-message.c:533:15: note: at offset 64 into object of size 96 allocated by 'malloc' [ 310s] 533 | msg = malloc(size); [ 310s] | ^~~~~~~~~~~~ [ 310s] test-message.c:545:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 310s] 545 | item->vec.address = (uintptr_t)payload; [ 310s] | ^~ [ 310s] test-message.c:533:15: note: at offset 64 into object of size 96 allocated by 'malloc' [ 310s] 533 | msg = malloc(size); [ 310s] | ^~~~~~~~~~~~ [ 310s] test-message.c:546:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 310s] 546 | item->vec.size = KDBUS_MSG_MAX_PAYLOAD_VEC_SIZE; [ 310s] | ^~ [ 310s] test-message.c:533:15: note: at offset 64 into object of size 96 allocated by 'malloc' [ 310s] 533 | msg = malloc(size); [ 310s] | ^~~~~~~~~~~~ [ 311s] test-message.c: In function 'kdbus_test_memory_access': [ 311s] test-message.c:689:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 311s] 689 | item->type = KDBUS_ITEM_PAYLOAD_VEC; [ 311s] | ^~ [ 311s] In file included from /usr/include/stdlib.h:706, [ 311s] from test-message.c:4: [ 311s] test-message.c:679:15: note: at offset 64 into object of size 96 allocated by '__builtin_alloca' [ 311s] 679 | msg = alloca(size); [ 311s] | ^~~~~~ [ 311s] test-message.c:690:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 311s] 690 | item->size = KDBUS_ITEM_HEADER_SIZE + sizeof(struct kdbus_vec); [ 311s] | ^~ [ 311s] test-message.c:679:15: note: at offset 64 into object of size 96 allocated by '__builtin_alloca' [ 311s] 679 | msg = alloca(size); [ 311s] | ^~~~~~ [ 311s] test-message.c:691:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 311s] 691 | item->vec.address = test_addr; [ 311s] | ^~ [ 311s] test-message.c:679:15: note: at offset 64 into object of size 96 allocated by '__builtin_alloca' [ 311s] 679 | msg = alloca(size); [ 311s] | ^~~~~~ [ 311s] test-message.c:692:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 311s] 692 | item->vec.size = sizeof(void*); [ 311s] | ^~ [ 311s] test-message.c:679:15: note: at offset 64 into object of size 96 allocated by '__builtin_alloca' [ 311s] 679 | msg = alloca(size); [ 311s] | ^~~~~~ [ 311s] 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 [ 311s] In file included from test-metadata-ns.c:26: [ 311s] test-metadata-ns.c: In function 'kdbus_test_metadata_ns': [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:420:9: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 420 | ASSERT_RETURN(ret,>=,0); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:426:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 426 | ASSERT_NONZERO(holder = kdbus_hello_registrar(env->buspath, "com.example.metadata", &policy_access, 1, KDBUS_HELLO_POLICY_HOLDER)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:428:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 428 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:430:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 430 | ASSERT_ZERO(kdbus_add_match_empty(conn)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:432:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 432 | ASSERT_ZERO(kdbus_name_acquire(conn, "com.example.metadata", NULL)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:434:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 434 | ASSERT_ZERO(kdbus_clone_userns_test(env->buspath, conn)); [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c: In function 'kdbus_clone_userns_test': [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:256:9: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 311s] 256 | ASSERT_EXIT_NONZERO(monitor = kdbus_hello(bus, KDBUS_HELLO_MONITOR, NULL, 0)); [ 311s] | ^~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 311s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:263:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 311s] 263 | ASSERT_RETURN_VAL(efd,>=,0, efd); [ 311s] | ^~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 311s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:268:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 311s] 268 | ASSERT_RETURN_VAL(pid,>=,0, -errno); [ 311s] | ^~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 311s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:272:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 311s] 272 | ASSERT_EXIT_VAL(ret,==,0, -errno); [ 311s] | ^~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:285:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 285 | ASSERT_ZERO(kdbus_msg_recv_poll(conn, 300, &msg, NULL)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:290:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 290 | ASSERT_ZERO(kdbus_match_kdbus_creds(msg, &unmapped_creds)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:298:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 298 | ASSERT_ZERO(kdbus_match_kdbus_pids(msg, &expected_pids)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:315:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 315 | ASSERT_ZERO(ret); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:319:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 319 | ASSERT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_CAPS)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:325:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 325 | ASSERT_ZERO(kdbus_match_kdbus_creds(msg, &unmapped_creds)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:331:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 331 | ASSERT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_PIDS)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:333:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 333 | ASSERT_NONZERO(memcmp(&item->pids, &unmapped_pids, sizeof(struct kdbus_pids))); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:339:9: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 339 | ASSERT_RETURN((uint64_t)pid,==,item->pids.ppid); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:339:9: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 339 | ASSERT_RETURN((uint64_t)pid,==,item->pids.ppid); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:349:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 349 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, 0xdeadbeef, 0, 0, 0, unpriv_conn_id)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:352:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 352 | ASSERT_ZERO(eventfd_write(efd, 1)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:358:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 358 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, 0xdeadbeef, 0, 0, 0, userns_conn_id)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:363:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 363 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, 0xdeadbeef, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:368:9: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 368 | ASSERT_RETURN(ret,>=,0); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:370:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 370 | ASSERT_NONZERO(WIFEXITED(status)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:371:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 371 | ASSERT_ZERO(WEXITSTATUS(status)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:385:25: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 385 | ASSERT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_PIDS)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:386:25: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 386 | ASSERT_NONZERO(item->pids.pid); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:386:25: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 386 | ASSERT_NONZERO(item->pids.pid); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:386:25: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 386 | ASSERT_NONZERO(item->pids.pid); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:387:25: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 387 | ASSERT_NONZERO(item->pids.tid != 0); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:388:25: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 388 | ASSERT_NONZERO(item->pids.ppid != 0); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] test-metadata-ns.c: In function '__kdbus_clone_userns_test': [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:93:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 93 | ASSERT_EXIT_ZERO(drop_privileges(UNPRIV_UID, UNPRIV_GID)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:95:9: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 311s] 95 | ASSERT_EXIT_NONZERO(unpriv_conn = kdbus_hello(bus, 0, NULL, 0)); [ 311s] | ^~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:97:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 97 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(unpriv_conn)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:104:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 104 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv_conn, NULL, cookie, 0, 0, 0, conn->id)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:118:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 118 | ASSERT_EXIT_ZERO(prctl(PR_SET_DUMPABLE, SUID_DUMP_USER)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-util.h:160:9: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 160 | ASSERT_RETURN(_efd_,>=,0); \ [ 311s] | ^~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 311s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 311s] | ^~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-util.h:165:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 165 | ASSERT_EXIT_ZERO(prctl(PR_SET_PDEATHSIG, SIGKILL)); \ [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 311s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 311s] | ^~~~~~~~~~~~~~~ [ 311s] In file included from kdbus-test.h:6: [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:130:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 311s] 130 | ASSERT_EXIT_NONZERO(userns_conn = kdbus_hello(bus, 0, NULL, 0)); [ 311s] | ^~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:132:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 132 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(userns_conn)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:135:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 135 | ASSERT_EXIT_ZERO(kdbus_msg_send(userns_conn, NULL, cookie, 0, 0, 0, conn->id)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:138:17: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 138 | ASSERT_RETURN(0,<=,eventfd_read(signal_fd, &event_status)); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:139:17: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 139 | ASSERT_RETURN(event_status,==,(eventfd_t)1); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:147:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 147 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(userns_conn, 300, &msg, NULL)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:148:17: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 148 | ASSERT_EXIT(msg->dst_id,==,userns_conn->id); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:148:17: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 148 | ASSERT_EXIT(msg->dst_id,==,userns_conn->id); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:150:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 311s] 150 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_CAPS)); [ 311s] | ^~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:153:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 153 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_creds(msg, &unmapped_creds)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:159:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 159 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_pids(msg, &unmapped_pids)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:170:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 170 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(userns_conn, 300, &msg, NULL)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:171:17: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 171 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:171:17: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 171 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:171:17: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 171 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:173:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 311s] 173 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_CAPS)); [ 311s] | ^~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:176:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 176 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_creds(msg, &unmapped_creds)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:182:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 182 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_pids(msg, &unmapped_pids)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:174:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 174 | _parent_setup_; \ [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:191:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 191 | ASSERT_EXIT_ZERO(userns_map_uid_gid(_pid_, "0 65534 1", "0 65534 1")); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-util.h:175:17: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 175 | ASSERT_RETURN(eventfd_write(_efd_, 1),>=,0); \ [ 311s] | ^~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 311s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 311s] | ^~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-util.h:178:17: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 178 | ASSERT_RETURN(_rpid_,==,_pid_); \ [ 311s] | ^~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 311s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 311s] | ^~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-util.h:179:17: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 179 | ASSERT_NONZERO(WIFEXITED(_ret_)); \ [ 311s] | ^~~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 311s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 311s] | ^~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-util.h:180:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 180 | ASSERT_ZERO(WEXITSTATUS(_ret_)); \ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 311s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 311s] | ^~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:204:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 204 | ASSERT_EXIT_ZERO(ret); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:211:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 211 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(unpriv_conn, 300, &msg, NULL)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:212:9: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 212 | ASSERT_EXIT(msg->dst_id,==,unpriv_conn->id); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:212:9: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 212 | ASSERT_EXIT(msg->dst_id,==,unpriv_conn->id); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:215:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 215 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_creds(msg, &privileged_creds)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:218:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 218 | ASSERT_ZERO(kdbus_match_kdbus_pids(msg, &parent_pids)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:227:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 227 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(unpriv_conn, 300, &msg, NULL)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:228:9: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 228 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:228:9: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 228 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:228:9: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 228 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:231:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 231 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_creds(msg, &privileged_creds)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:233:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 233 | ASSERT_ZERO(kdbus_match_kdbus_pids(msg, &parent_pids)); [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c: In function 'kdbus_match_kdbus_pids': [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:71:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 71 | ASSERT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_PIDS)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:72:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 72 | ASSERT_ZERO(memcmp(&item->pids, expected_pids, sizeof(struct kdbus_pids))); [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c: In function 'kdbus_match_kdbus_creds': [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:62:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 62 | ASSERT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_CREDS)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:63:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 63 | ASSERT_ZERO(memcmp(&item->creds, expected_creds, sizeof(struct kdbus_creds))); [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c: In function 'kdbus_test_metadata': [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:477:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 477 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:478:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 478 | ASSERT_ZERO(kdbus_name_acquire(conn, "dummy.name.yeah", NULL)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:483:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 483 | ASSERT_ZERO(kdbus_conn_update_attach_flags(env->conn, _KDBUS_ATTACH_ALL, attach_flags_recv)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:484:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 484 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, env->conn->id)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:485:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 485 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:452:25: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 452 | ASSERT_ZERO(have_name);\ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 487 | TEST_METADATA(msg); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:455:25: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 455 | ASSERT_ZERO(have_desc);\ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 487 | TEST_METADATA(msg); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:460:17: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 460 | ASSERT_NONZERO(have_name);\ [ 311s] | ^~~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 487 | TEST_METADATA(msg); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:462:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 462 | ASSERT_ZERO(have_name);\ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 487 | TEST_METADATA(msg); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:464:17: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 464 | ASSERT_NONZERO(have_desc);\ [ 311s] | ^~~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 487 | TEST_METADATA(msg); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:466:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 466 | ASSERT_ZERO(have_desc);\ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 487 | TEST_METADATA(msg); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:490:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 490 | ASSERT_ZERO(kdbus_free(env->conn, (uintptr_t)msg - (uintptr_t)env->conn->buf)); [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c: In function 'kdbus_test_metadata_conn_info': [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:502:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 502 | ASSERT_ZERO(kdbus_name_acquire(env->conn, "dummy.name.yeah", NULL)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:510:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 510 | ASSERT_ZERO(kdbus_conn_info(env->conn, env->conn->id, NULL, attach_flags_recv, &offset)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:512:17: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 512 | ASSERT_RETURN(info->id,==,env->conn->id); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:512:17: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 512 | ASSERT_RETURN(info->id,==,env->conn->id); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:452:25: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 452 | ASSERT_ZERO(have_name);\ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 514 | TEST_METADATA(info); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:455:25: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 455 | ASSERT_ZERO(have_desc);\ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 514 | TEST_METADATA(info); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:460:17: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 460 | ASSERT_NONZERO(have_name);\ [ 311s] | ^~~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 514 | TEST_METADATA(info); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:462:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 462 | ASSERT_ZERO(have_name);\ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 514 | TEST_METADATA(info); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:464:17: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 464 | ASSERT_NONZERO(have_desc);\ [ 311s] | ^~~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 514 | TEST_METADATA(info); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:466:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 466 | ASSERT_ZERO(have_desc);\ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 514 | TEST_METADATA(info); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:516:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 516 | ASSERT_ZERO(kdbus_free(env->conn, (uintptr_t)info - (uintptr_t)env->conn->buf)); [ 311s] | ^~~~~~~~~~~ [ 313s] 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 [ 314s] In file included from test-monitor.c:23: [ 314s] test-monitor.c: In function 'kdbus_test_monitor': [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:33:9: note: in expansion of macro 'ASSERT_NONZERO' [ 314s] 33 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 314s] | ^~~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:38:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 38 | ASSERT_ZERO(kdbus_add_match_id(conn, 0x1, KDBUS_ITEM_ID_ADD, KDBUS_MATCH_ID_ANY)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:39:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 39 | ASSERT_ZERO(kdbus_add_match_id(conn, 0x2, KDBUS_ITEM_ID_REMOVE, KDBUS_MATCH_ID_ANY)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:42:9: note: in expansion of macro 'ASSERT_NONZERO' [ 314s] 42 | ASSERT_NONZERO(monitor = kdbus_hello(env->buspath, KDBUS_HELLO_MONITOR, NULL, 0)); [ 314s] | ^~~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:45:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 45 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:48:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 48 | ASSERT_RETURN(-EOPNOTSUPP,==,kdbus_name_acquire(monitor, "foo.bar.baz", NULL)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:50:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 50 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, cookie, 0, 0, 0, conn->id)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:53:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 53 | ASSERT_ZERO(kdbus_msg_recv(conn, &msg, &offset)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 314s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:54:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 54 | ASSERT_RETURN(msg->cookie,==,cookie); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:54:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 54 | ASSERT_RETURN(msg->cookie,==,cookie); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:56:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 56 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:59:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 59 | ASSERT_ZERO(kdbus_msg_recv(monitor, &msg, &offset)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 314s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:60:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 60 | ASSERT_RETURN(msg->cookie,==,cookie); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:60:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 60 | ASSERT_RETURN(msg->cookie,==,cookie); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:63:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 63 | ASSERT_ZERO(kdbus_free(monitor, offset)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:66:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 66 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:69:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 69 | ASSERT_RETURN(-EOPNOTSUPP,==,kdbus_add_match_empty(monitor)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:72:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 72 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:75:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 75 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:78:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 78 | ASSERT_ZERO(kdbus_msg_recv_poll(monitor, 100, &msg, &offset)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 314s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:79:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 79 | ASSERT_RETURN(msg->cookie,==,cookie); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:79:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 79 | ASSERT_RETURN(msg->cookie,==,cookie); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:82:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 82 | ASSERT_ZERO(kdbus_free(monitor, offset)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:89:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 89 | ASSERT_ZERO(kdbus_conn_update_attach_flags(monitor, _KDBUS_ATTACH_ALL, 0)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:92:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 92 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:95:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 95 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:97:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 97 | ASSERT_ZERO(kdbus_msg_recv_poll(monitor, 100, &msg, &offset)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 314s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:98:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 98 | ASSERT_RETURN(msg->cookie,==,cookie); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:98:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 98 | ASSERT_RETURN(msg->cookie,==,cookie); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:100:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 100 | ASSERT_ZERO(kdbus_item_in_message(msg, KDBUS_ITEM_TIMESTAMP)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:103:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 103 | ASSERT_ZERO(kdbus_free(monitor, offset)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:109:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 109 | ASSERT_ZERO(kdbus_conn_update_attach_flags(monitor, _KDBUS_ATTACH_ALL, KDBUS_ATTACH_TIMESTAMP | KDBUS_ATTACH_CREDS)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:112:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 112 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:115:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 115 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:117:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 117 | ASSERT_ZERO(kdbus_msg_recv_poll(monitor, 100, &msg, &offset)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 314s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:118:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 118 | ASSERT_RETURN(msg->cookie,==,cookie); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:118:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 118 | ASSERT_RETURN(msg->cookie,==,cookie); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:120:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 120 | ASSERT_RETURN(1,==,kdbus_item_in_message(msg, KDBUS_ITEM_TIMESTAMP)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:122:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 122 | ASSERT_RETURN(1,==,kdbus_item_in_message(msg, KDBUS_ITEM_CREDS)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:125:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 125 | ASSERT_ZERO(kdbus_item_in_message(msg, KDBUS_ITEM_PID_COMM)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:128:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 128 | ASSERT_ZERO(kdbus_free(monitor, offset)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:131:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 131 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:135:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 135 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:141:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 141 | ASSERT_RETURN(ret,>=,0); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 314s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 314s] | ^~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 314s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 314s] | ^~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 314s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 314s] | ^~~~~~~~~~~~ [ 314s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 314s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 314s] | ^~~~~~~~~~~~~~~ [ 314s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 314s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 314s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 314s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 314s] | ^~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 314s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 314s] | ^~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 314s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 314s] | ^~~~~~~~~~ [ 314s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 314s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 314s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 314s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 314s] | ^~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:146:25: note: in expansion of macro 'ASSERT_EXIT' [ 314s] 146 | ASSERT_EXIT(errno,==,EPERM); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 314s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 314s] | ^~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 314s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 314s] | ^~~~~~~~~~ [ 314s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 314s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 314s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 314s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 314s] | ^~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-monitor.c:147:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 314s] 147 | ASSERT_EXIT_ZERO(monitor); [ 314s] | ^~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 314s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 314s] | ^~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 314s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 314s] | ^~~~~~~~~~ [ 314s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 314s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 314s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 314s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 314s] | ^~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 314s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 314s] | ^~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 314s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 314s] | ^~~~~~~~~~~~~~ [ 314s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 314s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 314s] | ^~~~~~~~~~ [ 314s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 314s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 314s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 314s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 314s] | ^~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 314s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 314s] | ^~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 314s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 314s] | ^~~~~~~~~~ [ 314s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 314s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 314s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 314s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 314s] | ^~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 314s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 314s] | ^~~~~~~~~~ [ 314s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 314s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 314s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 314s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 314s] | ^~~~~~~~~~~~~~~~ [ 315s] 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 [ 315s] In file included from test-names.c:18: [ 315s] test-names.c: In function 'kdbus_test_name_basic': [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:93:9: note: in expansion of macro 'ASSERT_NONZERO' [ 315s] 93 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 315s] | ^~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:96:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 96 | ASSERT_ZERO(kdbus_name_acquire(conn, "foo.bar.xxx", NULL)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:99:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 99 | ASSERT_RETURN(-EINVAL,==,kdbus_name_acquire(env->conn, dot_name, NULL)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:101:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 101 | ASSERT_RETURN(-EINVAL,==,kdbus_name_acquire(env->conn, invalid_name, NULL)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:103:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 103 | ASSERT_RETURN(-EINVAL,==,kdbus_name_acquire(env->conn, wildcard_name, NULL)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:106:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 106 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:108:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 108 | ASSERT_RETURN(true,==,conn_is_name_primary_owner(env->conn, name)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:111:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 111 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:113:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 113 | ASSERT_RETURN(false,==,conn_is_name_primary_owner(env->conn, name)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:116:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 116 | ASSERT_RETURN(-ESRCH,==,kdbus_name_release(env->conn, name)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:119:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 119 | ASSERT_RETURN(-EADDRINUSE,==,kdbus_name_release(env->conn, "foo.bar.xxx")); [ 315s] | ^~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:122:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 122 | ASSERT_RETURN(-ESRCH,==,kdbus_name_release(env->conn, dot_name)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:124:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 124 | ASSERT_RETURN(-ESRCH,==,kdbus_name_release(env->conn, invalid_name)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:126:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 126 | ASSERT_RETURN(-ESRCH,==,kdbus_name_release(env->conn, wildcard_name)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] test-names.c: In function 'conn_test_names': [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:39:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 39 | ASSERT_ZERO(kdbus_cmd_list(conn->fd, &cmd_list)); [ 315s] | ^~~~~~~~~~~ [ 315s] test-names.c: In function 'kdbus_test_name_conflict': [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:141:9: note: in expansion of macro 'ASSERT_NONZERO' [ 315s] 141 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 315s] | ^~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:145:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 145 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:147:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 147 | ASSERT_RETURN(true,==,conn_is_name_primary_owner(env->conn, name)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:150:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 150 | ASSERT_RETURN(-EEXIST,==,kdbus_name_acquire(conn, name, NULL)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] test-names.c: In function 'kdbus_test_name_queue': [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:169:9: note: in expansion of macro 'ASSERT_NONZERO' [ 315s] 169 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 315s] | ^~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:173:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 173 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, &flags)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:175:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 175 | ASSERT_RETURN(true,==,conn_is_name_primary_owner(env->conn, name)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:179:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 179 | ASSERT_ZERO(kdbus_name_acquire(conn, name, &flags)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:180:9: note: in expansion of macro 'ASSERT_NONZERO' [ 315s] 180 | ASSERT_NONZERO(flags & KDBUS_NAME_IN_QUEUE); [ 315s] | ^~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:188:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 188 | ASSERT_RETURN(true,==,conn_test_names(conn, t, 2)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:191:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 191 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:197:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 197 | ASSERT_RETURN(true,==,conn_test_names(conn, t, 1)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] test-names.c: In function 'kdbus_test_name_takeover': [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:216:9: note: in expansion of macro 'ASSERT_NONZERO' [ 315s] 216 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 315s] | ^~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:219:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 219 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, &flags)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:224:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 224 | ASSERT_RETURN(true,==,conn_test_names(conn, &t, 1)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:228:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 228 | ASSERT_ZERO(kdbus_name_acquire(conn, name, &flags)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:229:9: note: in expansion of macro 'ASSERT_NONZERO' [ 315s] 229 | ASSERT_NONZERO(flags & KDBUS_NAME_ACQUIRED); [ 315s] | ^~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-names.c:231:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 231 | ASSERT_RETURN(true,==,conn_is_name_primary_owner(conn, name)); [ 315s] | ^~~~~~~~~~~~~ [ 316s] 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 [ 316s] In file included from test-policy.c:10: [ 316s] test-policy.c: In function 'kdbus_test_policy': [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy.c:20:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 20 | ASSERT_ZERO(kdbus_hello_registrar(env->buspath, ".example.a", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy.c:21:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 21 | ASSERT_ZERO(kdbus_hello_registrar(env->buspath, "example", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy.c:23:9: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 23 | ASSERT_NONZERO(conn_a = kdbus_hello_registrar(env->buspath, "com.example.a", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy.c:24:9: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 24 | ASSERT_NONZERO(conn_b = kdbus_hello_registrar(env->buspath, "com.example.b", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy.c:37:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 37 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy.c:39:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 39 | ASSERT_RETURN(-EEXIST,==,kdbus_conn_update_policy(conn_b, "com.example.a", &access, 1)); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy.c:41:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 41 | ASSERT_ZERO(kdbus_conn_update_policy(conn_b, "com.example.a.*", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy.c:43:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 43 | ASSERT_RETURN(-EEXIST,==,kdbus_conn_update_policy(conn_a, "com.example.a.*", &access, 1)); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy.c:45:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 45 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.*", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy.c:47:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 47 | ASSERT_ZERO(kdbus_conn_update_policy(conn_b, "com.example.a", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy.c:49:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 49 | ASSERT_RETURN(-EEXIST,==,kdbus_conn_update_policy(conn_b, "com.example.*", &access, 1)); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy.c:52:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 52 | ASSERT_RETURN(-EINVAL,==,kdbus_conn_update_policy(conn_b, ".example.*", &access, 1)); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy.c:54:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 54 | ASSERT_RETURN(-EINVAL,==,kdbus_conn_update_policy(conn_b, "example", &access, 1)); [ 316s] | ^~~~~~~~~~~~~ [ 316s] 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 [ 317s] In file included from test-policy-ns.c:34: [ 317s] test-policy-ns.c: In function 'kdbus_test_policy_ns': [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 317s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:502:9: note: in expansion of macro 'ASSERT_RETURN' [ 317s] 502 | ASSERT_RETURN(ret,>=,0); [ 317s] | ^~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:516:9: note: in expansion of macro 'ASSERT_NONZERO' [ 317s] 516 | ASSERT_NONZERO(g_conn_db = calloc(MAX_CONN, sizeof(struct kdbus_conn *))); [ 317s] | ^~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:520:9: note: in expansion of macro 'ASSERT_NONZERO' [ 317s] 520 | ASSERT_NONZERO(g_conn_db[0] = kdbus_hello(bus, 0, NULL, 0)); [ 317s] | ^~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:522:9: note: in expansion of macro 'ASSERT_ZERO' [ 317s] 522 | ASSERT_ZERO(kdbus_add_match_empty(g_conn_db[0])); [ 317s] | ^~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:524:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 317s] 524 | ASSERT_EXIT_ZERO(kdbus_fork_test_by_id(bus, g_conn_db, -EPERM, -EPERM)); [ 317s] | ^~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:526:9: note: in expansion of macro 'ASSERT_ZERO' [ 317s] 526 | ASSERT_ZERO(kdbus_register_policy_holder(bus, POLICY_NAME, &policy_holder)); [ 317s] | ^~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:529:9: note: in expansion of macro 'ASSERT_ZERO' [ 317s] 529 | ASSERT_ZERO(kdbus_register_same_activator(bus, POLICY_NAME, &activator)); [ 317s] | ^~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:532:9: note: in expansion of macro 'ASSERT_ZERO' [ 317s] 532 | ASSERT_ZERO(kdbus_name_acquire(g_conn_db[0], POLICY_NAME, NULL)); [ 317s] | ^~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:534:9: note: in expansion of macro 'ASSERT_ZERO' [ 317s] 534 | ASSERT_ZERO(kdbus_normal_test(bus, POLICY_NAME, g_conn_db)); [ 317s] | ^~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:536:9: note: in expansion of macro 'ASSERT_ZERO' [ 317s] 536 | ASSERT_ZERO(kdbus_list(g_conn_db[0], KDBUS_LIST_NAMES | KDBUS_LIST_UNIQUE | KDBUS_LIST_ACTIVATORS | KDBUS_LIST_QUEUED)); [ 317s] | ^~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:538:9: note: in expansion of macro 'ASSERT_ZERO' [ 317s] 538 | ASSERT_ZERO(kdbus_fork_test(bus, POLICY_NAME, g_conn_db, EXIT_SUCCESS)); [ 317s] | ^~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:549:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 317s] 549 | ASSERT_EXIT_ZERO(kdbus_fork_test_by_id(bus, g_conn_db, EXIT_SUCCESS, EXIT_SUCCESS)); [ 317s] | ^~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:558:9: note: in expansion of macro 'ASSERT_ZERO' [ 317s] 558 | ASSERT_ZERO(kdbus_set_policy_talk(policy_holder, POLICY_NAME, geteuid(), KDBUS_POLICY_ACCESS_USER)); [ 317s] | ^~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:565:9: note: in expansion of macro 'ASSERT_ZERO' [ 317s] 565 | ASSERT_ZERO(kdbus_fork_test(bus, POLICY_NAME, g_conn_db, ONTIZEN(0,-EPERM))); [ 317s] | ^~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:576:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 317s] 576 | ASSERT_EXIT_ZERO(kdbus_fork_test_by_id(bus, g_conn_db, -EPERM, -EPERM)); [ 317s] | ^~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:579:9: note: in expansion of macro 'ASSERT_ZERO' [ 317s] 579 | ASSERT_ZERO(kdbus_clone_userns_test(bus, POLICY_NAME, g_conn_db, ONTIZEN(0,-EPERM))); [ 317s] | ^~~~~~~~~~~ [ 317s] test-policy-ns.c: In function 'kdbus_register_policy_holder': [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:123:9: note: in expansion of macro 'ASSERT_NONZERO' [ 317s] 123 | ASSERT_NONZERO(c = kdbus_hello_registrar(bus, name, access, 2, KDBUS_HELLO_POLICY_HOLDER)); [ 317s] | ^~~~~~~~~~~~~~ [ 317s] test-policy-ns.c: In function 'kdbus_normal_test': [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 317s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:242:9: note: in expansion of macro 'ASSERT_RETURN' [ 317s] 242 | ASSERT_RETURN(0,<=,kdbus_recv_in_threads(bus, name, conn_db)); [ 317s] | ^~~~~~~~~~~~~ [ 317s] test-policy-ns.c: In function 'kdbus_recv_in_threads': [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:217:17: note: in expansion of macro 'ASSERT_NONZERO' [ 317s] 217 | ASSERT_NONZERO(lost_packets); [ 317s] | ^~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 317s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:225:17: note: in expansion of macro 'ASSERT_RETURN' [ 317s] 225 | ASSERT_RETURN(sent_packets,>=,(unsigned)KDBUS_CONN_MAX_MSGS_PER_USER); [ 317s] | ^~~~~~~~~~~~~ [ 317s] test-policy-ns.c: In function 'kdbus_set_policy_talk': [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:81:9: note: in expansion of macro 'ASSERT_ZERO' [ 317s] 81 | ASSERT_ZERO(kdbus_conn_update_policy(conn, name, &access, 1)); [ 317s] | ^~~~~~~~~~~ [ 317s] test-policy-ns.c: In function 'kdbus_fork_test': [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 317s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:354:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 317s] 354 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 317s] | ^~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:357:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 317s] 357 | ASSERT_EXIT_ZERO(prctl(PR_SET_PDEATHSIG, SIGKILL)); [ 317s] | ^~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:359:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 317s] 359 | ASSERT_EXIT_ZERO(drop_privileges(65534, 65534)); [ 317s] | ^~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 317s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:365:9: note: in expansion of macro 'ASSERT_RETURN' [ 317s] 365 | ASSERT_RETURN(0,<=,waitpid(pid, &status, 0)); [ 317s] | ^~~~~~~~~~~~~ [ 317s] test-policy-ns.c: In function 'kdbus_fork_test_by_id': [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 317s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:273:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 317s] 273 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 317s] | ^~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:278:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 317s] 278 | ASSERT_EXIT_ZERO(prctl(PR_SET_PDEATHSIG, SIGKILL)); [ 317s] | ^~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:280:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 317s] 280 | ASSERT_EXIT_ZERO(drop_privileges(65534, 65534)); [ 317s] | ^~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:282:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 317s] 282 | ASSERT_EXIT_NONZERO(conn_src = kdbus_hello(bus, 0, NULL, 0)); [ 317s] | ^~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:284:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 317s] 284 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(conn_src)); [ 317s] | ^~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 317s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:291:17: note: in expansion of macro 'ASSERT_EXIT' [ 317s] 291 | ASSERT_EXIT(child_status,==,kdbus_msg_send(conn_src, NULL, cookie, 0, 0, 0, conn_db[0]->id)); [ 317s] | ^~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 317s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:316:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 317s] 316 | ASSERT_RETURN_VAL(ret,==,-ETIMEDOUT, TEST_ERR); [ 317s] | ^~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 317s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:322:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 317s] 322 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 317s] | ^~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 317s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:329:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 317s] 329 | ASSERT_RETURN_VAL(ret,==,parent_status, TEST_ERR); [ 317s] | ^~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:332:9: note: in expansion of macro 'ASSERT_ZERO' [ 317s] 332 | ASSERT_ZERO(kdbus_free(conn_db[0], offset)); [ 317s] | ^~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 317s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:336:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 317s] 336 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 317s] | ^~~~~~~~~~~~~~~~~ [ 317s] test-policy-ns.c: In function 'kdbus_clone_userns_test': [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 317s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:470:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 317s] 470 | ASSERT_RETURN_VAL(pid,>=,0, -errno); [ 317s] | ^~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 317s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:485:9: note: in expansion of macro 'ASSERT_RETURN' [ 317s] 485 | ASSERT_RETURN(ret,==,expected_status?-ETIMEDOUT:0); [ 317s] | ^~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 317s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:488:9: note: in expansion of macro 'ASSERT_RETURN' [ 317s] 488 | ASSERT_RETURN(ret,>=,0); [ 317s] | ^~~~~~~~~~~~~ [ 317s] test-policy-ns.c: In function '__kdbus_clone_userns_test': [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 317s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:382:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 317s] 382 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 317s] | ^~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 317s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:398:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 317s] 398 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 317s] | ^~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 317s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:402:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 317s] 402 | ASSERT_RETURN_VAL(efd,>=,0, efd); [ 317s] | ^~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:429:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 317s] 429 | ASSERT_EXIT_ZERO(prctl(PR_SET_PDEATHSIG, SIGKILL)); [ 317s] | ^~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 317s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:431:17: note: in expansion of macro 'ASSERT_EXIT' [ 317s] 431 | ASSERT_EXIT(0,<=,eventfd_read(efd, &event_status)); [ 317s] | ^~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 317s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:432:17: note: in expansion of macro 'ASSERT_EXIT' [ 317s] 432 | ASSERT_EXIT(event_status,==,(eventfd_t)1); [ 317s] | ^~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:435:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 317s] 435 | ASSERT_EXIT_NONZERO(conn_src = kdbus_hello(bus, 0, NULL, 0)); [ 317s] | ^~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 317s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:437:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 317s] 437 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(conn_src)); [ 317s] | ^~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 317s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:446:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 317s] 446 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 317s] | ^~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 317s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:450:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 317s] 450 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 317s] | ^~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 317s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 317s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 317s] | ^~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 317s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 317s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 317s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 317s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 317s] | ^~~~~~~~~~~~ [ 317s] test-policy-ns.c:453:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 317s] 453 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 317s] | ^~~~~~~~~~~~~~~~~ [ 318s] 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 [ 318s] In file included from test-policy-priv.c:14: [ 318s] test-policy-priv.c: In function 'test_policy_priv': [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 318s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:566:9: note: in expansion of macro 'ASSERT_RETURN' [ 318s] 566 | ASSERT_RETURN(ret,>=,0); [ 318s] | ^~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:586:9: note: in expansion of macro 'ASSERT_NONZERO' [ 318s] 586 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 318s] | ^~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:594:9: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 594 | ASSERT_ZERO(test_priv_before_policy_upload(env)); [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 318s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 318s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 318s] | ^~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 318s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 318s] | ^~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 318s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 318s] | ^~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 318s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:607:17: note: in expansion of macro 'ASSERT_EXIT' [ 318s] 607 | ASSERT_EXIT(errno,==,EPERM); [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 318s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 318s] | ^~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:608:17: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 608 | ASSERT_ZERO(holder); [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 318s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 318s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 318s] | ^~~~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 318s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 318s] | ^~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 318s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 318s] | ^~~~~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 318s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 318s] | ^~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 318s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 318s] | ^~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 318s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 318s] | ^~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:615:9: note: in expansion of macro 'ASSERT_NONZERO' [ 318s] 615 | ASSERT_NONZERO(conn_a = kdbus_hello_registrar(env->buspath, "com.example.a", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 318s] | ^~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:616:9: note: in expansion of macro 'ASSERT_NONZERO' [ 318s] 616 | ASSERT_NONZERO(conn_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 318s] | ^~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:618:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 318s] 618 | ASSERT_EXIT_ZERO(kdbus_name_acquire(conn_b, "com.example.b", NULL)); [ 318s] | ^~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:623:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 318s] 623 | ASSERT_EXIT_ZERO(kdbus_name_acquire(conn, "com.example.a", NULL)); [ 318s] | ^~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 318s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 318s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 318s] | ^~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 318s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 318s] | ^~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 318s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:633:17: note: in expansion of macro 'ASSERT_EXIT' [ 318s] 633 | ASSERT_EXIT(0,ONTIZEN(==,!=),kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 318s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 318s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 318s] | ^~~~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 318s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 318s] | ^~~~~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 318s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 318s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 318s] | ^~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 318s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 318s] | ^~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 318s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:653:17: note: in expansion of macro 'ASSERT_EXIT' [ 318s] 653 | ASSERT_EXIT(-EOPNOTSUPP,==,kdbus_conn_update_policy(unpriv, "com.example.a", &access, 1)); [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 318s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 318s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 318s] | ^~~~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 318s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 318s] | ^~~~~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:656:9: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 656 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 318s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 318s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 318s] | ^~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 318s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 318s] | ^~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:659:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 318s] 659 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 318s] | ^~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 318s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 318s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 318s] | ^~~~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 318s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 318s] | ^~~~~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:673:9: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 673 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 318s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 318s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 318s] | ^~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 318s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 318s] | ^~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:676:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 318s] 676 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 318s] | ^~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 318s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 318s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 318s] | ^~~~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 318s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 318s] | ^~~~~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:685:9: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 685 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 318s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 318s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 318s] | ^~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 318s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 318s] | ^~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 318s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:688:17: note: in expansion of macro 'ASSERT_EXIT' [ 318s] 688 | ASSERT_EXIT(0,ONTIZEN(==,!=),kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 318s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 318s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 318s] | ^~~~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 318s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 318s] | ^~~~~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:702:9: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 702 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 318s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 318s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 318s] | ^~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 318s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 318s] | ^~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:705:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 318s] 705 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 318s] | ^~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 318s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 318s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 318s] | ^~~~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 318s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 318s] | ^~~~~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:714:9: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 714 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 318s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 318s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 318s] | ^~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 318s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 318s] | ^~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 318s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:717:17: note: in expansion of macro 'ASSERT_EXIT' [ 318s] 717 | ASSERT_EXIT(0,ONTIZEN(==,!=),kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 318s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 318s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 318s] | ^~~~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 318s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 318s] | ^~~~~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:749:9: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 749 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", acc, num)); [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 318s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 318s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 318s] | ^~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 318s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 318s] | ^~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 318s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 318s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 318s] | ^~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 318s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 318s] | ^~~~~~~~~~~~ [ 318s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 318s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 318s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 318s] | ^~~~~~~~~~ [ 318s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 318s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 318s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 318s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 318s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 318s] | ^~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 318s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 318s] | ^~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 318s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 318s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 318s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 318s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 318s] | ^~~~~~~~~~~~ [ 318s] test-policy-priv.c:752:17: note: in expansion of macro 'ASSERT_EXIT' [ 318s] 752 | ASSERT_EXIT(0,ONTIZEN(==,!=),kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 318s] | ^~~~~~~~~~~ [ 318s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:789:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 789 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", acc, num)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:792:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 792 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:799:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 799 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", NULL, 0)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:805:9: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 805 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:807:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 807 | ASSERT_EXIT_ZERO(kdbus_msg_send(conn, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:809:9: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 809 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 300, NULL, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:818:17: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 818 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:832:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 832 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.c", &access, 1)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:837:17: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 837 | ASSERT_NONZERO(owner_ = kdbus_hello(env->buspath, 0, NULL, 0)); [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:839:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 839 | ASSERT_EXIT_ZERO(kdbus_name_acquire(owner_, "com.example.c", NULL)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:841:17: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 841 | ASSERT_ZERO(kdbus_msg_send(unpriv, "com.example.c", 0xdeadbeef, 0, 0, 0, 0)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:842:17: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 842 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(owner_, 100, NULL, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:858:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 858 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", &access, 1)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:861:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 861 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:864:9: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 864 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 100, NULL, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:877:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 877 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", &access, 1)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:880:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 880 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:883:9: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 883 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 100, NULL, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:896:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 896 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", &access, 1)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:899:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 899 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:902:9: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 902 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 100, NULL, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:938:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 938 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", acc, num)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:941:17: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 941 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:955:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 955 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", &access, 1)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:958:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 958 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:961:9: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 961 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 100, NULL, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:974:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 974 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", &access, 1)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:977:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 977 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:979:17: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 979 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 100, NULL, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:981:17: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 981 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", NULL, 0)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:983:17: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 983 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:997:9: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 997 | ASSERT_NONZERO(conn = kdbus_hello_registrar(env->buspath, "com.example.c", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:999:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 999 | ASSERT_ZERO(kdbus_conn_update_policy(conn, "com.example.c", &access, 1)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:1001:9: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 1001 | ASSERT_NONZERO(owner = kdbus_hello(env->buspath, 0, NULL, 0)); [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:1003:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 1003 | ASSERT_ZERO(kdbus_name_acquire(owner, "com.example.c", NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 319s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 319s] | ^~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 319s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:1018:17: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 1018 | ASSERT_RETURN(errno,==,EINTR); \ [ 319s] | ^~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 319s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 319s] | ^~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 319s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:1019:17: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 1019 | ASSERT_RETURN(ret,==,-1); \ [ 319s] | ^~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 319s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 319s] | ^~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 319s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:1020:17: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 1020 | ASSERT_NONZERO(unpriv = kdbus_hello(env->buspath, 0, NULL, 0)); \ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 319s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 319s] | ^~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 319s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:1021:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 1021 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.c", 0xdeadbeef, 0, 0, 0, 0)); \ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 319s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 319s] | ^~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 319s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:1022:17: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 1022 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(owner, 100, NULL, NULL)); \ [ 319s] | ^~~~~~~~~~~ [ 319s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 319s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 319s] | ^~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 319s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:1027:17: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 1027 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "com.example.c", 0xdeadbeef, 0, 0, 0, 0)); \ [ 319s] | ^~~~~~~~~~~ [ 319s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 319s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 319s] | ^~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 319s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 319s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 319s] | ^~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 319s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 319s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 319s] | ^~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 319s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 319s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 319s] | ^~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 319s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 319s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 319s] | ^~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 319s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:1049:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 1049 | ASSERT_ZERO(test_broadcast_after_policy_upload(env)); [ 319s] | ^~~~~~~~~~~ [ 319s] test-policy-priv.c: In function 'test_priv_before_policy_upload': [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:170:9: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 170 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:178:17: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 178 | ASSERT_EXIT(0,ONTIZEN(==,>),kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:187:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 187 | ASSERT_ZERO(test_policy_priv_by_id(env->buspath, conn, -ETIMEDOUT, -EPERM)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:190:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 190 | ASSERT_ZERO(kdbus_add_match_empty(conn)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:197:17: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 197 | ASSERT_EXIT(-ENOTUNIQ,==,kdbus_msg_send(unpriv, NULL, 0xdeadbeef, KDBUS_MSG_EXPECT_REPLY, 5000000000ULL, 0, KDBUS_DST_ID_BROADCAST)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:216:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 216 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, conn, DO_NOT_DROP, 0, -ETIMEDOUT)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:226:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 226 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, NULL, DROP_SAME_UNPRIV, 0, 0)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:235:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 235 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, NULL, DROP_OTHER_UNPRIV, -ETIMEDOUT, -ETIMEDOUT)); [ 319s] | ^~~~~~~~~~~ [ 319s] test-policy-priv.c: In function 'test_policy_priv_by_id': [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:34:9: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 34 | ASSERT_NONZERO(conn_dst); [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:37:17: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 37 | ASSERT_EXIT(child_status,==,kdbus_msg_send(unpriv, NULL, expected_cookie, 0, 0, 0, conn_dst->id)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:40:9: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 40 | ASSERT_RETURN(parent_status,==,kdbus_msg_recv_poll(conn_dst, 300, NULL, NULL)); [ 319s] | ^~~~~~~~~~~~~ [ 319s] test-policy-priv.c: In function 'test_policy_priv_by_broadcast': [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:74:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 319s] 74 | ASSERT_RETURN_VAL(efd,>=,0, efd); [ 319s] | ^~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:79:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 79 | ASSERT_EXIT_NONZERO(child = kdbus_hello(bus, 0, NULL, 0)); [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:81:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 81 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(child)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:84:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 84 | ASSERT_EXIT_ZERO(eventfd_write(efd, 1)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:87:17: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 87 | ASSERT_EXIT(child_status,==,kdbus_msg_recv_poll(child, 500, &msg, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:94:25: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 94 | ASSERT_EXIT(expected_cookie,==,msg->cookie); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 319s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:94:25: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 94 | ASSERT_EXIT(expected_cookie,==,msg->cookie); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:99:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 99 | ASSERT_EXIT_ZERO(kdbus_msg_send(child, NULL, expected_cookie + 1, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:124:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 124 | ASSERT_NONZERO(child_2); [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:126:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 126 | ASSERT_RETURN(0,<=,eventfd_read(efd, &event_status)); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:127:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 127 | ASSERT_RETURN(event_status,==,(eventfd_t)1); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:129:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 129 | ASSERT_ZERO(kdbus_msg_send(child_2, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:109:33: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 109 | ASSERT_ZERO(got_own_broadcast);\ [ 319s] | ^~~~~~~~~~~ [ 319s] test-policy-priv.c:131:25: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 319s] 131 | RECEIVE_FROM_PARENT(); [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:114:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 114 | ASSERT_RETURN(parent_status,==,ret);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] test-policy-priv.c:131:25: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 319s] 131 | RECEIVE_FROM_PARENT(); [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 319s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:117:33: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 117 | ASSERT_RETURN(msg->cookie,==,expected_cookie + 1);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] test-policy-priv.c:131:25: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 319s] 131 | RECEIVE_FROM_PARENT(); [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:117:33: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 117 | ASSERT_RETURN(msg->cookie,==,expected_cookie + 1);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] test-policy-priv.c:131:25: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 319s] 131 | RECEIVE_FROM_PARENT(); [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:138:33: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 138 | ASSERT_EXIT_NONZERO(child_2 = kdbus_hello(bus, 0, NULL, 0)); [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:140:33: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 140 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(child_2)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:142:33: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 142 | ASSERT_EXIT(0,<=,eventfd_read(efd, &event_status)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:143:33: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 143 | ASSERT_EXIT(event_status,==,(eventfd_t)1); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:145:33: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 145 | ASSERT_EXIT_ZERO(kdbus_msg_send(child_2, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:109:33: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 109 | ASSERT_ZERO(got_own_broadcast);\ [ 319s] | ^~~~~~~~~~~ [ 319s] test-policy-priv.c:147:33: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 319s] 147 | RECEIVE_FROM_PARENT(); [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:114:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 114 | ASSERT_RETURN(parent_status,==,ret);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] test-policy-priv.c:147:33: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 319s] 147 | RECEIVE_FROM_PARENT(); [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 319s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:117:33: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 117 | ASSERT_RETURN(msg->cookie,==,expected_cookie + 1);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] test-policy-priv.c:147:33: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 319s] 147 | RECEIVE_FROM_PARENT(); [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:117:33: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 117 | ASSERT_RETURN(msg->cookie,==,expected_cookie + 1);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] test-policy-priv.c:147:33: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 319s] 147 | RECEIVE_FROM_PARENT(); [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c: In function 'test_broadcast_after_policy_upload': [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:252:9: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 252 | ASSERT_NONZERO(owner_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:254:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 254 | ASSERT_EXIT_ZERO(kdbus_name_acquire(owner_a, "com.example.broadcastA", NULL)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:263:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 263 | ASSERT_ZERO(test_policy_priv_by_id(env->buspath, owner_a, -ETIMEDOUT, -EPERM)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:276:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 276 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, owner_a, DO_NOT_DROP, -ETIMEDOUT, -ETIMEDOUT)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:279:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 279 | ASSERT_ZERO(kdbus_add_match_empty(owner_a)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:287:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 287 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, owner_a, DO_NOT_DROP, 0, -ETIMEDOUT)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:294:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 294 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, NULL, DROP_SAME_UNPRIV, 0, 0)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:303:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 303 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, NULL, DROP_OTHER_UNPRIV, -ETIMEDOUT, -ETIMEDOUT)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:311:9: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 311 | ASSERT_NONZERO(holder_a = kdbus_hello_registrar(env->buspath, "com.example.broadcastA", &access, 1, KDBUS_HELLO_POLICY_HOLDER)); [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:312:9: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 312 | ASSERT_NONZERO(holder_b = kdbus_hello_registrar(env->buspath, "com.example.broadcastB", &access, 1, KDBUS_HELLO_POLICY_HOLDER)); [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:317:9: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 317 | ASSERT_NONZERO(owner_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:320:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 320 | ASSERT_ZERO(kdbus_add_match_empty(owner_a)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:322:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 322 | ASSERT_EXIT_ZERO(kdbus_name_acquire(owner_a, "com.example.broadcastA", NULL)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:324:9: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 324 | ASSERT_NONZERO(owner_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:326:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 326 | ASSERT_EXIT_ZERO(kdbus_name_acquire(owner_b, "com.example.broadcastB", NULL)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:329:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 329 | ASSERT_ZERO(kdbus_add_match_empty(owner_b)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:340:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 340 | ASSERT_ZERO(kdbus_msg_send(owner_a, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:342:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 342 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_b, 100, &msg, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 319s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:343:9: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 343 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:343:9: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 343 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 319s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:345:9: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 345 | ASSERT_RETURN(msg->src_id,==,owner_a->id); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:345:9: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 345 | ASSERT_RETURN(msg->src_id,==,owner_a->id); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:349:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 349 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 100, &msg, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 319s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:350:9: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 350 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:350:9: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 350 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 319s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:352:9: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 352 | ASSERT_RETURN(msg->src_id,==,owner_a->id); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:352:9: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 352 | ASSERT_RETURN(msg->src_id,==,owner_a->id); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:356:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 356 | ASSERT_EXIT_ZERO(kdbus_name_release(owner_b, "com.example.broadcastB")); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:367:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 367 | ASSERT_ZERO(kdbus_conn_update_policy(holder_b, "com.example.broadcastB", &access, 1)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:398:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 319s] 398 | ASSERT_RETURN_VAL(efd,>=,0, efd); [ 319s] | ^~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:404:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 404 | ASSERT_EXIT_NONZERO(unpriv_owner = kdbus_hello(env->buspath, 0, NULL, 0)); [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:405:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 405 | ASSERT_EXIT_NONZERO(unpriv_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:406:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 406 | ASSERT_EXIT_NONZERO(unpriv_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:408:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 408 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv_owner, "com.example.broadcastB", NULL)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:410:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 410 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(unpriv_a)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:413:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 413 | ASSERT_EXIT_ZERO(eventfd_write(efd, 1)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:419:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 419 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv_owner, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:425:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 425 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(unpriv_a, 300, &msg, NULL)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 319s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:426:17: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 426 | ASSERT_EXIT(msg->cookie,==,expected_cookie); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:426:17: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 426 | ASSERT_EXIT(msg->cookie,==,expected_cookie); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:432:17: note: in expansion of macro 'ASSERT_EXIT' [ 319s] 432 | ASSERT_EXIT(-ETIMEDOUT,==,kdbus_msg_recv_poll(unpriv_b, 300, NULL, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:435:17: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 435 | ASSERT_RETURN(0,<=,eventfd_read(efd, &event_status)); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:436:17: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 436 | ASSERT_RETURN(event_status,==,(eventfd_t)1); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:443:17: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 443 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 300, &msg, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 319s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:446:17: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 446 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:446:17: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 446 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:454:17: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 454 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_b, 300, &msg, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 319s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:457:17: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 457 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:457:17: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 457 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 319s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:472:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 472 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, NULL, DROP_OTHER_UNPRIV, -ETIMEDOUT, -ETIMEDOUT)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:475:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 475 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 100, NULL, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:476:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 476 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 100, NULL, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:478:9: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 478 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(owner_a, NULL, NULL)); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:480:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 480 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_b, 100, NULL, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:481:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 481 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_b, 100, NULL, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:483:9: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 483 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(owner_b, NULL, NULL)); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:498:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 498 | ASSERT_ZERO(kdbus_conn_update_policy(holder_a, "com.example.broadcastA", &access, 1)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:504:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 504 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, owner_a, DO_NOT_DROP, 0, 0)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:508:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 508 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.broadcastB", NULL)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:509:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 509 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:513:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 513 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 300, &msg, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 319s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:516:9: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 516 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:516:9: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 516 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:529:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 529 | ASSERT_EXIT_ZERO(kdbus_name_release(owner_a, "com.example.broadcastA")); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 319s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 319s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 319s] | ^~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 319s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 319s] | ^~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:533:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 533 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.broadcastB", NULL)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:534:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 319s] 534 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 319s] | ^~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 319s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 319s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 319s] | ^~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 319s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 319s] | ^~~~~~~~~~ [ 319s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 319s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 319s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 319s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 319s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 319s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:538:9: note: in expansion of macro 'ASSERT_ZERO' [ 319s] 538 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 300, &msg, NULL)); [ 319s] | ^~~~~~~~~~~ [ 319s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 319s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:541:9: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 541 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 319s] | ^~~~~~~~~~~~~ [ 319s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 319s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 319s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 319s] | ^~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 319s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 319s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 319s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 319s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 319s] | ^~~~~~~~~~~~ [ 319s] test-policy-priv.c:541:9: note: in expansion of macro 'ASSERT_RETURN' [ 319s] 541 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 319s] | ^~~~~~~~~~~~~ [ 331s] 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 [ 331s] In file included from test-sync.c:18: [ 331s] test-sync.c: In function 'kdbus_test_sync_reply': [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:238:9: note: in expansion of macro 'ASSERT_NONZERO' [ 331s] 238 | ASSERT_NONZERO(conn_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 331s] | ^~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:239:9: note: in expansion of macro 'ASSERT_NONZERO' [ 331s] 239 | ASSERT_NONZERO(conn_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 331s] | ^~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:248:9: note: in expansion of macro 'ASSERT_ZERO' [ 331s] 248 | ASSERT_ZERO(status); [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:249:9: note: in expansion of macro 'ASSERT_ZERO' [ 331s] 249 | ASSERT_ZERO(ret); [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:251:9: note: in expansion of macro 'ASSERT_ZERO' [ 331s] 251 | ASSERT_ZERO(interrupt_sync(conn_a, conn_b)); [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:252:9: note: in expansion of macro 'ASSERT_ZERO' [ 331s] 252 | ASSERT_ZERO(close_epipe_sync(env->buspath)); [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:253:9: note: in expansion of macro 'ASSERT_ZERO' [ 331s] 253 | ASSERT_ZERO(cancel_fd_sync(conn_a, conn_b)); [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:254:9: note: in expansion of macro 'ASSERT_ZERO' [ 331s] 254 | ASSERT_ZERO(no_cancel_sync(conn_a, conn_b)); [ 331s] | ^~~~~~~~~~~ [ 331s] test-sync.c: In function 'interrupt_sync': [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 331s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:40:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 331s] 40 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 331s] | ^~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:43:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 331s] 43 | ASSERT_EXIT_ZERO(sigaction(SIGINT, &sa, NULL)); [ 331s] | ^~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:45:17: note: in expansion of macro 'ASSERT_EXIT' [ 331s] 45 | ASSERT_EXIT(-ETIMEDOUT,==,kdbus_msg_send_sync(conn_dst, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 100000000ULL, 0, conn_src->id, -1)); [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:50:9: note: in expansion of macro 'ASSERT_ZERO' [ 331s] 50 | ASSERT_ZERO(kdbus_msg_recv_poll(conn_src, 100, &msg, NULL)); [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 331s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:51:9: note: in expansion of macro 'ASSERT_RETURN' [ 331s] 51 | ASSERT_RETURN(msg->cookie,==,cookie); [ 331s] | ^~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:51:9: note: in expansion of macro 'ASSERT_RETURN' [ 331s] 51 | ASSERT_RETURN(msg->cookie,==,cookie); [ 331s] | ^~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 331s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:56:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 331s] 56 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 331s] | ^~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 331s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:59:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 331s] 59 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 331s] | ^~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:64:9: note: in expansion of macro 'ASSERT_RETURN' [ 331s] 64 | ASSERT_RETURN(-ETIMEDOUT,==,kdbus_msg_recv_poll(conn_src, 100, NULL, NULL)); [ 331s] | ^~~~~~~~~~~~~ [ 331s] test-sync.c: In function 'close_epipe_sync': [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:77:9: note: in expansion of macro 'ASSERT_NONZERO' [ 331s] 77 | ASSERT_NONZERO(conn_src = kdbus_hello(bus, 0, NULL, 0)); [ 331s] | ^~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:79:9: note: in expansion of macro 'ASSERT_ZERO' [ 331s] 79 | ASSERT_ZERO(kdbus_add_match_empty(conn_src)); [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:81:9: note: in expansion of macro 'ASSERT_NONZERO' [ 331s] 81 | ASSERT_NONZERO(conn_dst = kdbus_hello(bus, 0, NULL, 0)); [ 331s] | ^~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 331s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:85:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 331s] 85 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 331s] | ^~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:94:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 331s] 94 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(conn_src, -1, &msg, NULL)); [ 331s] | ^~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 331s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:95:17: note: in expansion of macro 'ASSERT_EXIT' [ 331s] 95 | ASSERT_EXIT(msg->cookie,==,cookie); [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:95:17: note: in expansion of macro 'ASSERT_EXIT' [ 331s] 95 | ASSERT_EXIT(msg->cookie,==,cookie); [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 331s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:96:17: note: in expansion of macro 'ASSERT_EXIT' [ 331s] 96 | ASSERT_EXIT(msg->src_id,==,dst_id); [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:96:17: note: in expansion of macro 'ASSERT_EXIT' [ 331s] 96 | ASSERT_EXIT(msg->src_id,==,dst_id); [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:102:25: note: in expansion of macro 'ASSERT_EXIT' [ 331s] 102 | ASSERT_EXIT(-ECONNRESET,==,ret); /* need big timeout because we're not synchronized wrt dst_id closing */ [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:107:9: note: in expansion of macro 'ASSERT_ZERO' [ 331s] 107 | ASSERT_ZERO(kdbus_msg_send(conn_dst, NULL, cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:110:9: note: in expansion of macro 'ASSERT_ZERO' [ 331s] 110 | ASSERT_ZERO(kdbus_msg_recv_poll(conn_dst, -1, &msg, NULL)); [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 331s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:111:9: note: in expansion of macro 'ASSERT_RETURN' [ 331s] 111 | ASSERT_RETURN(msg->cookie,==,cookie); [ 331s] | ^~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:111:9: note: in expansion of macro 'ASSERT_RETURN' [ 331s] 111 | ASSERT_RETURN(msg->cookie,==,cookie); [ 331s] | ^~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 331s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:120:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 331s] 120 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 331s] | ^~~~~~~~~~~~~~~~~ [ 331s] test-sync.c: In function 'cancel_fd_sync': [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 331s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:138:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 331s] 138 | ASSERT_RETURN_VAL(cancel_fd,>=,0, cancel_fd); [ 331s] | ^~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 331s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:142:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 331s] 142 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 331s] | ^~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:145:17: note: in expansion of macro 'ASSERT_EXIT' [ 331s] 145 | ASSERT_EXIT(-ECANCELED,==,kdbus_msg_send_sync(conn_dst, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 500000000000ULL, 0, conn_src->id, cancel_fd)); [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 331s] 149 | ASSERT_ZERO(kdbus_msg_recv_poll(conn_src, 100, &msg, NULL)); [ 331s] | ^~~~~~~~~~~ [ 331s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 331s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:150:9: note: in expansion of macro 'ASSERT_RETURN' [ 331s] 150 | ASSERT_RETURN(msg->cookie,==,cookie); [ 331s] | ^~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:150:9: note: in expansion of macro 'ASSERT_RETURN' [ 331s] 150 | ASSERT_RETURN(msg->cookie,==,cookie); [ 331s] | ^~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:154:9: note: in expansion of macro 'ASSERT_RETURN' [ 331s] 154 | ASSERT_RETURN((int)sizeof(counter),==,write(cancel_fd, &counter, sizeof(counter))); [ 331s] | ^~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 331s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:157:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 331s] 157 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 331s] | ^~~~~~~~~~~~~~~~~ [ 331s] test-sync.c: In function 'no_cancel_sync': [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 331s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:176:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 331s] 176 | ASSERT_RETURN_VAL(cancel_fd,>=,0, cancel_fd); [ 331s] | ^~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 331s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:180:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 331s] 180 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 331s] | ^~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:183:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 331s] 183 | ASSERT_EXIT_ZERO(kdbus_msg_send_sync(conn_dst, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 500000000000ULL, 0, conn_src->id, cancel_fd)); [ 331s] | ^~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 331s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:188:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 331s] 188 | ASSERT_RETURN_VAL(ret,==,0, -1); [ 331s] | ^~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 331s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 331s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:189:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 331s] 189 | ASSERT_RETURN_VAL(msg->cookie,==,cookie, -1); [ 331s] | ^~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 331s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:189:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 331s] 189 | ASSERT_RETURN_VAL(msg->cookie,==,cookie, -1); [ 331s] | ^~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 331s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:194:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 331s] 194 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 331s] | ^~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 331s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:197:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 331s] 197 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 331s] | ^~~~~~~~~~~~~~~~~ [ 331s] test-sync.c: In function 'kdbus_test_sync_byebye': [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:300:9: note: in expansion of macro 'ASSERT_NONZERO' [ 331s] 300 | ASSERT_NONZERO(conn_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 331s] | ^~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:301:9: note: in expansion of macro 'ASSERT_NONZERO' [ 331s] 301 | ASSERT_NONZERO(conn_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 331s] | ^~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:305:9: note: in expansion of macro 'ASSERT_RETURN' [ 331s] 305 | ASSERT_RETURN(-ECONNRESET,==,kdbus_msg_send_sync(conn_b, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 5000000000ULL, 0, conn_a->id, -1)); [ 331s] | ^~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:312:9: note: in expansion of macro 'ASSERT_NONZERO' [ 331s] 312 | ASSERT_NONZERO(conn_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 331s] | ^~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:313:9: note: in expansion of macro 'ASSERT_NONZERO' [ 331s] 313 | ASSERT_NONZERO(conn_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 331s] | ^~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 331s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:317:9: note: in expansion of macro 'ASSERT_RETURN' [ 331s] 317 | ASSERT_RETURN(-EPIPE,==,kdbus_msg_send_sync(conn_b, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 5000000000ULL, 0, conn_a->id, -1)); [ 331s] | ^~~~~~~~~~~~~ [ 331s] test-sync.c: In function 'run_thread_byebye': [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:274:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 331s] 274 | ASSERT_EXIT_ZERO(kdbus_cmd_byebye(conn_b->fd, &cmd_byebye)); [ 331s] | ^~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 331s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 331s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 331s] | ^~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 331s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 331s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 331s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 331s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 331s] | ^~~~~~~~~~~~ [ 331s] test-sync.c:276:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 331s] 276 | ASSERT_EXIT_ZERO(kdbus_cmd_byebye(conn_a->fd, &cmd_byebye)); [ 331s] | ^~~~~~~~~~~~~~~~ [ 333s] 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 [ 333s] In file included from test-timeout.c:15: [ 333s] test-timeout.c: In function 'timeout_msg_recv': [ 333s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 333s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 333s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:33:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 333s] 33 | ASSERT_RETURN_VAL(msg->payload_type,==,(typeof(msg->payload_type))KDBUS_PAYLOAD_KERNEL, -EINVAL); [ 333s] | ^~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 333s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 333s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:33:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 333s] 33 | ASSERT_RETURN_VAL(msg->payload_type,==,(typeof(msg->payload_type))KDBUS_PAYLOAD_KERNEL, -EINVAL); [ 333s] | ^~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 333s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 333s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:33:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 333s] 33 | ASSERT_RETURN_VAL(msg->payload_type,==,(typeof(msg->payload_type))KDBUS_PAYLOAD_KERNEL, -EINVAL); [ 333s] | ^~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 333s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 333s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:34:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 333s] 34 | ASSERT_RETURN_VAL(msg->src_id,==,(typeof(msg->src_id))KDBUS_SRC_ID_KERNEL, -EINVAL); [ 333s] | ^~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 333s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 333s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:34:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 333s] 34 | ASSERT_RETURN_VAL(msg->src_id,==,(typeof(msg->src_id))KDBUS_SRC_ID_KERNEL, -EINVAL); [ 333s] | ^~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 333s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 333s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:34:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 333s] 34 | ASSERT_RETURN_VAL(msg->src_id,==,(typeof(msg->src_id))KDBUS_SRC_ID_KERNEL, -EINVAL); [ 333s] | ^~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 333s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 333s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:35:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 333s] 35 | ASSERT_RETURN_VAL(msg->dst_id,==,conn->id, -EINVAL); [ 333s] | ^~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 333s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 333s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:35:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 333s] 35 | ASSERT_RETURN_VAL(msg->dst_id,==,conn->id, -EINVAL); [ 333s] | ^~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 333s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 333s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:44:33: note: in expansion of macro 'ASSERT_ZERO' [ 333s] 44 | ASSERT_ZERO(have_type); [ 333s] | ^~~~~~~~~~~ [ 333s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 333s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 333s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:46:33: note: in expansion of macro 'ASSERT_RETURN' [ 333s] 46 | ASSERT_RETURN(item->size,==,2*sizeof(uint64_t)); [ 333s] | ^~~~~~~~~~~~~ [ 333s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 333s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 333s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:46:33: note: in expansion of macro 'ASSERT_RETURN' [ 333s] 46 | ASSERT_RETURN(item->size,==,2*sizeof(uint64_t)); [ 333s] | ^~~~~~~~~~~~~ [ 333s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 333s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 333s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:49:25: note: in expansion of macro 'ASSERT_RETURN' [ 333s] 49 | ASSERT_RETURN(item->type,==,(uint64_t)KDBUS_ITEM_TIMESTAMP); [ 333s] | ^~~~~~~~~~~~~ [ 333s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 333s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 333s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:49:25: note: in expansion of macro 'ASSERT_RETURN' [ 333s] 49 | ASSERT_RETURN(item->type,==,(uint64_t)KDBUS_ITEM_TIMESTAMP); [ 333s] | ^~~~~~~~~~~~~ [ 333s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 333s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 333s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:50:25: note: in expansion of macro 'ASSERT_ZERO' [ 333s] 50 | ASSERT_ZERO(have_timestamp); [ 333s] | ^~~~~~~~~~~ [ 333s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 333s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 333s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:52:25: note: in expansion of macro 'ASSERT_RETURN' [ 333s] 52 | ASSERT_RETURN(item->size,==,2*sizeof(uint64_t) + sizeof(struct kdbus_timestamp)); [ 333s] | ^~~~~~~~~~~~~ [ 333s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 333s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 333s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:52:25: note: in expansion of macro 'ASSERT_RETURN' [ 333s] 52 | ASSERT_RETURN(item->size,==,2*sizeof(uint64_t) + sizeof(struct kdbus_timestamp)); [ 333s] | ^~~~~~~~~~~~~ [ 333s] test-timeout.c: In function 'kdbus_test_timeout': [ 333s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 333s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 333s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:80:9: note: in expansion of macro 'ASSERT_NONZERO' [ 333s] 80 | ASSERT_NONZERO(conn_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 333s] | ^~~~~~~~~~~~~~ [ 333s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 333s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 333s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:81:9: note: in expansion of macro 'ASSERT_NONZERO' [ 333s] 81 | ASSERT_NONZERO(conn_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 333s] | ^~~~~~~~~~~~~~ [ 333s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 333s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 333s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:92:17: note: in expansion of macro 'ASSERT_ZERO' [ 333s] 92 | ASSERT_ZERO(kdbus_msg_send(conn_b, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, (i + 1) * 100ULL * 1000000ULL, 0, conn_a->id)); [ 333s] | ^~~~~~~~~~~ [ 333s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 333s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 333s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:108:25: note: in expansion of macro 'ASSERT_ZERO' [ 333s] 108 | ASSERT_ZERO(timeout_msg_recv(conn_b, KDBUS_ITEM_REPLY_TIMEOUT, &cookie_reply, NULL, NULL, NULL)); [ 333s] | ^~~~~~~~~~~ [ 333s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 333s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 333s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 333s] | ^~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 333s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 333s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 333s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 333s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 333s] | ^~~~~~~~~~~~ [ 333s] test-timeout.c:114:9: note: in expansion of macro 'ASSERT_ZERO' [ 333s] 114 | ASSERT_ZERO(expected); [ 333s] | ^~~~~~~~~~~ [ 333s] 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 [ 336s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/tests/kdbus' [ 336s] + make -C tests/logger [ 336s] make: Entering directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/tests/logger' [ 336s] 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 [ 336s] logger.c: In function 'main': [ 336s] logger.c:332:33: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 336s] 332 | fprintf(stderr, "mask: %u\n", test_mask); [ 336s] | ~^ ~~~~~~~~~ [ 336s] | | | [ 336s] | | long unsigned int [ 336s] | unsigned int [ 336s] | %lu [ 337s] gcc -o logger-test logger.o -pthread [ 337s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/tests/logger' [ 337s] + make -C tests/zlog_stdout [ 337s] make: Entering directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/tests/zlog_stdout' [ 337s] 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 [ 338s] gcc -o zlog_stdout zlog_stdout.o -pthread [ 339s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/tests/zlog_stdout' [ 339s] + make -C tests/zlog_bitmap [ 339s] make: Entering directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/tests/zlog_bitmap' [ 339s] 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 [ 339s] zlog_bitmap.c: In function 'main': [ 339s] zlog_bitmap.c:64:32: warning: unused variable 'k' [-Wunused-variable] [ 339s] 64 | int fd, ret = 0, i, j, k, result[2][2]; [ 339s] | ^ [ 339s] gcc -o zlog_bitmap zlog_bitmap.o -pthread [ 340s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/tests/zlog_bitmap' [ 340s] + exit 0 [ 340s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.V8NjZF [ 340s] + umask 022 [ 340s] + cd /home/abuild/rpmbuild/BUILD [ 340s] + cd linux-tizen-modules-source-7.5.1 [ 340s] + LANG=C [ 340s] + export LANG [ 340s] + unset DISPLAY [ 340s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64 [ 340s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64 [ 340s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/src/linux-tizen-modules-source/kdbus [ 340s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/src/linux-tizen-modules-source/zlogger [ 340s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64//usr/include/linux [ 340s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64//usr/libexec/linux-tizen-modules-source/tests [ 340s] + cp -a include/ /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/src/linux-tizen-modules-source [ 340s] + 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.1-0.riscv64/usr/src/linux-tizen-modules-source [ 340s] + 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.1-0.riscv64/usr/src/linux-tizen-modules-source/kdbus [ 340s] + cp kernel/zlogger/zlogger.c kernel/zlogger/Makefile /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/src/linux-tizen-modules-source/zlogger [ 341s] + cp include/uapi/linux/kdbus.h /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64//usr/include/linux [ 341s] + cp include/uapi/linux/logger.h /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64//usr/include/linux [ 341s] + cp include/uapi/linux/zlogger.h /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64//usr/include/linux [ 341s] + cp tests/logger/logger-test /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64//usr/libexec/linux-tizen-modules-source/tests/logger-test [ 341s] + cp tests/kdbus/kdbus-test /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64//usr/libexec/linux-tizen-modules-source/tests/kdbus-test [ 342s] + cp tests/zlog_stdout/zlog_stdout /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64//usr/libexec/linux-tizen-modules-source/tests/zlog_stdout [ 342s] + cp tests/zlog_bitmap/zlog_bitmap /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64//usr/libexec/linux-tizen-modules-source/tests/zlog_bitmap [ 342s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 7.5.1-0 --unique-debug-src-base linux-tizen-modules-source-7.5.1-0.riscv64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1 [ 345s] 1+0 records in [ 345s] 1+0 records out [ 345s] 1+0 records in [ 345s] 1+0 records out [ 345s] 1+0 records in [ 345s] 1+0 records out [ 345s] 1+0 records in [ 345s] 1+0 records out [ 345s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/libexec/linux-tizen-modules-source/tests/kdbus-test [ 345s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/libexec/linux-tizen-modules-source/tests/zlog_stdout [ 345s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/libexec/linux-tizen-modules-source/tests/zlog_bitmap [ 345s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/libexec/linux-tizen-modules-source/tests/logger-test [ 346s] 0+0 records in [ 346s] 0+0 records out [ 346s] 0+0 records in [ 346s] 0+0 records out [ 346s] 0+0 records in [ 346s] 0+0 records out [ 346s] 0+0 records in [ 346s] 0+0 records out [ 347s] 674 blocks [ 347s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/linux-tizen-modules-source-debuginfo.manifest [ 347s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/linux-tizen-modules-source-debugsource.manifest [ 347s] + /usr/lib/rpm/check-buildroot [ 348s] + /usr/lib/rpm//brp-compress [ 348s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 352s] + /usr/lib/rpm/brp-python-hardlink [ 352s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64 [ 352s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/isu.list [ 352s] ~/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64 ~/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1 [ 352s] ~/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1 [ 352s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 358s] Processing files: linux-tizen-modules-source-7.5.1-0.riscv64 [ 358s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 358s] ZXF1ZXN0Pgo8L21hbmlmZXN0Pgo= [ 358s] [ 358s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Ew49Xs [ 358s] + umask 022 [ 358s] + cd /home/abuild/rpmbuild/BUILD [ 358s] + cd linux-tizen-modules-source-7.5.1 [ 358s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/share/licenses/linux-tizen-modules-source [ 358s] + export LC_ALL=C [ 358s] + LC_ALL=C [ 358s] + export LICENSEDIR [ 358s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/share/licenses/linux-tizen-modules-source [ 358s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/share/licenses/linux-tizen-modules-source [ 358s] + exit 0 [ 358s] Provides: linux-tizen-modules-source = 7.5.1-0 linux-tizen-modules-source(riscv-64) = 7.5.1-0 [ 358s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 358s] Processing files: linux-tizen-modules-source-debugsource-7.5.1-0.riscv64 [ 358s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 358s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 358s] [ 358s] Provides: linux-tizen-modules-source-debugsource = 7.5.1-0 linux-tizen-modules-source-debugsource(riscv-64) = 7.5.1-0 [ 358s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 358s] Processing files: linux-tizen-modules-headers-7.5.1-0.riscv64 [ 358s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 358s] ZXF1ZXN0Pgo8L21hbmlmZXN0Pgo= [ 358s] [ 358s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.WjjIaC [ 358s] + umask 022 [ 358s] + cd /home/abuild/rpmbuild/BUILD [ 358s] + cd linux-tizen-modules-source-7.5.1 [ 358s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/share/licenses/linux-tizen-modules-headers [ 358s] + export LC_ALL=C [ 358s] + LC_ALL=C [ 358s] + export LICENSEDIR [ 358s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/share/licenses/linux-tizen-modules-headers [ 359s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/share/licenses/linux-tizen-modules-headers [ 359s] + exit 0 [ 359s] Provides: linux-tizen-modules-headers = 7.5.1-0 linux-tizen-modules-headers(riscv-64) = 7.5.1-0 [ 359s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 359s] Processing files: linux-tizen-modules-tests-7.5.1-0.riscv64 [ 359s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 359s] ZXF1ZXN0Pgo8L21hbmlmZXN0Pgo= [ 359s] [ 359s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.CAsPwS [ 359s] + umask 022 [ 359s] + cd /home/abuild/rpmbuild/BUILD [ 359s] + cd linux-tizen-modules-source-7.5.1 [ 359s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/share/licenses/linux-tizen-modules-tests [ 359s] + export LC_ALL=C [ 359s] + LC_ALL=C [ 359s] + export LICENSEDIR [ 359s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/share/licenses/linux-tizen-modules-tests [ 359s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64/usr/share/licenses/linux-tizen-modules-tests [ 359s] + exit 0 [ 359s] Provides: linux-kernel-kdbus-tests linux-kernel-logger-tests linux-tizen-modules-tests = 7.5.1-0 linux-tizen-modules-tests(riscv-64) = 7.5.1-0 [ 359s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 359s] 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) [ 359s] Processing files: linux-tizen-modules-tests-debuginfo-7.5.1-0.riscv64 [ 359s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 359s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 359s] [ 359s] Provides: linux-tizen-modules-tests-debuginfo = 7.5.1-0 linux-tizen-modules-tests-debuginfo(riscv-64) = 7.5.1-0 [ 359s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 359s] Recommends: linux-tizen-modules-source-debugsource(riscv-64) = 7.5.1-0 [ 359s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64 [ 361s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/linux-tizen-modules-source-7.5.1-0.riscv64.rpm [ 361s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/linux-tizen-modules-source-debugsource-7.5.1-0.riscv64.rpm [ 361s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/linux-tizen-modules-headers-7.5.1-0.riscv64.rpm [ 362s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/linux-tizen-modules-tests-7.5.1-0.riscv64.rpm [ 363s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/linux-tizen-modules-tests-debuginfo-7.5.1-0.riscv64.rpm [ 363s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eGu7e9 [ 363s] + umask 022 [ 363s] + cd /home/abuild/rpmbuild/BUILD [ 363s] + cd linux-tizen-modules-source-7.5.1 [ 363s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.riscv64 [ 363s] + exit 0 [ 363s] ... checking for files with abuild user/group [ 363s] ... creating baselibs [ 369s] [ 369s] ip-192-168-56-50 finished "build linux-tizen-modules-source.spec" at Mon Feb 10 05:09:12 UTC 2025. [ 369s]