Diff of the two buildlogs: -- --- b1/build.log 2025-03-27 00:07:20.516162052 +0000 +++ b2/build.log 2025-03-27 00:08:27.297151694 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Mar 26 12:06:22 -12 2025 -I: pbuilder-time-stamp: 1743033982 +I: Current time: Wed Apr 29 20:30:23 +14 2026 +I: pbuilder-time-stamp: 1777444223 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/3666670/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1190187/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 Apr 29 06:30 /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/1190187/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1190187/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='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='b5b78394093142c0927a2082419f8ff5' - 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='3666670' - PS1='# ' - PS2='> ' + INVOCATION_ID=395d177acee347f88ee5aa29bcb7893b + 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=1190187 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.oTmdFEDM/pbuilderrc_pZTE --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.oTmdFEDM/b1 --logfile b1/build.log samhain_4.1.4-6.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.oTmdFEDM/pbuilderrc_rMAj --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.oTmdFEDM/b2 --logfile b2/build.log samhain_4.1.4-6.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-32-cloud-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-cloud-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3666670/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1190187/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 unstable/main arm64 libgmpxx4ldbl arm64 2:6.3.0+dfsg-3 [329 kB] Get: 41 http://deb.debian.org/debian unstable/main arm64 libgmp-dev arm64 2:6.3.0+dfsg-3 [621 kB] Get: 42 http://deb.debian.org/debian unstable/main arm64 libgmp3-dev arm64 2:6.3.0+dfsg-3 [322 kB] -Fetched 23.4 MB in 0s (130 MB/s) +Fetched 23.4 MB in 0s (127 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 ... 19919 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-6_source.changes +I: user script /srv/workspace/pbuilder/1190187/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1190187/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-6_source.changes dpkg-buildpackage: info: source package samhain dpkg-buildpackage: info: source version 4.1.4-6 dpkg-buildpackage: info: source distribution unstable @@ -749,7 +785,7 @@ checking for __gmpz_init in -lgmp... yes checking for gmp.h... yes checking for ps... /bin/ps -checking how to use ps... /bin/ps ax +checking how to use ps... /bin/ps -e checking whether to use libwrap... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes @@ -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... 1081622406 1886257032 -checking key position... 1 +checking base key setting .. collecting entropy... 1885527957 548732777 +checking key position... 5 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: 1081622406,1886257032 + Base key: 1885527957,548732777 Selected rc file: samhainrc.linux make[1]: Leaving directory '/build/reproducible-path/samhain-4.1.4' @@ -817,6 +853,7 @@ aarch64-linux-gnu-gcc -I. -o depend-gen ./src/depend-gen.c cd . && autoheader aarch64-linux-gnu-gcc -I. -o encode ./src/encode.c +update depend.dep ... autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot' autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in' autoheader: WARNING: is deprecated and discouraged. @@ -830,7 +867,6 @@ autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. -update depend.dep ... echo timestamp > ./stamp-h.in touch ./config.h.in ./config.status @@ -864,38 +900,36 @@ 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/samhain.c --> x_samhain.c +./encode 0 ./src/sh_files.c --> x_sh_files.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_readconf.c --> x_sh_readconf.c -./encode 0 ./src/sh_filter.c --> x_sh_filter.c ./encode 0 ./src/sh_tiger2_64.c --> x_sh_tiger2_64.c -./encode 0 ./src/sh_getopt.c --> x_sh_getopt.c -./encode 0 ./src/sh_hash.c --> x_sh_hash.c +./encode 0 ./src/samhain.c --> x_samhain.c ./encode 0 ./src/sh_utils.c --> x_sh_utils.c -./encode 0 ./src/sh_error.c --> x_sh_error.c -./encode 0 ./src/sh_files.c --> x_sh_files.c +./encode 0 ./src/sh_tiger2.c --> x_sh_tiger2.c ./encode 0 ./src/sh_unix.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_tiger0.o -c x_sh_tiger0.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 +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 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_tiger2.o -c x_sh_tiger2.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 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_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 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_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_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_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_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_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_files.o -c x_sh_files.c -In file included from x_sh_error.c:58: +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_samhain.c:66: +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_readconf.o -c x_sh_readconf.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; | ^~~~ @@ -909,60 +943,66 @@ ./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: +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_hash.o -c x_sh_hash.c +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_filter.c:29: +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_getopt.c:34: +./encode 0 ./src/sh_mail.c --> x_sh_mail.c +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_readconf.c:50: +./encode 0 ./src/sh_nmail.c --> x_sh_nmail.c +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_sh_hash.c:46: +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; | ^~~~ -./encode 0 ./src/sh_mail.c --> x_sh_mail.c -In file included from x_sh_unix.c:96: +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_nmail.c --> x_sh_nmail.c -In file included from x_sh_files.c:82: +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; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_nmail.c:46: +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 +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_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; | ^~~~ @@ -970,20 +1010,21 @@ 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 -In file included from x_sh_mail.c:57: +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; | ^~~~ ./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_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 aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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; - | ^~~~~~~~~~~ +./encode 0 ./src/sh_entropy.c --> x_sh_entropy.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_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,23 +1032,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; | ^~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_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; | ^~~~ -./encode 0 ./src/sh_entropy.c --> x_sh_entropy.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 ./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_entropy.o -c x_sh_entropy.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_utmp.o -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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 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; @@ -1015,6 +1049,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; | ^~~~ +./encode 0 ./src/sh_xfer_client.c --> x_sh_xfer_client.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_modules.o -c x_sh_modules.c +./encode 0 ./src/sh_xfer_syslog.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: @@ -1027,26 +1065,38 @@ /usr/include/aarch64-linux-gnu/bits/utmpx.h:65:8: note: argument 'ut_host' declared here 65 | char ut_host[__UT_HOSTSIZE] | ^~~~~~~ -In file included from x_sh_utmp.c:77: +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_xfer_client.o -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_xfer_syslog.o -c x_sh_xfer_syslog.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; | ^~~~ ./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_syslog.c --> x_sh_xfer_syslog.c +./encode 0 ./src/sh_suidchk.c --> x_sh_suidchk.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_srp.c --> x_sh_srp.c -In file included from x_sh_xfer_server.c:126: +./encode 0 ./src/sh_fifo.c --> x_sh_fifo.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] 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_suidchk.c --> x_sh_suidchk.c -./encode 0 ./src/sh_fifo.c --> x_sh_fifo.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 ./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_tools.o -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 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; @@ -1054,19 +1104,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_suidchk.o -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_fifo.o -c x_sh_fifo.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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_html.c --> x_sh_html.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_fifo.o -c x_sh_fifo.c ./encode 0 ./src/sh_gpg.c --> x_sh_gpg.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_cat.o -c x_sh_cat.c -./encode 0 ./src/sh_calls.c --> x_sh_calls.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; @@ -1074,14 +1115,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_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; - | ^~~~ -./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_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; @@ -1089,6 +1122,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_gpg.o -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_cat.o -c x_sh_cat.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; @@ -1099,7 +1135,6 @@ 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_calls.o -c x_sh_calls.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; @@ -1119,11 +1154,22 @@ x_sh_suidchk.c:999:15: note: 'sh_dummy_dirlist' declared here 999 | static void * sh_dummy_dirlist = 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 sh_gpg.o -c x_sh_gpg.c +./encode 0 ./src/sh_calls.c --> x_sh_calls.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; + | ^~~~ +./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_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_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_calls.o -c x_sh_calls.c ./encode 0 ./src/sh_database.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_extern.o -c x_sh_extern.c ./encode 0 ./src/sh_err_log.c --> x_sh_err_log.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_schedule.c --> x_sh_schedule.c +./encode 0 ./src/sh_err_console.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] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1131,8 +1177,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_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 +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; + | ^~~~ 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) | ~~~~~~^~~~~ @@ -1142,17 +1193,14 @@ 99 | int aud_pipe (const char * file, int line, int modus[2]); | ~~~~^~~~~~~~ ./encode 0 ./src/sh_err_syslog.c --> x_sh_err_syslog.c -./encode 0 ./src/sh_err_console.c --> x_sh_err_console.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; - | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 ./encode 0 ./src/bignum.c --> x_bignum.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_err_log.o -c x_sh_err_log.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 +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 +./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 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 sh_err_console.o -c x_sh_err_console.c +./encode 0 ./src/rijndael-alg-fst.c --> x_rijndael-alg-fst.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; @@ -1160,13 +1208,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 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 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_schedule.o -c x_sh_schedule.c -./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 rijndael-alg-fst.o -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 trustfile.o -c x_trustfile.c ./encode 0 ./src/rijndael-api-fst.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 rijndael-alg-fst.o -c x_rijndael-alg-fst.c +./encode 0 ./src/slib.c --> x_slib.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; @@ -1174,19 +1219,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/slib.c --> x_slib.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 trustfile.o -c x_trustfile.c -x_sh_unix.c:3812:17: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 3812 | char * tmp; - | ^~~ -./encode 0 ./src/zAVLTree.c --> x_zAVLTree.c -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 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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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/zAVLTree.c --> x_zAVLTree.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: @@ -1195,21 +1230,24 @@ | ^~~~~~~ ./encode 0 ./src/sh_socket.c --> x_sh_socket.c ./encode 0 ./src/sh_ignore.c --> x_sh_ignore.c -./encode 0 ./src/sh_mounts.c --> x_sh_mounts.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_mounts.o -c x_sh_mounts.c -./encode 0 ./src/sh_userfiles.c --> x_sh_userfiles.c +./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 +./encode 0 ./src/sh_userfiles.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 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 +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 sh_prelude.o -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_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 -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; - | ^~~~ -./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_prelink.c --> x_sh_prelink.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; @@ -1217,41 +1255,29 @@ ./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: +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; | ^~~~ ./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_ignore.o -c x_sh_ignore.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_prelink.c --> x_sh_prelink.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_processcheck.o -c x_sh_processcheck.c +./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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_port2proc.o -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_processcheck.c:69: +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; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_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; - | ^~~~~~~ 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; @@ -1259,19 +1285,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; | ^~~~ -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); - | ^ -In file included from x_sh_portcheck.c:83: +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_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_portcheck.o -c x_sh_portcheck.c +./encode 0 ./src/sh_log_parse_syslog.c --> x_sh_log_parse_syslog.c ./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 +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_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; @@ -1279,36 +1304,46 @@ ./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_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_pacct.o -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_apache.o -c x_sh_log_parse_apache.c ./encode 0 ./src/sh_log_check.c --> x_sh_log_check.c +./encode 0 ./src/sh_log_evalrule.c --> x_sh_log_evalrule.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; + | ^~~~ +./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_evalrule.o -c x_sh_log_evalrule.c -./encode 0 ./src/sh_log_parse_generic.c --> x_sh_log_parse_generic.c -./encode 0 ./src/sh_log_correlate.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_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_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 +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_repeat.c --> x_sh_log_repeat.c ./encode 0 ./src/sh_log_mark.c --> x_sh_log_mark.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_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_log_correlate.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_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_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_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 +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_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: -./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; - | ^~~~~~~~~ +./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_pthread.o -c x_sh_pthread.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=] @@ -1331,14 +1366,9 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_log_repeat.o -c x_sh_log_repeat.c -./encode 0 ./src/sh_string.c --> x_sh_string.c -./encode 0 ./src/sh_audit.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_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 sh_string.o -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 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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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/sh_audit.c --> x_sh_audit.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)"), @@ -1359,6 +1389,7 @@ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ x_sh_portcheck.c: In function 'sh_portchk_cmp_to_list.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_portcheck.c:773:47: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 185 and 242 [-Wformat-truncation=] 773 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), | ^~~~~~~~~~~~~~~~~~~~~ @@ -1378,36 +1409,39 @@ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./encode 0 ./src/sh_ipvx.c --> x_sh_ipvx.c -./encode 0 ./src/sh_registry.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_string.o -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_audit.o -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] ./encode 0 ./src/sh_restrict.c --> x_sh_restrict.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_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; + | ^~~~~~~~~ +./encode 0 ./src/sh_registry.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 +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_registry.o -c x_sh_registry.c -In file included from x_sh_audit.c:43: +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; | ^~~~ ./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_inotify.c:47: +./encode 0 ./src/sh_fInotify.c --> x_sh_fInotify.c +./encode 0 ./src/sh_filetype.c --> x_sh_filetype.c +./encode 0 ./src/sh_sub.c --> x_sh_sub.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 +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; | ^~~~ ./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_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); - | ^ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 -./encode 0 ./src/sh_filetype.c --> x_sh_filetype.c -./encode 0 ./src/sh_sub.c --> x_sh_sub.c 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; @@ -1415,11 +1449,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; | ^~~~ -./encode 0 ./src/sh_fInotify.c --> x_sh_fInotify.c -./encode 0 ./src/sh_checksum.c --> x_sh_checksum.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_sub.o -c x_sh_sub.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_filetype.o -c x_sh_filetype.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; @@ -1427,6 +1458,11 @@ ./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_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); + | ^ 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] @@ -1436,29 +1472,35 @@ 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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 -In file included from x_sh_filetype.c:35: +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; | ^~~~ ./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 -In file included from x_sh_fInotify.c:31: +./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 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; | ^~~~ +./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_guid.o -c x_sh_guid.c +./encode 0 ./src/sh_dbCheck.c --> x_sh_dbCheck.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_dbCreate.o -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_dbCheck.o -c x_sh_dbCheck.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_dbIO.o -c x_sh_dbIO.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) | ~~~~~~~~~~^~~~~~~~ @@ -1466,6 +1508,13 @@ ./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*); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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; + | ^~~~ +./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:481: ./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; @@ -1479,20 +1528,14 @@ ./include/sh_checksum.h:23:31: note: previously declared as 'char[49]' 23 | char* SHA256_End(SHA256_CTX*, char[KEYBUF_SIZE]); | ^~~~~~~~~~~~~~~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_dbCreate.o -c x_sh_dbCreate.c -In file included from x_sh_guid.c:22: +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; | ^~~~ -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; - | ^~~~~~~~ -In file included from x_sh_dbCreate.c:27: +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; | ^~~~ @@ -1506,13 +1549,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; | ^~~~ -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; - | ^~~~ aarch64-linux-gnu-gcc -O -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -pie -o samhain sh_tiger_i.o sh_files.o sh_tiger0.o sh_tiger2.o sh_tiger2_64.o samhain.o sh_unix.o sh_utils.o sh_error.o sh_getopt.o sh_readconf.o sh_filter.o sh_hash.o sh_mail.o sh_nmail.o sh_mem.o sh_login_track.o sh_entropy.o sh_modules.o sh_utmp.o sh_xfer_client.o sh_xfer_server.o sh_xfer_syslog.o sh_suidchk.o sh_srp.o sh_fifo.o sh_tools.o sh_html.o sh_gpg.o sh_cat.o sh_calls.o sh_extern.o sh_database.o sh_err_log.o sh_err_console.o sh_err_syslog.o sh_schedule.o bignum.o trustfile.o rijndael-alg-fst.o rijndael-api-fst.o slib.o zAVLTree.o sh_socket.o sh_ignore.o sh_prelude.o sh_mounts.o sh_userfiles.o sh_prelink.o sh_static.o sh_processcheck.o sh_portcheck.o sh_port2proc.o sh_log_parse_syslog.o sh_log_parse_pacct.o sh_log_parse_apache.o sh_log_parse_samba.o sh_log_evalrule.o sh_log_check.o sh_log_parse_generic.o sh_log_correlate.o sh_log_mark.o sh_log_repeat.o sh_pthread.o sh_string.o sh_inotify.o dnmalloc.o sh_audit.o sh_registry.o sh_ipvx.o sh_restrict.o sh_filetype.o sh_sub.o sh_fInotify.o sh_checksum.o sh_guid.o sh_sem.o sh_dbIO.o sh_dbCheck.o sh_dbCreate.o -lresolv -lauparse -lrt make[1]: Leaving directory '/build/reproducible-path/samhain-4.1.4' dh_auto_test @@ -1535,33 +1571,17 @@ mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/usr/share/man 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 +encode 0 config.h mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/usr/share/man/man5 /usr/bin/install -c -m 644 ./man/samhain.8 /build/reproducible-path/samhain-4.1.4/debian/samhain/usr/share/man/man8/samhain.8 - /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 config.h ./encode 0 ./src/sh_files.c --> x_sh_files.c -./encode 0 ./src/sh_utils.c --> x_sh_utils.c -./encode 0 ./src/sh_tiger2.c --> x_sh_tiger2.c -./encode 0 ./src/sh_error.c --> x_sh_error.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_tiger0.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_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_tiger2.o -c x_sh_tiger2.c -./encode 0 ./src/sh_unix.c --> x_sh_unix.c -./encode 0 ./src/sh_getopt.c --> x_sh_getopt.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_error.o -c x_sh_error.c + /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_tiger2_64.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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 samhain.o -c x_samhain.c +./encode 0 ./src/sh_tiger2.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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 -./encode 0 ./src/sh_readconf.c --> x_sh_readconf.c -./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_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_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 +./encode 0 ./src/samhain.c --> x_samhain.c 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; @@ -1569,14 +1589,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_hash.c --> x_sh_hash.c -In file included from x_sh_utils.c:43: +./encode 0 ./src/sh_utils.c --> x_sh_utils.c +./encode 0 ./src/sh_unix.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_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_tiger2.o -c x_sh_tiger2.c +./encode 0 ./src/sh_error.c --> x_sh_error.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_readconf.c --> x_sh_readconf.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_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_utils.o -c x_sh_utils.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; | ^~~~ ./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_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_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_getopt.o -c x_sh_getopt.c 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; @@ -1584,6 +1617,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; | ^~~~ +./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 sh_readconf.o -c x_sh_readconf.c 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; @@ -1591,7 +1626,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_mail.o -c x_sh_mail.c 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; @@ -1599,14 +1633,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_hash.o -c x_sh_hash.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; - | ^~~~ -./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_nmail.c --> x_sh_nmail.c +./encode 0 ./src/sh_mail.c --> x_sh_mail.c 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; @@ -1614,13 +1642,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; | ^~~~ -In file included from x_sh_readconf.c:50: +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; | ^~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_nmail.o -c x_sh_nmail.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_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; @@ -1628,90 +1662,75 @@ ./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_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; - | ^~~~ -In file included from x_sh_mail.c:57: +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; | ^~~~ -./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_nmail.c --> x_sh_nmail.c -./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_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_mem.o -c x_sh_mem.c -In file included from x_sh_mem.c:41: +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; | ^~~~ ./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_nmail.c:46: +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_login_track.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; - | ^~~~~~~~~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 -./encode 0 ./src/sh_modules.c --> x_sh_modules.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_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 -In file included from x_sh_login_track.c:31: +./encode 0 ./src/sh_mem.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; | ^~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_xfer_client.c --> x_sh_xfer_client.c -./encode 0 ./src/sh_utmp.c --> x_sh_utmp.c -./encode 0 ./src/sh_xfer_server.c --> x_sh_xfer_server.c -In file included from x_sh_entropy.c:62: +./encode 0 ./src/sh_login_track.c --> x_sh_login_track.c +./encode 0 ./src/sh_entropy.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; | ^~~~ ./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_utmp.o -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_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_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_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 x_sh_files.c: In function 'sh_files_checkdir': -./encode 0 ./src/sh_suidchk.c --> x_sh_suidchk.c x_sh_files.c:2058:22: warning: variable 'dirlist' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 2058 | struct sh_dirent * dirlist; | ^~~~~~~ -./encode 0 ./src/sh_srp.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_srp.o -c x_sh_srp.c -In file included from x_sh_xfer_server.c:126: +./encode 0 ./src/sh_modules.c --> x_sh_modules.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 +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 file included from x_sh_utmp.c:77: +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; | ^~~~ ./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_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 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: @@ -1724,7 +1743,6 @@ /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_syslog.o -c x_sh_xfer_syslog.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; @@ -1732,17 +1750,31 @@ ./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_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; + | ^~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_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; + | ^~~~ +./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_suidchk.c --> x_sh_suidchk.c +./encode 0 ./src/sh_srp.c --> x_sh_srp.c ./encode 0 ./src/sh_fifo.c --> x_sh_fifo.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 +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_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_suidchk.o -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_srp.o -c x_sh_srp.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_fifo.o -c x_sh_fifo.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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_calls.c --> x_sh_calls.c +./encode 0 ./src/sh_html.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; @@ -1750,7 +1782,11 @@ ./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_tools.o -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_gpg.o -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_cat.o -c x_sh_cat.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_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; @@ -1758,8 +1794,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_calls.o -c x_sh_calls.c -./encode 0 ./src/sh_extern.c --> x_sh_extern.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; @@ -1770,19 +1804,16 @@ x_sh_suidchk.c:2221:8: note: 'sh_dummy_2229_type' declared here 2221 | void * sh_dummy_2229_type; | ^~~~~~~~~~~~~~~~~~ -./encode 0 ./src/sh_database.c --> x_sh_database.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; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 x_sh_suidchk.c:1009:19: note: 'tmp' declared here 1009 | char * tmp; | ^~~ x_sh_suidchk.c:1000:15: note: 'sh_dummy_itmp' declared here 1000 | static void * sh_dummy_itmp = 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 sh_extern.o -c x_sh_extern.c x_sh_suidchk.c:1030:20: warning: storing the address of local variable 'dirlist' in 'sh_dummy_dirlist' [-Wdangling-pointer=] 1030 | sh_dummy_dirlist = (void*) &dirlist; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ @@ -1792,11 +1823,6 @@ x_sh_suidchk.c:999:15: note: 'sh_dummy_dirlist' declared here 999 | static void * sh_dummy_dirlist = NULL; | ^~~~~~~~~~~~~~~~ -./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_log.o -c x_sh_err_log.c -./encode 0 ./src/sh_schedule.c --> x_sh_schedule.c -./encode 0 ./src/sh_err_syslog.c --> x_sh_err_syslog.c 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; @@ -1804,18 +1830,23 @@ ./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_extern.c --> x_sh_extern.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_database.c --> x_sh_database.c +./encode 0 ./src/sh_err_log.c --> x_sh_err_log.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; | ^~~~ -./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_console.o -c x_sh_err_console.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; - | ^~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 ./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; | ^~~~ @@ -1827,19 +1858,30 @@ ./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]); | ~~~~^~~~~~~~ -In file included from x_sh_err_log.c:30: +./encode 0 ./src/sh_err_console.c --> x_sh_err_console.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_err_log.o -c x_sh_err_log.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_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_schedule.o -c x_sh_schedule.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; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_console.o -c x_sh_err_console.c ./encode 0 ./src/bignum.c --> x_bignum.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; + | ^~~~ aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 sh_err_syslog.o -c x_sh_err_syslog.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 trustfile.o -c x_trustfile.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; @@ -1847,39 +1889,40 @@ ./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_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/slib.c --> x_slib.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 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 +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 rijndael-alg-fst.o -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 slib.o -c x_slib.c ./encode 0 ./src/zAVLTree.c --> x_zAVLTree.c -./encode 0 ./src/sh_socket.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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # 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 rijndael-api-fst.o -c x_rijndael-api-fst.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 +./encode 0 ./src/sh_socket.c --> x_sh_socket.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 -./encode 0 ./src/sh_userfiles.c --> x_sh_userfiles.c +./encode 0 ./src/sh_prelude.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 +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 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_prelude.o -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_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 -./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 aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 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; @@ -1887,6 +1930,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; | ^~~~ +./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; @@ -1894,7 +1939,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_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_prelink.o -c x_sh_prelink.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; @@ -1902,33 +1947,26 @@ ./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_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; - | ^~~~ ./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_static.o -c x_sh_static.c ./encode 0 ./src/sh_portcheck.c --> x_sh_portcheck.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_port2proc.o -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_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 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_portcheck.o -c x_sh_portcheck.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_port2proc.c:53: +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; | ^~~~ -./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_port2proc.o -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_log_parse_syslog.o -c x_sh_log_parse_syslog.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; @@ -1936,19 +1974,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_log_parse_syslog.o -c x_sh_log_parse_syslog.c -./encode 0 ./src/sh_log_parse_apache.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_pacct.o -c x_sh_log_parse_pacct.c -./encode 0 ./src/sh_log_parse_samba.c --> x_sh_log_parse_samba.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_log_parse_pacct.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; @@ -1956,14 +1982,23 @@ ./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_check.c --> x_sh_log_check.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; + | ^~~~ +./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_samba.o -c x_sh_log_parse_samba.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_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_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_evalrule.o -c x_sh_log_evalrule.c -./encode 0 ./src/sh_log_correlate.c --> x_sh_log_correlate.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_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_samba.o -c x_sh_log_parse_samba.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: @@ -1973,99 +2008,31 @@ 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_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_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_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_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 +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_registry.c --> x_sh_registry.c -./encode 0 ./src/sh_ipvx.c --> x_sh_ipvx.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_pthread.o -c x_sh_pthread.c +./encode 0 ./src/sh_registry.c --> x_sh_registry.c ./encode 0 ./src/sh_audit.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_registry.o -c x_sh_registry.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; - | ^~~~ -./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_string.o -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_inotify.o -c x_sh_inotify.c +./encode 0 ./src/sh_restrict.c --> x_sh_restrict.c ./encode 0 ./src/dnmalloc.c --> x_dnmalloc.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 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_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_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; - | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 -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; - | ^~~~ -./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_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_filetype.o -c x_sh_filetype.c -./encode 0 ./src/sh_sub.c --> x_sh_sub.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; - | ^~~~ -./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 '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_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_fInotify.o -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); - | ^ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_guid.c --> x_sh_guid.c -./encode 0 ./src/sh_checksum.c --> x_sh_checksum.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; - | ^~~~ -./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_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; - | ^~~~ -./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_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=] @@ -2088,20 +2055,15 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_checksum.o -c x_sh_checksum.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_guid.o -c x_sh_guid.c -./encode 0 ./src/sh_sem.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_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 dnmalloc.o -c x_dnmalloc.c x_sh_portcheck.c: In function 'sh_portchk_cmp_to_list.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_restrict.o -c x_sh_restrict.c 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)"), | ^~~~~~~~~~~~~~~~~~~~~ config_xor.h:1141:20: note: in definition of macro '_' 1141 | #define _(string) string | ^~~~~~ -./encode 0 ./src/sh_dbCheck.c --> x_sh_dbCheck.c x_sh_portcheck.c:802:64: note: format string is defined here 802 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), | ^~ @@ -2124,6 +2086,7 @@ x_sh_portcheck.c:773:64: note: format string is defined here 773 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), | ^~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 In function 'snprintf', inlined from 'sh_portchk_cmp_to_list.constprop' at x_sh_portcheck.c:773:4: /usr/include/aarch64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 16 and 328 bytes into a destination of size 256 @@ -2133,19 +2096,71 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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; - | ^~~~~~~~ -./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 -In file included from x_sh_guid.c:22: +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; | ^~~~ ./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 +./encode 0 ./src/sh_sub.c --> x_sh_sub.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; + | ^~~~ +./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_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; + | ^~~~ +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; + | ^~~~ +./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_sem.c --> x_sh_sem.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); + | ^ +./encode 0 ./src/sh_checksum.c --> x_sh_checksum.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; + | ^~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_guid.c --> x_sh_guid.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; + | ^~~~ +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_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_fInotify.o -c x_sh_fInotify.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_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_dbIO.o -c x_sh_dbIO.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) | ~~~~~~~~~~^~~~~~~~ @@ -2153,7 +2168,6 @@ ./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*); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/run In file included from x_sh_checksum.c:481: ./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; @@ -2167,17 +2181,39 @@ ./include/sh_checksum.h:23:31: note: previously declared as 'char[49]' 23 | char* SHA256_End(SHA256_CTX*, char[KEYBUF_SIZE]); | ^~~~~~~~~~~~~~~~~ -mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/run/samhain -In file included from x_sh_dbIO.c:29: +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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_dbCheck.c --> x_sh_dbCheck.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; | ^~~~ ./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 +mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/run aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 +mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/run/samhain +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; + | ^~~~~~~~ +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; + | ^~~~ ./samhain-install.sh --destdir=/build/reproducible-path/samhain-4.1.4/debian/samhain --express --verbose install-data +./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; @@ -2271,13 +2307,13 @@ dh_makeshlibs dh_shlibdeps dpkg-shlibdeps: warning: diversions involved - output may be incorrect - diversion by libauparse0t64 from: /lib/aarch64-linux-gnu/libauparse.so.0 -dpkg-shlibdeps: warning: diversions involved - output may be incorrect - diversion by libauparse0t64 to: /lib/aarch64-linux-gnu/libauparse.so.0.usr-is-merged -dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-aarch64.so.1 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-aarch64.so.1.usr-is-merged +dpkg-shlibdeps: warning: diversions involved - output may be incorrect + diversion by libauparse0t64 from: /lib/aarch64-linux-gnu/libauparse.so.0 +dpkg-shlibdeps: warning: diversions involved - output may be incorrect + diversion by libauparse0t64 to: /lib/aarch64-linux-gnu/libauparse.so.0.usr-is-merged dh_installdeb dh_gencontrol dpkg-gencontrol: warning: package samhain: substitution variable ${misc:Pre-Depends} unused, but is defined @@ -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/1190187/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1190187/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/3666670 and its subdirectories -I: Current time: Wed Mar 26 12:07:19 -12 2025 -I: pbuilder-time-stamp: 1743034039 +I: removing directory /srv/workspace/pbuilder/1190187 and its subdirectories +I: Current time: Wed Apr 29 20:31:25 +14 2026 +I: pbuilder-time-stamp: 1777444286