Diff of the two buildlogs: -- --- b1/build.log 2025-01-16 11:37:46.066246730 +0000 +++ b2/build.log 2025-01-16 11:40:30.682771412 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jan 15 23:36:22 -12 2025 -I: pbuilder-time-stamp: 1737027382 +I: Current time: Thu Feb 19 08:00:48 +14 2026 +I: pbuilder-time-stamp: 1771437648 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,84 @@ dpkg-source: info: applying fix-FTBFS-on-s390x.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1723167/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2657000/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Feb 18 18:00 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2657000/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2657000/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='e7208cc092e7480a92f8115deca52318' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1723167' - PS1='# ' - PS2='> ' + INVOCATION_ID=2e41ba54efb84763a4aef09afa0c5d61 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2657000 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.pssYMusi/pbuilderrc_6FJ0 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.pssYMusi/b1 --logfile b1/build.log samhain_4.1.4-5.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.pssYMusi/pbuilderrc_hkdU --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.pssYMusi/b2 --logfile b2/build.log samhain_4.1.4-5.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1723167/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2657000/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -167,7 +199,7 @@ Get: 40 http://deb.debian.org/debian trixie/main arm64 libgmpxx4ldbl arm64 2:6.3.0+dfsg-3 [329 kB] Get: 41 http://deb.debian.org/debian trixie/main arm64 libgmp-dev arm64 2:6.3.0+dfsg-3 [621 kB] Get: 42 http://deb.debian.org/debian trixie/main arm64 libgmp3-dev arm64 2:6.3.0+dfsg-3 [322 kB] -Fetched 22.9 MB in 0s (99.9 MB/s) +Fetched 22.9 MB in 0s (47.1 MB/s) Preconfiguring packages ... Selecting previously unselected package libproc2-0:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19967 files and directories currently installed.) @@ -356,7 +388,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/samhain-4.1.4/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../samhain_4.1.4-5_source.changes +I: user script /srv/workspace/pbuilder/2657000/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2657000/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/samhain-4.1.4/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../samhain_4.1.4-5_source.changes dpkg-buildpackage: info: source package samhain dpkg-buildpackage: info: source version 4.1.4-5 dpkg-buildpackage: info: source distribution unstable @@ -770,8 +806,8 @@ checking whether /dev/random exists... yes checking for user samhain... no checking for user daemon... yes -checking base key setting .. collecting entropy... 541958069 1349517337 -checking key position... 6 +checking base key setting .. collecting entropy... 273793076 275390548 +checking key position... 2 configure: creating ./config.status config.status: creating Makefile config.status: creating samhain-install.sh @@ -807,7 +843,7 @@ Database file: /var/lib/samhain/samhain_file PID file: /run/samhain/samhain.pid Log file: /var/log/samhain/samhain.log - Base key: 541958069,1349517337 + Base key: 273793076,275390548 Selected rc file: samhainrc.linux make[1]: Leaving directory '/build/reproducible-path/samhain-4.1.4' @@ -864,28 +900,30 @@ encode 0 config.h creating sh_MK.h aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger_i.o -c ./src/sh_tiger1_64.c -./encode 0 ./src/sh_tiger2.c --> x_sh_tiger2.c ./encode 0 ./src/sh_files.c --> x_sh_files.c -./encode 0 ./src/sh_tiger2_64.c --> x_sh_tiger2_64.c ./encode 0 ./src/sh_tiger0.c --> x_sh_tiger0.c -./encode 0 ./src/sh_hash.c --> x_sh_hash.c -./encode 0 ./src/sh_error.c --> x_sh_error.c -./encode 0 ./src/sh_readconf.c --> x_sh_readconf.c -./encode 0 ./src/sh_getopt.c --> x_sh_getopt.c -./encode 0 ./src/sh_unix.c --> x_sh_unix.c +./encode 0 ./src/sh_tiger2.c --> x_sh_tiger2.c +./encode 0 ./src/sh_tiger2_64.c --> x_sh_tiger2_64.c ./encode 0 ./src/samhain.c --> x_samhain.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger0.o -c x_sh_tiger0.c -./encode 0 ./src/sh_filter.c --> x_sh_filter.c +./encode 0 ./src/sh_unix.c --> x_sh_unix.c +./encode 0 ./src/sh_error.c --> x_sh_error.c ./encode 0 ./src/sh_utils.c --> x_sh_utils.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2_64.o -c x_sh_tiger2_64.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_files.o -c x_sh_files.c +./encode 0 ./src/sh_getopt.c --> x_sh_getopt.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger0.o -c x_sh_tiger0.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2.o -c x_sh_tiger2.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_readconf.o -c x_sh_readconf.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_hash.o -c x_sh_hash.c +./encode 0 ./src/sh_readconf.c --> x_sh_readconf.c +./encode 0 ./src/sh_filter.c --> x_sh_filter.c +./encode 0 ./src/sh_hash.c --> x_sh_hash.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o samhain.o -c x_samhain.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_error.o -c x_sh_error.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_getopt.o -c x_sh_getopt.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2_64.o -c x_sh_tiger2_64.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_utils.o -c x_sh_utils.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_unix.o -c x_sh_unix.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_getopt.o -c x_sh_getopt.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_error.o -c x_sh_error.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_hash.o -c x_sh_hash.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_readconf.o -c x_sh_readconf.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_filter.o -c x_sh_filter.c In file included from x_sh_tiger0.c:25: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -893,67 +931,57 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_filter.o -c x_sh_filter.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_utils.o -c x_sh_utils.c -In file included from x_sh_hash.c:46: +In file included from x_sh_files.c:82: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_mail.c --> x_sh_mail.c -In file included from x_sh_readconf.c:50: +In file included from x_samhain.c:66: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -In file included from x_sh_files.c:82: +In file included from x_sh_getopt.c:34: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_error.c:58: -./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_samhain.c:66: +In file included from x_sh_utils.c:43: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_filter.c:29: +In file included from x_sh_error.c:58: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_mail.c --> x_sh_mail.c ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mail.o -c x_sh_mail.c -In file included from x_sh_utils.c:43: +In file included from x_sh_unix.c:96: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_unix.c:96: +In file included from x_sh_readconf.c:50: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_getopt.c:34: +In file included from x_sh_hash.c:46: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ @@ -961,25 +989,35 @@ 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./encode 0 ./src/sh_nmail.c --> x_sh_nmail.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_nmail.o -c x_sh_nmail.c -In file included from x_sh_mail.c:57: +In file included from x_sh_filter.c:29: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_mem.c --> x_sh_mem.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mail.o -c x_sh_mail.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_nmail.o -c x_sh_nmail.c In file included from x_sh_nmail.c:46: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +In file included from x_sh_mail.c:57: +./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mem.o -c x_sh_mem.c +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./encode 0 ./src/sh_mem.c --> x_sh_mem.c ./encode 0 ./src/sh_login_track.c --> x_sh_login_track.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mem.o -c x_sh_mem.c +./encode 0 ./src/sh_entropy.c --> x_sh_entropy.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_login_track.o -c x_sh_login_track.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_entropy.o -c x_sh_entropy.c In file included from x_sh_mem.c:41: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -991,7 +1029,6 @@ x_sh_files.c:624:16: warning: variable 'l_candidate' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 624 | size_t l_candidate = 0; | ^~~~~~~~~~~ -./encode 0 ./src/sh_entropy.c --> x_sh_entropy.c In file included from x_sh_login_track.c:31: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -999,23 +1036,27 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_modules.c --> x_sh_modules.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_entropy.o -c x_sh_entropy.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_modules.o -c x_sh_modules.c -./encode 0 ./src/sh_utmp.c --> x_sh_utmp.c In file included from x_sh_entropy.c:62: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_xfer_client.c --> x_sh_xfer_client.c ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_modules.c --> x_sh_modules.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_modules.o -c x_sh_modules.c +./encode 0 ./src/sh_utmp.c --> x_sh_utmp.c +./encode 0 ./src/sh_xfer_client.c --> x_sh_xfer_client.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_utmp.o -c x_sh_utmp.c +./encode 0 ./src/sh_xfer_server.c --> x_sh_xfer_server.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_client.o -c x_sh_xfer_client.c +./encode 0 ./src/sh_xfer_syslog.c --> x_sh_xfer_syslog.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_server.o -c x_sh_xfer_server.c +./encode 0 ./src/sh_suidchk.c --> x_sh_suidchk.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_syslog.o -c x_sh_xfer_syslog.c In function 'stripped_hostname', inlined from 'check_host' at x_sh_login_track.c:877:11, inlined from 'sh_ltrack_check' at x_sh_login_track.c:1019:15: -./encode 0 ./src/sh_xfer_server.c --> x_sh_xfer_server.c x_sh_login_track.c:841:11: warning: 'strchr' argument 1 declared attribute 'nonstring' [-Wstringop-overread] 841 | q = strchr(host, '.'); | ^~~~~~~~~~~~~~~~~ @@ -1025,20 +1066,14 @@ /usr/include/aarch64-linux-gnu/bits/utmpx.h:65:8: note: argument 'ut_host' declared here 65 | char ut_host[__UT_HOSTSIZE] | ^~~~~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_client.o -c x_sh_xfer_client.c -./encode 0 ./src/sh_xfer_syslog.c --> x_sh_xfer_syslog.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_server.o -c x_sh_xfer_server.c -./encode 0 ./src/sh_suidchk.c --> x_sh_suidchk.c -In file included from x_sh_utmp.c:77: +In file included from x_sh_xfer_client.c:118: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_srp.c --> x_sh_srp.c ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_syslog.o -c x_sh_xfer_syslog.c -In file included from x_sh_xfer_client.c:118: +In file included from x_sh_utmp.c:77: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ @@ -1046,6 +1081,7 @@ 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_suidchk.o -c x_sh_suidchk.c +./encode 0 ./src/sh_srp.c --> x_sh_srp.c In file included from x_sh_xfer_server.c:126: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1053,11 +1089,13 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_srp.o -c x_sh_srp.c ./encode 0 ./src/sh_fifo.c --> x_sh_fifo.c +x_sh_files.c: In function 'sh_files_checkdir': +x_sh_files.c:2058:22: warning: variable 'dirlist' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 2058 | struct sh_dirent * dirlist; + | ^~~~~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_srp.o -c x_sh_srp.c ./encode 0 ./src/sh_tools.c --> x_sh_tools.c -./encode 0 ./src/sh_html.c --> x_sh_html.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_fifo.o -c x_sh_fifo.c In file included from x_sh_suidchk.c:75: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1065,9 +1103,9 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_html.o -c x_sh_html.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_fifo.o -c x_sh_fifo.c ./encode 0 ./src/sh_gpg.c --> x_sh_gpg.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tools.o -c x_sh_tools.c +./encode 0 ./src/sh_html.c --> x_sh_html.c x_sh_suidchk.c: In function 'filesystem_type_uncached': x_sh_suidchk.c:2242:22: warning: storing the address of local variable 'type' in 'sh_dummy_2229_type' [-Wdangling-pointer=] 2242 | sh_dummy_2229_type = (void *) &type; @@ -1078,7 +1116,7 @@ x_sh_suidchk.c:2221:8: note: 'sh_dummy_2229_type' declared here 2221 | void * sh_dummy_2229_type; | ^~~~~~~~~~~~~~~~~~ -./encode 0 ./src/sh_cat.c --> x_sh_cat.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tools.o -c x_sh_tools.c x_sh_suidchk.c: In function 'sh_suidchk_check_internal': x_sh_suidchk.c:1031:20: warning: storing the address of local variable 'tmp' in 'sh_dummy_itmp' [-Wdangling-pointer=] 1031 | sh_dummy_itmp = (void*) &tmp; @@ -1098,8 +1136,15 @@ x_sh_suidchk.c:999:15: note: 'sh_dummy_dirlist' declared here 999 | static void * sh_dummy_dirlist = NULL; | ^~~~~~~~~~~~~~~~ +x_sh_unix.c: In function 'sh_unix_getinfo': +x_sh_unix.c:3812:17: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 3812 | char * tmp; + | ^~~ +x_sh_unix.c:3815:17: warning: variable 'linknamebuf' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 3815 | char * linknamebuf; + | ^~~~~~~~~~~ aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_gpg.o -c x_sh_gpg.c -./encode 0 ./src/sh_calls.c --> x_sh_calls.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_html.o -c x_sh_html.c In file included from x_sh_fifo.c:34: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1107,11 +1152,6 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_cat.o -c x_sh_cat.c -x_sh_files.c: In function 'sh_files_checkdir': -x_sh_files.c:2058:22: warning: variable 'dirlist' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 2058 | struct sh_dirent * dirlist; - | ^~~~~~~ In file included from x_sh_tools.c:86: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1119,17 +1159,19 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_calls.o -c x_sh_calls.c +./encode 0 ./src/sh_cat.c --> x_sh_cat.c +./encode 0 ./src/sh_calls.c --> x_sh_calls.c ./encode 0 ./src/sh_extern.c --> x_sh_extern.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_cat.o -c x_sh_cat.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_calls.o -c x_sh_calls.c ./encode 0 ./src/sh_database.c --> x_sh_database.c ./encode 0 ./src/sh_err_log.c --> x_sh_err_log.c -./encode 0 ./src/sh_err_console.c --> x_sh_err_console.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_extern.o -c x_sh_extern.c +./encode 0 ./src/sh_err_console.c --> x_sh_err_console.c ./encode 0 ./src/sh_err_syslog.c --> x_sh_err_syslog.c +./encode 0 ./src/sh_schedule.c --> x_sh_schedule.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_database.o -c x_sh_database.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_log.o -c x_sh_err_log.c -./encode 0 ./src/sh_schedule.c --> x_sh_schedule.c -./encode 0 ./src/bignum.c --> x_bignum.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_console.o -c x_sh_err_console.c In file included from x_sh_calls.c:56: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] @@ -1138,7 +1180,6 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_syslog.o -c x_sh_err_syslog.c x_sh_calls.c:935:50: warning: argument 3 of type 'int *' declared as a pointer [-Warray-parameter=] 935 | int aud_pipe (const char * file, int line, int * modus) | ~~~~~~^~~~~ @@ -1148,6 +1189,7 @@ 99 | int aud_pipe (const char * file, int line, int modus[2]); | ~~~~^~~~~~~~ aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_schedule.o -c x_sh_schedule.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_syslog.o -c x_sh_err_syslog.c In file included from x_sh_extern.c:89: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1155,49 +1197,44 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o bignum.o -c x_bignum.c -In file included from x_sh_err_log.c:30: +./encode 0 ./src/bignum.c --> x_bignum.c +In file included from x_sh_err_console.c:26: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_err_console.c:26: +./encode 0 ./src/trustfile.c --> x_trustfile.c +In file included from x_sh_err_log.c:30: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/trustfile.c --> x_trustfile.c ./encode 0 ./src/rijndael-alg-fst.c --> x_rijndael-alg-fst.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o bignum.o -c x_bignum.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o trustfile.o -c x_trustfile.c ./encode 0 ./src/rijndael-api-fst.c --> x_rijndael-api-fst.c -./encode 0 ./src/slib.c --> x_slib.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o rijndael-alg-fst.o -c x_rijndael-alg-fst.c +./encode 0 ./src/slib.c --> x_slib.c ./encode 0 ./src/zAVLTree.c --> x_zAVLTree.c -x_sh_unix.c: In function 'sh_unix_getinfo': aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o rijndael-api-fst.o -c x_rijndael-api-fst.c -x_sh_unix.c:3812:17: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 3812 | char * tmp; - | ^~~ -x_sh_unix.c:3815:17: warning: variable 'linknamebuf' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 3815 | char * linknamebuf; - | ^~~~~~~~~~~ aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o slib.o -c x_slib.c ./encode 0 ./src/sh_socket.c --> x_sh_socket.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o zAVLTree.o -c x_zAVLTree.c -./encode 0 ./src/sh_ignore.c --> x_sh_ignore.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_socket.o -c x_sh_socket.c In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from x_slib.c:8: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_socket.o -c x_sh_socket.c +./encode 0 ./src/sh_ignore.c --> x_sh_ignore.c ./encode 0 ./src/sh_prelude.c --> x_sh_prelude.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_ignore.o -c x_sh_ignore.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_prelude.o -c x_sh_prelude.c In file included from x_sh_socket.c:53: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1205,26 +1242,33 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_prelude.o -c x_sh_prelude.c +x_sh_suidchk.c:1008:19: warning: variable 'tmpcat' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1008 | char * tmpcat; + | ^~~~~~ +x_sh_suidchk.c:1009:19: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1009 | char * tmp; + | ^~~ +x_sh_suidchk.c:1018:19: warning: variable 'theFile' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1018 | file_type * theFile = NULL; + | ^~~~~~~ ./encode 0 ./src/sh_mounts.c --> x_sh_mounts.c ./encode 0 ./src/sh_userfiles.c --> x_sh_userfiles.c ./encode 0 ./src/sh_prelink.c --> x_sh_prelink.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mounts.o -c x_sh_mounts.c +./encode 0 ./src/sh_static.c --> x_sh_static.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_userfiles.o -c x_sh_userfiles.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_prelink.o -c x_sh_prelink.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mounts.o -c x_sh_mounts.c ./encode 0 ./src/sh_processcheck.c --> x_sh_processcheck.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_prelink.o -c x_sh_prelink.c +./encode 0 ./src/sh_portcheck.c --> x_sh_portcheck.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_static.o -c x_sh_static.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_processcheck.o -c x_sh_processcheck.c +./encode 0 ./src/sh_port2proc.c --> x_sh_port2proc.c +./encode 0 ./src/sh_log_parse_syslog.c --> x_sh_log_parse_syslog.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_portcheck.o -c x_sh_portcheck.c In file included from x_sh_userfiles.c:35: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -./encode 0 ./src/sh_portcheck.c --> x_sh_portcheck.c -./encode 0 ./src/sh_static.c --> x_sh_static.c -./encode 0 ./src/sh_port2proc.c --> x_sh_port2proc.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_portcheck.o -c x_sh_portcheck.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_processcheck.o -c x_sh_processcheck.c In file included from x_sh_mounts.c:32: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1232,67 +1276,62 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_log_parse_syslog.c --> x_sh_log_parse_syslog.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_port2proc.o -c x_sh_port2proc.c -In file included from x_sh_prelink.c:31: -./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -x_sh_suidchk.c:1008:19: warning: variable 'tmpcat' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1008 | char * tmpcat; - | ^~~~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_static.o -c x_sh_static.c -x_sh_suidchk.c:1009:19: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1009 | char * tmp; - | ^~~ -x_sh_suidchk.c:1018:19: warning: variable 'theFile' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1018 | file_type * theFile = NULL; - | ^~~~~~~ -./encode 0 ./src/sh_log_parse_apache.c --> x_sh_log_parse_apache.c -./encode 0 ./src/sh_log_parse_pacct.c --> x_sh_log_parse_pacct.c -./encode 0 ./src/sh_log_parse_samba.c --> x_sh_log_parse_samba.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_syslog.o -c x_sh_log_parse_syslog.c -In file included from x_sh_portcheck.c:83: +In file included from x_sh_prelink.c:31: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_pacct.o -c x_sh_log_parse_pacct.c +./encode 0 ./src/sh_log_parse_pacct.c --> x_sh_log_parse_pacct.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_syslog.o -c x_sh_log_parse_syslog.c x_slib.c: In function 'dlog': x_slib.c:923:16: warning: '__builtin_strncpy' output may be truncated copying 79 bytes from a string of length 80 [-Wstringop-truncation] 923 | (void) strncpy(dst, src, siz-1); | ^ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_port2proc.o -c x_sh_port2proc.c In file included from x_sh_processcheck.c:69: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_port2proc.c:53: +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./encode 0 ./src/sh_log_parse_apache.c --> x_sh_log_parse_apache.c +./encode 0 ./src/sh_log_parse_samba.c --> x_sh_log_parse_samba.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_pacct.o -c x_sh_log_parse_pacct.c +In file included from x_sh_portcheck.c:83: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_log_evalrule.c --> x_sh_log_evalrule.c ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_apache.o -c x_sh_log_parse_apache.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_samba.o -c x_sh_log_parse_samba.c +In file included from x_sh_port2proc.c:53: +./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_samba.o -c x_sh_log_parse_samba.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_apache.o -c x_sh_log_parse_apache.c -./encode 0 ./src/sh_log_evalrule.c --> x_sh_log_evalrule.c -./encode 0 ./src/sh_log_check.c --> x_sh_log_check.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_evalrule.o -c x_sh_log_evalrule.c +./encode 0 ./src/sh_log_check.c --> x_sh_log_check.c ./encode 0 ./src/sh_log_parse_generic.c --> x_sh_log_parse_generic.c -./encode 0 ./src/sh_log_mark.c --> x_sh_log_mark.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_check.o -c x_sh_log_check.c ./encode 0 ./src/sh_log_correlate.c --> x_sh_log_correlate.c -./encode 0 ./src/sh_log_repeat.c --> x_sh_log_repeat.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_mark.o -c x_sh_log_mark.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_check.o -c x_sh_log_check.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_generic.o -c x_sh_log_parse_generic.c +./encode 0 ./src/sh_log_mark.c --> x_sh_log_mark.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_correlate.o -c x_sh_log_correlate.c +./encode 0 ./src/sh_log_repeat.c --> x_sh_log_repeat.c +./encode 0 ./src/sh_pthread.c --> x_sh_pthread.c +./encode 0 ./src/sh_string.c --> x_sh_string.c +./encode 0 ./src/sh_inotify.c --> x_sh_inotify.c x_slib.c: In function 'sl_open_file': x_slib.c:923:16: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] In file included from x_slib.c:61: @@ -1302,17 +1341,18 @@ x_slib.c:2042:9: note: in expansion of macro 'sl_strlen' 2042 | len = sl_strlen(filename)+1; | ^~~~~~~~~ -./encode 0 ./src/sh_pthread.c --> x_sh_pthread.c -./encode 0 ./src/sh_string.c --> x_sh_string.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_correlate.o -c x_sh_log_correlate.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_mark.o -c x_sh_log_mark.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_repeat.o -c x_sh_log_repeat.c -./encode 0 ./src/sh_inotify.c --> x_sh_inotify.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_pthread.o -c x_sh_pthread.c x_sh_processcheck.c: In function 'sh_processes_runps.constprop': x_sh_processcheck.c:1041:7: warning: variable 'retval' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 1041 | int retval = 0; | ^~~~~~ aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_string.o -c x_sh_string.c +./encode 0 ./src/dnmalloc.c --> x_dnmalloc.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_inotify.o -c x_sh_inotify.c +./encode 0 ./src/sh_audit.c --> x_sh_audit.c +./encode 0 ./src/sh_registry.c --> x_sh_registry.c In file included from x_sh_portcheck.c:30: x_sh_portcheck.c: In function 'sh_portchk_check_list.constprop': x_sh_portcheck.c:561:51: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 185 and 242 [-Wformat-truncation=] @@ -1335,9 +1375,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -./encode 0 ./src/dnmalloc.c --> x_dnmalloc.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_inotify.o -c x_sh_inotify.c -./encode 0 ./src/sh_audit.c --> x_sh_audit.c +./encode 0 ./src/sh_ipvx.c --> x_sh_ipvx.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o dnmalloc.o -c x_dnmalloc.c x_sh_portcheck.c: In function 'sh_portchk_cmp_to_list.constprop': x_sh_portcheck.c:802:47: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 185 and 242 [-Wformat-truncation=] 802 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), @@ -1376,14 +1415,15 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -./encode 0 ./src/sh_registry.c --> x_sh_registry.c -./encode 0 ./src/sh_ipvx.c --> x_sh_ipvx.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o dnmalloc.o -c x_dnmalloc.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_audit.o -c x_sh_audit.c -./encode 0 ./src/sh_restrict.c --> x_sh_restrict.c -./encode 0 ./src/sh_filetype.c --> x_sh_filetype.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_registry.o -c x_sh_registry.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_ipvx.o -c x_sh_ipvx.c +./encode 0 ./src/sh_restrict.c --> x_sh_restrict.c +./encode 0 ./src/sh_filetype.c --> x_sh_filetype.c +x_sh_processcheck.c: In function 'sh_process_check_int': +x_sh_processcheck.c:1244:30: warning: variable 'aout' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1244 | char * aout; + | ^~~~ In file included from x_sh_inotify.c:47: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1391,38 +1431,37 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -x_sh_processcheck.c: In function 'sh_process_check_int': -x_sh_processcheck.c:1244:30: warning: variable 'aout' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1244 | char * aout; - | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_restrict.o -c x_sh_restrict.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_filetype.o -c x_sh_filetype.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_restrict.o -c x_sh_restrict.c In file included from x_sh_audit.c:43: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_sub.c --> x_sh_sub.c ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_sub.c --> x_sh_sub.c ./encode 0 ./src/sh_fInotify.c --> x_sh_fInotify.c -x_sh_audit.c: In function 'doAuparse': -x_sh_audit.c:77:5: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] - 77 | strncpy(state->success, auparse_interpret_field(au), REC_SIZE_SUCCESS); - | ^ In file included from x_sh_ipvx.c:37: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_checksum.c --> x_sh_checksum.c +x_sh_audit.c: In function 'doAuparse': +x_sh_audit.c:77:5: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] + 77 | strncpy(state->success, auparse_interpret_field(au), REC_SIZE_SUCCESS); + | ^ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sub.o -c x_sh_sub.c +./encode 0 ./src/sh_checksum.c --> x_sh_checksum.c In file included from x_sh_filetype.c:35: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sub.o -c x_sh_sub.c In file included from x_sh_restrict.c:44: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1430,13 +1469,9 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_fInotify.o -c x_sh_fInotify.c ./encode 0 ./src/sh_guid.c --> x_sh_guid.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_checksum.o -c x_sh_checksum.c -./encode 0 ./src/sh_sem.c --> x_sh_sem.c In function 'sh_ipvx_ntoa', inlined from 'sh_ipvx_print_sockaddr' at x_sh_ipvx.c:204:3: x_sh_ipvx.c:160:16: warning: 'ss.ss_family' may be used uninitialized [-Wmaybe-uninitialized] @@ -1446,9 +1481,8 @@ x_sh_ipvx.c:200:22: note: 'ss' declared here 200 | struct sh_sockaddr ss; | ^~ -./encode 0 ./src/sh_dbIO.c --> x_sh_dbIO.c -./encode 0 ./src/sh_dbCheck.c --> x_sh_dbCheck.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_guid.o -c x_sh_guid.c +./encode 0 ./src/sh_sem.c --> x_sh_sem.c In file included from x_sh_fInotify.c:31: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1456,17 +1490,9 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_dbCreate.c --> x_sh_dbCreate.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sem.o -c x_sh_sem.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbIO.o -c x_sh_dbIO.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbCheck.o -c x_sh_dbCheck.c x_sh_checksum.c:410:29: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 410 | void SHA256_Final(sha2_byte digest[], SHA256_CTX* context) | ~~~~~~~~~~^~~~~~~~ -In file included from x_sh_guid.c:22: -./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ In file included from x_sh_checksum.c:22: ./include/sh_checksum.h:22:19: note: previously declared as 'sha2_byte[32]' {aka 'unsigned char[32]'} 22 | void SHA256_Final(sha2_byte[SHA256_DIGEST_LENGTH], SHA256_CTX*); @@ -1478,27 +1504,37 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ x_sh_checksum.c:484:44: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 484 | char *SHA256_End(SHA256_CTX* context, char buffer[]) | ~~~~~^~~~~~~~ ./include/sh_checksum.h:23:31: note: previously declared as 'char[49]' 23 | char* SHA256_End(SHA256_CTX*, char[KEYBUF_SIZE]); | ^~~~~~~~~~~~~~~~~ -In file included from x_sh_dbIO.c:29: +./encode 0 ./src/sh_dbCheck.c --> x_sh_dbCheck.c +./encode 0 ./src/sh_dbIO.c --> x_sh_dbIO.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sem.o -c x_sh_sem.c +./encode 0 ./src/sh_dbCreate.c --> x_sh_dbCreate.c +In file included from x_sh_guid.c:22: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbCreate.o -c x_sh_dbCreate.c x_sh_fInotify.c: In function 'sh_fInotify_init_internal': x_sh_fInotify.c:340:10: warning: variable 'filename' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 340 | char * filename; | ^~~~~~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbCheck.o -c x_sh_dbCheck.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbIO.o -c x_sh_dbIO.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbCreate.o -c x_sh_dbCreate.c +In file included from x_sh_dbIO.c:29: +./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ In file included from x_sh_dbCheck.c:26: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1536,46 +1572,43 @@ mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/usr/share/man/man8 /bin/sh ./mkinstalldirs /build/reproducible-path/samhain-4.1.4/debian/samhain/usr/share/man/man5 mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/usr/share/man/man5 -encode 0 config.h /usr/bin/install -c -m 644 ./man/samhain.8 /build/reproducible-path/samhain-4.1.4/debian/samhain/usr/share/man/man8/samhain.8 +encode 0 config.h /usr/bin/install -c -m 644 ./man/samhainrc.5 /build/reproducible-path/samhain-4.1.4/debian/samhain/usr/share/man/man5/samhainrc.5 ./encode 0 ./src/sh_files.c --> x_sh_files.c -./encode 0 ./src/sh_tiger2.c --> x_sh_tiger2.c ./encode 0 ./src/sh_tiger0.c --> x_sh_tiger0.c +./encode 0 ./src/sh_tiger2.c --> x_sh_tiger2.c ./encode 0 ./src/sh_tiger2_64.c --> x_sh_tiger2_64.c ./encode 0 ./src/samhain.c --> x_samhain.c ./encode 0 ./src/sh_unix.c --> x_sh_unix.c ./encode 0 ./src/sh_utils.c --> x_sh_utils.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_files.o -c x_sh_files.c ./encode 0 ./src/sh_error.c --> x_sh_error.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2.o -c x_sh_tiger2.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger0.o -c x_sh_tiger0.c ./encode 0 ./src/sh_getopt.c --> x_sh_getopt.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o samhain.o -c x_samhain.c +./encode 0 ./src/sh_filter.c --> x_sh_filter.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2_64.o -c x_sh_tiger2_64.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_files.o -c x_sh_files.c ./encode 0 ./src/sh_readconf.c --> x_sh_readconf.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_unix.o -c x_sh_unix.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2.o -c x_sh_tiger2.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o samhain.o -c x_samhain.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_utils.o -c x_sh_utils.c -./encode 0 ./src/sh_filter.c --> x_sh_filter.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_getopt.o -c x_sh_getopt.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_filter.o -c x_sh_filter.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_error.o -c x_sh_error.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_unix.o -c x_sh_unix.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_getopt.o -c x_sh_getopt.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_readconf.o -c x_sh_readconf.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_filter.o -c x_sh_filter.c ./encode 0 ./src/sh_hash.c --> x_sh_hash.c -In file included from x_samhain.c:66: +In file included from x_sh_files.c:82: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_files.c:82: +In file included from x_sh_tiger0.c:25: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ In file included from x_sh_utils.c:43: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1583,24 +1616,18 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_tiger0.c:25: -./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_getopt.c:34: +In file included from x_samhain.c:66: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_mail.c --> x_sh_mail.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_hash.o -c x_sh_hash.c -./encode 0 ./src/sh_nmail.c --> x_sh_nmail.c -In file included from x_sh_error.c:58: +In file included from x_sh_getopt.c:34: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ @@ -1614,7 +1641,7 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_readconf.c:50: +In file included from x_sh_error.c:58: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ @@ -1628,22 +1655,25 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mail.o -c x_sh_mail.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_nmail.o -c x_sh_nmail.c -In file included from x_sh_hash.c:46: +./encode 0 ./src/sh_mail.c --> x_sh_mail.c +./encode 0 ./src/sh_nmail.c --> x_sh_nmail.c +In file included from x_sh_readconf.c:50: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_mail.c:57: +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_nmail.o -c x_sh_nmail.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mail.o -c x_sh_mail.c +In file included from x_sh_hash.c:46: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_mem.c --> x_sh_mem.c In file included from x_sh_nmail.c:46: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1651,14 +1681,16 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_mem.c --> x_sh_mem.c ./encode 0 ./src/sh_login_track.c --> x_sh_login_track.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mem.o -c x_sh_mem.c +In file included from x_sh_mail.c:57: +./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_login_track.o -c x_sh_login_track.c -x_sh_files.c: In function 'intern_find_morespecific_dir.constprop': -x_sh_files.c:624:16: warning: variable 'l_candidate' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 624 | size_t l_candidate = 0; - | ^~~~~~~~~~~ In file included from x_sh_mem.c:41: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1666,6 +1698,10 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +x_sh_files.c: In function 'intern_find_morespecific_dir.constprop': +x_sh_files.c:624:16: warning: variable 'l_candidate' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 624 | size_t l_candidate = 0; + | ^~~~~~~~~~~ In file included from x_sh_login_track.c:31: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1677,19 +1713,16 @@ ./encode 0 ./src/sh_modules.c --> x_sh_modules.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_entropy.o -c x_sh_entropy.c ./encode 0 ./src/sh_utmp.c --> x_sh_utmp.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_modules.o -c x_sh_modules.c ./encode 0 ./src/sh_xfer_client.c --> x_sh_xfer_client.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_modules.o -c x_sh_modules.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_utmp.o -c x_sh_utmp.c +In function 'stripped_hostname', + inlined from 'check_host' at x_sh_login_track.c:877:11, + inlined from 'sh_ltrack_check' at x_sh_login_track.c:1019:15: In file included from x_sh_entropy.c:62: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -In function 'stripped_hostname', - inlined from 'check_host' at x_sh_login_track.c:877:11, - inlined from 'sh_ltrack_check' at x_sh_login_track.c:1019:15: x_sh_login_track.c:841:11: warning: 'strchr' argument 1 declared attribute 'nonstring' [-Wstringop-overread] 841 | q = strchr(host, '.'); | ^~~~~~~~~~~~~~~~~ @@ -1699,6 +1732,9 @@ /usr/include/aarch64-linux-gnu/bits/utmpx.h:65:8: note: argument 'ut_host' declared here 65 | char ut_host[__UT_HOSTSIZE] | ^~~~~~~ +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_client.o -c x_sh_xfer_client.c In file included from x_sh_utmp.c:77: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] @@ -1707,6 +1743,7 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_xfer_server.c --> x_sh_xfer_server.c In file included from x_sh_xfer_client.c:118: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1714,19 +1751,21 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_xfer_server.c --> x_sh_xfer_server.c +./encode 0 ./src/sh_xfer_syslog.c --> x_sh_xfer_syslog.c ./encode 0 ./src/sh_suidchk.c --> x_sh_suidchk.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_server.o -c x_sh_xfer_server.c ./encode 0 ./src/sh_srp.c --> x_sh_srp.c -./encode 0 ./src/sh_tools.c --> x_sh_tools.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_suidchk.o -c x_sh_suidchk.c -./encode 0 ./src/sh_xfer_syslog.c --> x_sh_xfer_syslog.c +x_sh_files.c: In function 'sh_files_checkdir': +x_sh_files.c:2058:22: warning: variable 'dirlist' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 2058 | struct sh_dirent * dirlist; + | ^~~~~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_syslog.o -c x_sh_xfer_syslog.c ./encode 0 ./src/sh_fifo.c --> x_sh_fifo.c -./encode 0 ./src/sh_html.c --> x_sh_html.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_server.o -c x_sh_xfer_server.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_suidchk.o -c x_sh_suidchk.c +./encode 0 ./src/sh_tools.c --> x_sh_tools.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_srp.o -c x_sh_srp.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_syslog.o -c x_sh_xfer_syslog.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_html.o -c x_sh_html.c -In file included from x_sh_suidchk.c:75: +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_fifo.o -c x_sh_fifo.c +In file included from x_sh_xfer_server.c:126: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ @@ -1734,6 +1773,20 @@ 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tools.o -c x_sh_tools.c +In file included from x_sh_suidchk.c:75: +./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +In file included from x_sh_fifo.c:34: +./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ x_sh_suidchk.c: In function 'filesystem_type_uncached': x_sh_suidchk.c:2242:22: warning: storing the address of local variable 'type' in 'sh_dummy_2229_type' [-Wdangling-pointer=] 2242 | sh_dummy_2229_type = (void *) &type; @@ -1744,7 +1797,8 @@ x_sh_suidchk.c:2221:8: note: 'sh_dummy_2229_type' declared here 2221 | void * sh_dummy_2229_type; | ^~~~~~~~~~~~~~~~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_fifo.o -c x_sh_fifo.c +./encode 0 ./src/sh_html.c --> x_sh_html.c +./encode 0 ./src/sh_gpg.c --> x_sh_gpg.c x_sh_suidchk.c: In function 'sh_suidchk_check_internal': x_sh_suidchk.c:1031:20: warning: storing the address of local variable 'tmp' in 'sh_dummy_itmp' [-Wdangling-pointer=] 1031 | sh_dummy_itmp = (void*) &tmp; @@ -1764,53 +1818,26 @@ x_sh_suidchk.c:999:15: note: 'sh_dummy_dirlist' declared here 999 | static void * sh_dummy_dirlist = NULL; | ^~~~~~~~~~~~~~~~ -In file included from x_sh_xfer_server.c:126: -./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -In file included from x_sh_fifo.c:34: -./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -./encode 0 ./src/sh_gpg.c --> x_sh_gpg.c -x_sh_files.c: In function 'sh_files_checkdir': -x_sh_files.c:2058:22: warning: variable 'dirlist' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 2058 | struct sh_dirent * dirlist; - | ^~~~~~~ In file included from x_sh_tools.c:86: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_cat.c --> x_sh_cat.c ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_calls.c --> x_sh_calls.c -./encode 0 ./src/sh_extern.c --> x_sh_extern.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_html.o -c x_sh_html.c +./encode 0 ./src/sh_cat.c --> x_sh_cat.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_gpg.o -c x_sh_gpg.c -./encode 0 ./src/sh_database.c --> x_sh_database.c +./encode 0 ./src/sh_calls.c --> x_sh_calls.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_cat.o -c x_sh_cat.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_extern.o -c x_sh_extern.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_database.o -c x_sh_database.c +./encode 0 ./src/sh_extern.c --> x_sh_extern.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_calls.o -c x_sh_calls.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_extern.o -c x_sh_extern.c +./encode 0 ./src/sh_database.c --> x_sh_database.c ./encode 0 ./src/sh_err_log.c --> x_sh_err_log.c ./encode 0 ./src/sh_err_console.c --> x_sh_err_console.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_console.o -c x_sh_err_console.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_log.o -c x_sh_err_log.c -In file included from x_sh_extern.c:89: -./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -./encode 0 ./src/sh_schedule.c --> x_sh_schedule.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_database.o -c x_sh_database.c +./encode 0 ./src/sh_err_syslog.c --> x_sh_err_syslog.c In file included from x_sh_calls.c:56: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1818,6 +1845,7 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_log.o -c x_sh_err_log.c x_sh_calls.c:935:50: warning: argument 3 of type 'int *' declared as a pointer [-Warray-parameter=] 935 | int aud_pipe (const char * file, int line, int * modus) | ~~~~~~^~~~~ @@ -1826,65 +1854,63 @@ ./include/sh_calls.h:99:55: note: previously declared as an array 'int[2]' 99 | int aud_pipe (const char * file, int line, int modus[2]); | ~~~~^~~~~~~~ -./encode 0 ./src/sh_err_syslog.c --> x_sh_err_syslog.c +In file included from x_sh_extern.c:89: +./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./encode 0 ./src/sh_schedule.c --> x_sh_schedule.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_console.o -c x_sh_err_console.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_syslog.o -c x_sh_err_syslog.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_schedule.o -c x_sh_schedule.c +x_sh_unix.c: In function 'sh_unix_getinfo': +x_sh_unix.c:3812:17: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 3812 | char * tmp; + | ^~~ +x_sh_unix.c:3815:17: warning: variable 'linknamebuf' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 3815 | char * linknamebuf; + | ^~~~~~~~~~~ ./encode 0 ./src/bignum.c --> x_bignum.c -./encode 0 ./src/trustfile.c --> x_trustfile.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_syslog.o -c x_sh_err_syslog.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o bignum.o -c x_bignum.c -In file included from x_sh_err_console.c:26: +In file included from x_sh_err_log.c:30: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/trustfile.c --> x_trustfile.c ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/rijndael-alg-fst.c --> x_rijndael-alg-fst.c -In file included from x_sh_err_log.c:30: +In file included from x_sh_err_console.c:26: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/rijndael-alg-fst.c --> x_rijndael-alg-fst.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o bignum.o -c x_bignum.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o trustfile.o -c x_trustfile.c -x_sh_suidchk.c:1008:19: warning: variable 'tmpcat' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1008 | char * tmpcat; - | ^~~~~~ -x_sh_suidchk.c:1009:19: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1009 | char * tmp; - | ^~~ -x_sh_suidchk.c:1018:19: warning: variable 'theFile' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1018 | file_type * theFile = NULL; - | ^~~~~~~ aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o rijndael-alg-fst.o -c x_rijndael-alg-fst.c ./encode 0 ./src/rijndael-api-fst.c --> x_rijndael-api-fst.c -./encode 0 ./src/slib.c --> x_slib.c ./encode 0 ./src/zAVLTree.c --> x_zAVLTree.c -x_sh_unix.c: In function 'sh_unix_getinfo': -x_sh_unix.c:3812:17: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 3812 | char * tmp; - | ^~~ -x_sh_unix.c:3815:17: warning: variable 'linknamebuf' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 3815 | char * linknamebuf; - | ^~~~~~~~~~~ -./encode 0 ./src/sh_ignore.c --> x_sh_ignore.c -./encode 0 ./src/sh_socket.c --> x_sh_socket.c +./encode 0 ./src/slib.c --> x_slib.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o rijndael-api-fst.o -c x_rijndael-api-fst.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o slib.o -c x_slib.c -./encode 0 ./src/sh_prelude.c --> x_sh_prelude.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o zAVLTree.o -c x_zAVLTree.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_ignore.o -c x_sh_ignore.c +./encode 0 ./src/sh_socket.c --> x_sh_socket.c +./encode 0 ./src/sh_ignore.c --> x_sh_ignore.c +./encode 0 ./src/sh_prelude.c --> x_sh_prelude.c In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from x_slib.c:8: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -./encode 0 ./src/sh_mounts.c --> x_sh_mounts.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_socket.o -c x_sh_socket.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mounts.o -c x_sh_mounts.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_ignore.o -c x_sh_ignore.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_prelude.o -c x_sh_prelude.c +./encode 0 ./src/sh_mounts.c --> x_sh_mounts.c ./encode 0 ./src/sh_userfiles.c --> x_sh_userfiles.c In file included from x_sh_socket.c:53: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] @@ -1893,8 +1919,19 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mounts.o -c x_sh_mounts.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_userfiles.o -c x_sh_userfiles.c +x_sh_suidchk.c:1008:19: warning: variable 'tmpcat' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1008 | char * tmpcat; + | ^~~~~~ +x_sh_suidchk.c:1009:19: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1009 | char * tmp; + | ^~~ +x_sh_suidchk.c:1018:19: warning: variable 'theFile' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1018 | file_type * theFile = NULL; + | ^~~~~~~ ./encode 0 ./src/sh_prelink.c --> x_sh_prelink.c +./encode 0 ./src/sh_static.c --> x_sh_static.c In file included from x_sh_mounts.c:32: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1902,69 +1939,99 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_processcheck.c --> x_sh_processcheck.c +./encode 0 ./src/sh_port2proc.c --> x_sh_port2proc.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_prelink.o -c x_sh_prelink.c ./encode 0 ./src/sh_portcheck.c --> x_sh_portcheck.c -./encode 0 ./src/sh_static.c --> x_sh_static.c -./encode 0 ./src/sh_processcheck.c --> x_sh_processcheck.c -In file included from x_sh_prelink.c:31: +./encode 0 ./src/sh_log_parse_syslog.c --> x_sh_log_parse_syslog.c +In file included from x_sh_userfiles.c:35: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_userfiles.c:35: +./encode 0 ./src/sh_log_parse_pacct.c --> x_sh_log_parse_pacct.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_static.o -c x_sh_static.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_processcheck.o -c x_sh_processcheck.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_port2proc.o -c x_sh_port2proc.c +In file included from x_sh_prelink.c:31: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_static.o -c x_sh_static.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_portcheck.o -c x_sh_portcheck.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_processcheck.o -c x_sh_processcheck.c -./encode 0 ./src/sh_log_parse_pacct.c --> x_sh_log_parse_pacct.c -./encode 0 ./src/sh_port2proc.c --> x_sh_port2proc.c -./encode 0 ./src/sh_log_parse_syslog.c --> x_sh_log_parse_syslog.c -In file included from x_sh_portcheck.c:83: +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_syslog.o -c x_sh_log_parse_syslog.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_pacct.o -c x_sh_log_parse_pacct.c +./encode 0 ./src/sh_log_parse_samba.c --> x_sh_log_parse_samba.c +./encode 0 ./src/sh_log_parse_apache.c --> x_sh_log_parse_apache.c +In file included from x_sh_processcheck.c:69: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_log_parse_apache.c --> x_sh_log_parse_apache.c -./encode 0 ./src/sh_log_evalrule.c --> x_sh_log_evalrule.c -./encode 0 ./src/sh_log_parse_samba.c --> x_sh_log_parse_samba.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_syslog.o -c x_sh_log_parse_syslog.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_apache.o -c x_sh_log_parse_apache.c -./encode 0 ./src/sh_log_check.c --> x_sh_log_check.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_port2proc.o -c x_sh_port2proc.c -In file included from x_sh_processcheck.c:69: +In file included from x_sh_port2proc.c:53: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_pacct.o -c x_sh_log_parse_pacct.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_evalrule.o -c x_sh_log_evalrule.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_samba.o -c x_sh_log_parse_samba.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_apache.o -c x_sh_log_parse_apache.c x_slib.c: In function 'dlog': x_slib.c:923:16: warning: '__builtin_strncpy' output may be truncated copying 79 bytes from a string of length 80 [-Wstringop-truncation] 923 | (void) strncpy(dst, src, siz-1); | ^ -./encode 0 ./src/sh_log_parse_generic.c --> x_sh_log_parse_generic.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_check.o -c x_sh_log_check.c -In file included from x_sh_port2proc.c:53: +In file included from x_sh_portcheck.c:83: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_generic.o -c x_sh_log_parse_generic.c +./encode 0 ./src/sh_log_evalrule.c --> x_sh_log_evalrule.c +./encode 0 ./src/sh_log_check.c --> x_sh_log_check.c +./encode 0 ./src/sh_log_parse_generic.c --> x_sh_log_parse_generic.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_evalrule.o -c x_sh_log_evalrule.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_check.o -c x_sh_log_check.c ./encode 0 ./src/sh_log_correlate.c --> x_sh_log_correlate.c +./encode 0 ./src/sh_log_mark.c --> x_sh_log_mark.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_generic.o -c x_sh_log_parse_generic.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_correlate.o -c x_sh_log_correlate.c +./encode 0 ./src/sh_log_repeat.c --> x_sh_log_repeat.c +./encode 0 ./src/sh_pthread.c --> x_sh_pthread.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_mark.o -c x_sh_log_mark.c +./encode 0 ./src/sh_string.c --> x_sh_string.c +./encode 0 ./src/sh_inotify.c --> x_sh_inotify.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_repeat.o -c x_sh_log_repeat.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_pthread.o -c x_sh_pthread.c +./encode 0 ./src/dnmalloc.c --> x_dnmalloc.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_string.o -c x_sh_string.c +./encode 0 ./src/sh_audit.c --> x_sh_audit.c +x_sh_processcheck.c: In function 'sh_processes_runps.constprop': +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_inotify.o -c x_sh_inotify.c +x_sh_processcheck.c:1041:7: warning: variable 'retval' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1041 | int retval = 0; + | ^~~~~~ +./encode 0 ./src/sh_registry.c --> x_sh_registry.c +./encode 0 ./src/sh_ipvx.c --> x_sh_ipvx.c +./encode 0 ./src/sh_restrict.c --> x_sh_restrict.c +x_slib.c: In function 'sl_open_file': +x_slib.c:923:16: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] +In file included from x_slib.c:61: +./include/slib.h:244:46: note: length computed here + 244 | #define sl_strlen(arg) ((arg == NULL) ? 0 : (strlen(arg))) + | ~^~~~~~~~~~~~ +x_slib.c:2042:9: note: in expansion of macro 'sl_strlen' + 2042 | len = sl_strlen(filename)+1; + | ^~~~~~~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o dnmalloc.o -c x_dnmalloc.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_audit.o -c x_sh_audit.c In file included from x_sh_portcheck.c:30: x_sh_portcheck.c: In function 'sh_portchk_check_list.constprop': x_sh_portcheck.c:561:51: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 185 and 242 [-Wformat-truncation=] @@ -1987,6 +2054,9 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_ipvx.o -c x_sh_ipvx.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_registry.o -c x_sh_registry.c +./encode 0 ./src/sh_filetype.c --> x_sh_filetype.c x_sh_portcheck.c: In function 'sh_portchk_cmp_to_list.constprop': x_sh_portcheck.c:802:47: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 185 and 242 [-Wformat-truncation=] 802 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), @@ -2025,39 +2095,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -./encode 0 ./src/sh_log_mark.c --> x_sh_log_mark.c -./encode 0 ./src/sh_log_repeat.c --> x_sh_log_repeat.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_correlate.o -c x_sh_log_correlate.c -./encode 0 ./src/sh_pthread.c --> x_sh_pthread.c -x_sh_processcheck.c: In function 'sh_processes_runps.constprop': -x_sh_processcheck.c:1041:7: warning: variable 'retval' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1041 | int retval = 0; - | ^~~~~~ -./encode 0 ./src/sh_string.c --> x_sh_string.c -./encode 0 ./src/sh_inotify.c --> x_sh_inotify.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_mark.o -c x_sh_log_mark.c -./encode 0 ./src/dnmalloc.c --> x_dnmalloc.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_repeat.o -c x_sh_log_repeat.c -./encode 0 ./src/sh_audit.c --> x_sh_audit.c -x_slib.c: In function 'sl_open_file': -x_slib.c:923:16: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] -In file included from x_slib.c:61: -./include/slib.h:244:46: note: length computed here - 244 | #define sl_strlen(arg) ((arg == NULL) ? 0 : (strlen(arg))) - | ~^~~~~~~~~~~~ -x_slib.c:2042:9: note: in expansion of macro 'sl_strlen' - 2042 | len = sl_strlen(filename)+1; - | ^~~~~~~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_inotify.o -c x_sh_inotify.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o dnmalloc.o -c x_dnmalloc.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_pthread.o -c x_sh_pthread.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_string.o -c x_sh_string.c -./encode 0 ./src/sh_registry.c --> x_sh_registry.c -x_sh_processcheck.c: In function 'sh_process_check_int': -x_sh_processcheck.c:1244:30: warning: variable 'aout' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1244 | char * aout; - | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_audit.o -c x_sh_audit.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_restrict.o -c x_sh_restrict.c In file included from x_sh_inotify.c:47: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -2065,13 +2103,12 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_ipvx.c --> x_sh_ipvx.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_registry.o -c x_sh_registry.c -./encode 0 ./src/sh_restrict.c --> x_sh_restrict.c -./encode 0 ./src/sh_filetype.c --> x_sh_filetype.c +x_sh_processcheck.c: In function 'sh_process_check_int': +x_sh_processcheck.c:1244:30: warning: variable 'aout' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1244 | char * aout; + | ^~~~ ./encode 0 ./src/sh_sub.c --> x_sh_sub.c -./encode 0 ./src/sh_fInotify.c --> x_sh_fInotify.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_ipvx.o -c x_sh_ipvx.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_filetype.o -c x_sh_filetype.c In file included from x_sh_audit.c:43: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -2079,17 +2116,9 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_filetype.o -c x_sh_filetype.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_restrict.o -c x_sh_restrict.c -x_sh_audit.c: In function 'doAuparse': -x_sh_audit.c:77:5: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] - 77 | strncpy(state->success, auparse_interpret_field(au), REC_SIZE_SUCCESS); - | ^ +./encode 0 ./src/sh_fInotify.c --> x_sh_fInotify.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sub.o -c x_sh_sub.c ./encode 0 ./src/sh_checksum.c --> x_sh_checksum.c -./encode 0 ./src/sh_guid.c --> x_sh_guid.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_fInotify.o -c x_sh_fInotify.c -./encode 0 ./src/sh_sem.c --> x_sh_sem.c In file included from x_sh_restrict.c:44: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -2097,8 +2126,10 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_guid.o -c x_sh_guid.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_checksum.o -c x_sh_checksum.c +x_sh_audit.c: In function 'doAuparse': +x_sh_audit.c:77:5: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] + 77 | strncpy(state->success, auparse_interpret_field(au), REC_SIZE_SUCCESS); + | ^ In file included from x_sh_ipvx.c:37: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -2106,6 +2137,8 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_fInotify.o -c x_sh_fInotify.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_checksum.o -c x_sh_checksum.c In file included from x_sh_filetype.c:35: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -2113,8 +2146,17 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_dbCheck.c --> x_sh_dbCheck.c -./encode 0 ./src/sh_dbIO.c --> x_sh_dbIO.c +./encode 0 ./src/sh_guid.c --> x_sh_guid.c +./encode 0 ./src/sh_sem.c --> x_sh_sem.c +In function 'sh_ipvx_ntoa', + inlined from 'sh_ipvx_print_sockaddr' at x_sh_ipvx.c:204:3: +x_sh_ipvx.c:160:16: warning: 'ss.ss_family' may be used uninitialized [-Wmaybe-uninitialized] + 160 | int len = (ss->ss_family == AF_INET) ? + | ~~^~~~~~~~~~~ +x_sh_ipvx.c: In function 'sh_ipvx_print_sockaddr': +x_sh_ipvx.c:200:22: note: 'ss' declared here + 200 | struct sh_sockaddr ss; + | ^~ In file included from x_sh_fInotify.c:31: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -2122,25 +2164,9 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbCheck.o -c x_sh_dbCheck.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sem.o -c x_sh_sem.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger_i.o -c ./src/sh_tiger1_64.c -x_sh_fInotify.c: In function 'sh_fInotify_init_internal': -x_sh_fInotify.c:340:10: warning: variable 'filename' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 340 | char * filename; - | ^~~~~~~~ x_sh_checksum.c:410:29: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 410 | void SHA256_Final(sha2_byte digest[], SHA256_CTX* context) | ~~~~~~~~~~^~~~~~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbIO.o -c x_sh_dbIO.c -./encode 0 ./src/sh_dbCreate.c --> x_sh_dbCreate.c -In file included from x_sh_guid.c:22: -./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ In file included from x_sh_checksum.c:22: ./include/sh_checksum.h:22:19: note: previously declared as 'sha2_byte[32]' {aka 'unsigned char[32]'} 22 | void SHA256_Final(sha2_byte[SHA256_DIGEST_LENGTH], SHA256_CTX*); @@ -2158,17 +2184,20 @@ ./include/sh_checksum.h:23:31: note: previously declared as 'char[49]' 23 | char* SHA256_End(SHA256_CTX*, char[KEYBUF_SIZE]); | ^~~~~~~~~~~~~~~~~ -In function 'sh_ipvx_ntoa', - inlined from 'sh_ipvx_print_sockaddr' at x_sh_ipvx.c:204:3: -x_sh_ipvx.c:160:16: warning: 'ss.ss_family' may be used uninitialized [-Wmaybe-uninitialized] - 160 | int len = (ss->ss_family == AF_INET) ? - | ~~^~~~~~~~~~~ -x_sh_ipvx.c: In function 'sh_ipvx_print_sockaddr': -x_sh_ipvx.c:200:22: note: 'ss' declared here - 200 | struct sh_sockaddr ss; - | ^~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger_i.o -c ./src/sh_tiger1_64.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_guid.o -c x_sh_guid.c +./encode 0 ./src/sh_dbCheck.c --> x_sh_dbCheck.c +./encode 0 ./src/sh_dbIO.c --> x_sh_dbIO.c +./encode 0 ./src/sh_dbCreate.c --> x_sh_dbCreate.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sem.o -c x_sh_sem.c +x_sh_fInotify.c: In function 'sh_fInotify_init_internal': +x_sh_fInotify.c:340:10: warning: variable 'filename' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 340 | char * filename; + | ^~~~~~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbCheck.o -c x_sh_dbCheck.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbIO.o -c x_sh_dbIO.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbCreate.o -c x_sh_dbCreate.c -In file included from x_sh_dbCheck.c:26: +In file included from x_sh_guid.c:22: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ @@ -2184,7 +2213,13 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./samhain-install.sh --destdir=/build/reproducible-path/samhain-4.1.4/debian/samhain --express --verbose install-data +In file included from x_sh_dbCheck.c:26: +./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ In file included from x_sh_dbCreate.c:27: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -2192,6 +2227,7 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./samhain-install.sh --destdir=/build/reproducible-path/samhain-4.1.4/debian/samhain --express --verbose install-data cp samhainrc.linux samhainrc cp samhainrc samhainrc.pre mv -f samhainrc.pre samhainrc.install @@ -2294,12 +2330,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2657000/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2657000/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1723167 and its subdirectories -I: Current time: Wed Jan 15 23:37:45 -12 2025 -I: pbuilder-time-stamp: 1737027465 +I: removing directory /srv/workspace/pbuilder/2657000 and its subdirectories +I: Current time: Thu Feb 19 08:03:28 +14 2026 +I: pbuilder-time-stamp: 1771437808