Diff of the two buildlogs: -- --- b1/build.log 2024-11-05 12:40:10.975740233 +0000 +++ b2/build.log 2024-11-05 12:42:44.106279901 +0000 @@ -1,7 +1,6 @@ -W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build -I: Current time: Mon Dec 8 07:01:37 -12 2025 -I: pbuilder-time-stamp: 1765220497 +I: Current time: Wed Nov 6 02:40:14 +14 2024 +I: pbuilder-time-stamp: 1730810414 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -33,51 +32,84 @@ dpkg-source: info: applying improve_errors I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3413100/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4123260/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-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 Nov 5 12:40 /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/4123260/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4123260/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]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(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=' ' - 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='3413100' - PS1='# ' - PS2='> ' + INVOCATION_ID=f583bfb6cd5148109869d3a3ef4b7916 + 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=4123260 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.H7yxomsM/pbuilderrc_Ywcj --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.H7yxomsM/b1 --logfile b1/build.log samhain_4.1.4-4.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/sbin/chroot' - 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.H7yxomsM/pbuilderrc_YCeV --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.H7yxomsM/b2 --logfile b2/build.log samhain_4.1.4-4.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 codethink01-arm64 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3413100/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4123260/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -168,7 +200,7 @@ Get: 39 http://deb.debian.org/debian unstable/main arm64 libgmpxx4ldbl arm64 2:6.3.0+dfsg-2+b2 [329 kB] Get: 40 http://deb.debian.org/debian unstable/main arm64 libgmp-dev arm64 2:6.3.0+dfsg-2+b2 [621 kB] Get: 41 http://deb.debian.org/debian unstable/main arm64 libgmp3-dev arm64 2:6.3.0+dfsg-2+b2 [322 kB] -Fetched 22.4 MB in 0s (110 MB/s) +Fetched 22.4 MB in 0s (85.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 20087 files and directories currently installed.) @@ -353,7 +385,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-4_source.changes +I: user script /srv/workspace/pbuilder/4123260/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/4123260/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-4_source.changes dpkg-buildpackage: info: source package samhain dpkg-buildpackage: info: source version 4.1.4-4 dpkg-buildpackage: info: source distribution unstable @@ -767,8 +803,8 @@ checking whether /dev/random exists... yes checking for user samhain... no checking for user daemon... yes -checking base key setting .. collecting entropy... 7512203 1887846403 -checking key position... 4 +checking base key setting .. collecting entropy... 274423971 6193054 +checking key position... 2 configure: creating ./config.status config.status: creating Makefile config.status: creating samhain-install.sh @@ -804,7 +840,7 @@ Database file: /var/lib/samhain/samhain_file PID file: /run/samhain/samhain.pid Log file: /var/log/samhain/samhain.log - Base key: 7512203,1887846403 + Base key: 274423971,6193054 Selected rc file: samhainrc.linux make[1]: Leaving directory '/build/reproducible-path/samhain-4.1.4' @@ -865,54 +901,51 @@ ./encode 0 ./src/sh_tiger0.c --> x_sh_tiger0.c ./encode 0 ./src/sh_tiger2.c --> x_sh_tiger2.c ./encode 0 ./src/sh_tiger2_64.c --> x_sh_tiger2_64.c +./encode 0 ./src/sh_getopt.c --> x_sh_getopt.c ./encode 0 ./src/sh_unix.c --> x_sh_unix.c +./encode 0 ./src/samhain.c --> x_samhain.c ./encode 0 ./src/sh_error.c --> x_sh_error.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_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_tiger0.o -c x_sh_tiger0.c ./encode 0 ./src/sh_utils.c --> x_sh_utils.c -./encode 0 ./src/sh_getopt.c --> x_sh_getopt.c ./encode 0 ./src/sh_readconf.c --> x_sh_readconf.c -./encode 0 ./src/samhain.c --> x_samhain.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2.o -c x_sh_tiger2.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_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_tiger0.o -c x_sh_tiger0.c ./encode 0 ./src/sh_filter.c --> x_sh_filter.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2.o -c x_sh_tiger2.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_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_error.o -c x_sh_error.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_unix.o -c x_sh_unix.c -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_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_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_hash.o -c x_sh_hash.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; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_filter.o -c x_sh_filter.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_readconf.o -c x_sh_readconf.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_getopt.o -c x_sh_getopt.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2_64.o -c x_sh_tiger2_64.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_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 samhain.o -c x_samhain.c -In file included from x_sh_files.c:82: +In file included from x_sh_tiger0.c:25: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_readconf.c:50: +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_utils.c:43: +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_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; @@ -920,8 +953,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; | ^~~~ -./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; @@ -929,21 +960,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; | ^~~~ -In file included from x_sh_hash.c: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; + | ^~~~ +In file included from x_sh_utils.c:43: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_getopt.c:34: +In file included from x_samhain.c:66: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_samhain.c:66: +./encode 0 ./src/sh_mail.c --> x_sh_mail.c +./encode 0 ./src/sh_nmail.c --> x_sh_nmail.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_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; | ^~~~ @@ -951,14 +988,14 @@ 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_error.c:58: +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_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; @@ -966,6 +1003,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_login_track.c --> x_sh_login_track.c In file included from x_sh_nmail.c:46: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -973,8 +1011,12 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_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_mem.o -c x_sh_mem.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 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; @@ -982,8 +1024,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; | ^~~~ -./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_login_track.o -c x_sh_login_track.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; @@ -993,6 +1033,15 @@ | ^~~~ ./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 +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; + | ^~~~ +./encode 0 ./src/sh_modules.c --> x_sh_modules.c +./encode 0 ./src/sh_utmp.c --> x_sh_utmp.c In function 'stripped_hostname', inlined from 'check_host' at x_sh_login_track.c:877:11, inlined from 'sh_ltrack_check' at x_sh_login_track.c:1019:15: @@ -1005,24 +1054,9 @@ /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_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; - | ^~~~ -./encode 0 ./src/sh_modules.c --> x_sh_modules.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_modules.o -c x_sh_modules.c -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_utmp.c --> x_sh_utmp.c -./encode 0 ./src/sh_xfer_client.c --> x_sh_xfer_client.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_utmp.o -c x_sh_utmp.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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_server.c --> x_sh_xfer_server.c +./encode 0 ./src/sh_xfer_client.c --> x_sh_xfer_client.c In file included from x_sh_utmp.c:77: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1030,12 +1064,15 @@ ./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_server.o -c x_sh_xfer_server.c +./encode 0 ./src/sh_xfer_server.c --> x_sh_xfer_server.c +x_sh_files.c: In function 'sh_files_checkdir': +x_sh_files.c:2058:22: warning: variable 'dirlist' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 2058 | struct sh_dirent * dirlist; + | ^~~~~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_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 aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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_suidchk.c --> x_sh_suidchk.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_suidchk.o -c x_sh_suidchk.c -./encode 0 ./src/sh_srp.c --> x_sh_srp.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; @@ -1043,7 +1080,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_srp.o -c x_sh_srp.c +./encode 0 ./src/sh_suidchk.c --> x_sh_suidchk.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; @@ -1051,28 +1088,16 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_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 ./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 ./encode 0 ./src/sh_html.c --> x_sh_html.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_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_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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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 -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; - | ^~~~ -./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_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; @@ -1080,11 +1105,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_cat.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_cat.o -c x_sh_cat.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_calls.o -c x_sh_calls.c -./encode 0 ./src/sh_extern.c --> x_sh_extern.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_html.o -c x_sh_html.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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 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; @@ -1095,16 +1117,14 @@ 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_extern.o -c x_sh_extern.c -./encode 0 ./src/sh_database.c --> x_sh_database.c -In file included from x_sh_calls.c:56: +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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 +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; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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: 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; @@ -1115,14 +1135,6 @@ x_sh_suidchk.c:1000:15: note: 'sh_dummy_itmp' declared here 1000 | static void * sh_dummy_itmp = NULL; | ^~~~~~~~~~~~~ -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) - | ~~~~~~^~~~~ -In file included from ./include/samhain.h:412, - from x_sh_calls.c:51: -./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]); - | ~~~~^~~~~~~~ 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; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ @@ -1132,11 +1144,47 @@ x_sh_suidchk.c:999:15: note: 'sh_dummy_dirlist' declared here 999 | static void * sh_dummy_dirlist = NULL; | ^~~~~~~~~~~~~~~~ +./encode 0 ./src/sh_calls.c --> x_sh_calls.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; + | ^~~~ +./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_calls.o -c x_sh_calls.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_extern.o -c x_sh_extern.c +./encode 0 ./src/sh_database.c --> x_sh_database.c +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; + | ^~~~ ./encode 0 ./src/sh_err_log.c --> x_sh_err_log.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; + | ^~~~ +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) + | ~~~~~~^~~~~ +In file included from ./include/samhain.h:412, + from x_sh_calls.c:51: +./include/sh_calls.h:99:55: note: previously declared as an array 'int[2]' + 99 | int aud_pipe (const char * file, int line, int modus[2]); + | ~~~~^~~~~~~~ ./encode 0 ./src/sh_err_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_database.o -c x_sh_database.c ./encode 0 ./src/sh_err_syslog.c --> x_sh_err_syslog.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; + | ^~~~~~~~~~~ aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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_console.o -c x_sh_err_console.c +./encode 0 ./src/sh_schedule.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; @@ -1144,8 +1192,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/bignum.c --> x_bignum.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_syslog.o -c x_sh_err_syslog.c -./encode 0 ./src/sh_schedule.c --> x_sh_schedule.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_schedule.o -c x_sh_schedule.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; @@ -1153,7 +1202,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_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 bignum.o -c x_bignum.c In file included from x_sh_err_console.c:26: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1161,45 +1210,28 @@ ./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/bignum.c --> x_bignum.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o bignum.o -c x_bignum.c ./encode 0 ./src/trustfile.c --> x_trustfile.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o trustfile.o -c x_trustfile.c ./encode 0 ./src/rijndael-alg-fst.c --> x_rijndael-alg-fst.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 aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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/slib.c --> x_slib.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o rijndael-alg-fst.o -c x_rijndael-alg-fst.c +./encode 0 ./src/zAVLTree.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 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 slib.o -c x_slib.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 zAVLTree.o -c x_zAVLTree.c +./encode 0 ./src/sh_prelude.c --> x_sh_prelude.c In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from x_slib.c:8: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -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; - | ^~~~~~~ -./encode 0 ./src/zAVLTree.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 zAVLTree.o -c x_zAVLTree.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_ignore.o -c x_sh_ignore.c -./encode 0 ./src/sh_prelude.c --> x_sh_prelude.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_prelude.o -c x_sh_prelude.c -./encode 0 ./src/sh_userfiles.c --> x_sh_userfiles.c In file included from x_sh_socket.c:53: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1207,39 +1239,52 @@ ./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_mounts.c --> x_sh_mounts.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 sh_mounts.o -c x_sh_mounts.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_prelink.o -c x_sh_prelink.c ./encode 0 ./src/sh_static.c --> x_sh_static.c ./encode 0 ./src/sh_processcheck.c --> x_sh_processcheck.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_userfiles.o -c x_sh_userfiles.c -In file included from x_sh_prelink.c:31: +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_prelink.o -c x_sh_prelink.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_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_portcheck.o -c x_sh_portcheck.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; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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 -In file included from x_sh_mounts.c:32: +In file included from x_sh_userfiles.c:35: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_portcheck.c --> x_sh_portcheck.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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_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_portcheck.c:83: +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_port2proc.o -c x_sh_port2proc.c +In file included from x_sh_prelink.c:31: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_log_parse_pacct.c --> x_sh_log_parse_pacct.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; @@ -1247,12 +1292,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_port2proc.o -c x_sh_port2proc.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 ./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_apache.o -c x_sh_log_parse_apache.c +x_slib.c: In function 'dlog': +x_slib.c:923:16: warning: '__builtin_strncpy' output may be truncated copying 79 bytes from a string of length 80 [-Wstringop-truncation] + 923 | (void) strncpy(dst, src, siz-1); + | ^ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_pacct.o -c x_sh_log_parse_pacct.c In file included from x_sh_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; @@ -1260,18 +1306,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_userfiles.c:35: +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_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_evalrule.c --> x_sh_log_evalrule.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_samba.o -c x_sh_log_parse_samba.c ./encode 0 ./src/sh_log_check.c --> x_sh_log_check.c +./encode 0 ./src/sh_log_parse_generic.c --> x_sh_log_parse_generic.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_evalrule.o -c x_sh_log_evalrule.c +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/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_mark.c --> x_sh_log_mark.c +./encode 0 ./src/sh_log_repeat.c --> x_sh_log_repeat.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_correlate.o -c x_sh_log_correlate.c +./encode 0 ./src/sh_pthread.c --> x_sh_pthread.c +./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_mark.o -c x_sh_log_mark.c +./encode 0 ./src/sh_inotify.c --> x_sh_inotify.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_repeat.o -c x_sh_log_repeat.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_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_pthread.o -c x_sh_pthread.c +./encode 0 ./src/dnmalloc.c --> x_dnmalloc.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 +./encode 0 ./src/sh_registry.c --> x_sh_registry.c +./encode 0 ./src/sh_ipvx.c --> x_sh_ipvx.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o dnmalloc.o -c x_dnmalloc.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_audit.o -c x_sh_audit.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_registry.o -c x_sh_registry.c +./encode 0 ./src/sh_filetype.c --> x_sh_filetype.c +./encode 0 ./src/sh_restrict.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_ipvx.o -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; + | ^~~~~~ +./encode 0 ./src/sh_sub.c --> x_sh_sub.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_filetype.o -c x_sh_filetype.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=] @@ -1294,9 +1388,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -./encode 0 ./src/sh_log_mark.c --> x_sh_log_mark.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_restrict.o -c x_sh_restrict.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)"), @@ -1304,6 +1396,13 @@ config_xor.h:1141:20: note: in definition of macro '_' 1141 | #define _(string) string | ^~~~~~ +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_portcheck.c:802:64: note: format string is defined here 802 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), | ^~ @@ -1335,88 +1434,66 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_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_mark.o -c x_sh_log_mark.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_parse_generic.o -c x_sh_log_parse_generic.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_correlate.o -c x_sh_log_correlate.c -./encode 0 ./src/sh_log_repeat.c --> x_sh_log_repeat.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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_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_string.o -c x_sh_string.c -./encode 0 ./src/sh_inotify.c --> x_sh_inotify.c -./encode 0 ./src/dnmalloc.c --> x_dnmalloc.c -./encode 0 ./src/sh_registry.c --> x_sh_registry.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_audit.o -c x_sh_audit.c -x_sh_processcheck.c: In function 'sh_processes_runps.constprop': -x_sh_processcheck.c:1041:7: warning: variable 'retval' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1041 | int retval = 0; - | ^~~~~~ -./encode 0 ./src/sh_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_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_registry.o -c x_sh_registry.c -./encode 0 ./src/sh_restrict.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_ipvx.o -c x_sh_ipvx.c -In file included from x_sh_inotify.c:47: +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sub.o -c x_sh_sub.c +In file included from x_sh_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 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_restrict.o -c x_sh_restrict.c -In file included from x_sh_audit.c:43: +./encode 0 ./src/sh_fInotify.c --> x_sh_fInotify.c +./encode 0 ./src/sh_checksum.c --> x_sh_checksum.c +./encode 0 ./src/sh_guid.c --> x_sh_guid.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_filetype.c --> x_sh_filetype.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_filetype.o -c x_sh_filetype.c -In file included from x_sh_filetype.c:35: +x_sh_audit.c: In function 'doAuparse': +x_sh_audit.c:77:5: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] + 77 | strncpy(state->success, auparse_interpret_field(au), REC_SIZE_SUCCESS); + | ^ +In file included from x_sh_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; | ^~~~ -./encode 0 ./src/sh_sub.c --> x_sh_sub.c -In file included from x_sh_ipvx.c:37: +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_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 +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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_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_sem.c --> x_sh_sem.c +In file included from x_sh_fInotify.c:31: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./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 -x_sh_audit.c: In function 'doAuparse': -x_sh_audit.c:77:5: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] - 77 | strncpy(state->success, auparse_interpret_field(au), REC_SIZE_SUCCESS); - | ^ -./encode 0 ./src/sh_fInotify.c --> x_sh_fInotify.c -x_sh_processcheck.c: In function 'sh_process_check_int': -x_sh_processcheck.c:1244:30: warning: variable 'aout' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1244 | char * aout; - | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_fInotify.o -c x_sh_fInotify.c -./encode 0 ./src/sh_checksum.c --> x_sh_checksum.c -In file included from x_sh_restrict.c:44: +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_checksum.o -c x_sh_checksum.c -./encode 0 ./src/sh_guid.c --> x_sh_guid.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) | ~~~~~~~~~~^~~~~~~~ @@ -1437,30 +1514,18 @@ ./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_guid.o -c x_sh_guid.c -In function 'sh_ipvx_ntoa', - inlined from 'sh_ipvx_print_sockaddr' at x_sh_ipvx.c:204:3: -x_sh_ipvx.c:160:16: warning: 'ss.ss_family' may be used uninitialized [-Wmaybe-uninitialized] - 160 | int len = (ss->ss_family == AF_INET) ? - | ~~^~~~~~~~~~~ -x_sh_ipvx.c: In function 'sh_ipvx_print_sockaddr': -x_sh_ipvx.c:200:22: note: 'ss' declared here - 200 | struct sh_sockaddr ss; - | ^~ -In file included from x_sh_fInotify.c:31: -./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -./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_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_sem.o -c x_sh_sem.c ./encode 0 ./src/sh_dbIO.c --> x_sh_dbIO.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sem.o -c x_sh_sem.c +./encode 0 ./src/sh_dbCreate.c --> x_sh_dbCreate.c +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_dbCheck.c --> x_sh_dbCheck.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbIO.o -c x_sh_dbIO.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbCreate.o -c x_sh_dbCreate.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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 -In file included from x_sh_guid.c:22: +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; | ^~~~ @@ -1481,35 +1546,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; | ^~~~ -./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 -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; - | ^~~~~~~~~~~ -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; - | ^~~~~~~~~ -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; - | ^~~~ -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 -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 @@ -1534,46 +1570,50 @@ /bin/sh ./mkinstalldirs /build/reproducible-path/samhain-4.1.4/debian/samhain/usr/share/man/man5 mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/usr/share/man/man5 /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 + /usr/bin/install -c -m 644 ./man/samhainrc.5 /build/reproducible-path/samhain-4.1.4/debian/samhain/usr/share/man/man5/samhainrc.5 ./encode 0 ./src/sh_files.c --> x_sh_files.c ./encode 0 ./src/sh_tiger0.c --> x_sh_tiger0.c -./encode 0 ./src/samhain.c --> x_samhain.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger0.o -c x_sh_tiger0.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_files.o -c x_sh_files.c ./encode 0 ./src/sh_tiger2.c --> x_sh_tiger2.c -./encode 0 ./src/sh_error.c --> x_sh_error.c -./encode 0 ./src/sh_utils.c --> x_sh_utils.c -./encode 0 ./src/sh_unix.c --> x_sh_unix.c ./encode 0 ./src/sh_tiger2_64.c --> x_sh_tiger2_64.c +./encode 0 ./src/samhain.c --> x_samhain.c +./encode 0 ./src/sh_unix.c --> x_sh_unix.c +./encode 0 ./src/sh_utils.c --> x_sh_utils.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_files.o -c x_sh_files.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2.o -c x_sh_tiger2.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger0.o -c x_sh_tiger0.c ./encode 0 ./src/sh_getopt.c --> x_sh_getopt.c +./encode 0 ./src/sh_error.c --> x_sh_error.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2_64.o -c x_sh_tiger2_64.c ./encode 0 ./src/sh_readconf.c --> x_sh_readconf.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o 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 ./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_readconf.o -c x_sh_readconf.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_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_unix.o -c x_sh_unix.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2_64.o -c x_sh_tiger2_64.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_utils.o -c x_sh_utils.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_error.o -c x_sh_error.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_getopt.o -c x_sh_getopt.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2.o -c x_sh_tiger2.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_readconf.o -c x_sh_readconf.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_filter.o -c x_sh_filter.c -In file included from x_sh_tiger0.c:25: +In file included from x_sh_files.c:82: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_filter.c:29: +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_hash.c --> x_sh_hash.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_hash.o -c x_sh_hash.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; + | ^~~~ 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; @@ -1581,69 +1621,56 @@ ./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: -./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_mail.o -c x_sh_mail.c +./encode 0 ./src/sh_mail.c --> x_sh_mail.c ./encode 0 ./src/sh_nmail.c --> x_sh_nmail.c -In file included from x_sh_hash.c:46: +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_error.c:58: +In file included from x_sh_getopt.c:34: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_files.c:82: -./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 -./encode 0 ./src/sh_mem.c --> x_sh_mem.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; | ^~~~ -In file included from x_sh_mail.c:57: +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_getopt.c:34: +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; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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_readconf.c:50: +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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; | ^~~~ -In file included from x_sh_mem.c:41: +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_nmail.o -c x_sh_nmail.c +In file included from x_sh_mail.c:57: ./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; | ^~~~ @@ -1657,37 +1684,49 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_mem.c --> x_sh_mem.c ./encode 0 ./src/sh_login_track.c --> x_sh_login_track.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mem.o -c x_sh_mem.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_login_track.o -c x_sh_login_track.c x_sh_files.c: In function 'intern_find_morespecific_dir.constprop': x_sh_files.c:624:16: warning: variable 'l_candidate' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 624 | size_t l_candidate = 0; | ^~~~~~~~~~~ -In file included from x_sh_login_track.c:31: +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; | ^~~~ -./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 -In file included from x_sh_entropy.c:62: +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_entropy.c --> x_sh_entropy.c ./encode 0 ./src/sh_modules.c --> x_sh_modules.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_modules.o -c x_sh_modules.c ./encode 0 ./src/sh_utmp.c --> x_sh_utmp.c -./encode 0 ./src/sh_xfer_server.c --> x_sh_xfer_server.c ./encode 0 ./src/sh_xfer_client.c --> x_sh_xfer_client.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_modules.o -c x_sh_modules.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_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_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 +In function 'stripped_hostname', + inlined from 'check_host' at x_sh_login_track.c:877:11, + inlined from 'sh_ltrack_check' at x_sh_login_track.c:1019:15: +x_sh_login_track.c:841:11: warning: 'strchr' argument 1 declared attribute 'nonstring' [-Wstringop-overread] + 841 | q = strchr(host, '.'); + | ^~~~~~~~~~~~~~~~~ +In file included from /usr/include/utmpx.h:31, + from x_sh_login_track.c:40: +/usr/include/aarch64-linux-gnu/bits/utmpx.h: In function 'sh_ltrack_check': +/usr/include/aarch64-linux-gnu/bits/utmpx.h:65:8: note: argument 'ut_host' declared here + 65 | char ut_host[__UT_HOSTSIZE] + | ^~~~~~~ +./encode 0 ./src/sh_xfer_server.c --> x_sh_xfer_server.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; @@ -1695,14 +1734,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; | ^~~~ -In file included from x_sh_xfer_server.c:126: +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; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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; @@ -1710,11 +1748,25 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_server.o -c x_sh_xfer_server.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; + | ^~~~~~~ +./encode 0 ./src/sh_xfer_syslog.c --> x_sh_xfer_syslog.c ./encode 0 ./src/sh_suidchk.c --> x_sh_suidchk.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_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_xfer_syslog.o -c x_sh_xfer_syslog.c ./encode 0 ./src/sh_srp.c --> x_sh_srp.c ./encode 0 ./src/sh_fifo.c --> x_sh_fifo.c -./encode 0 ./src/sh_tools.c --> x_sh_tools.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_suidchk.o -c x_sh_suidchk.c +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_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_fifo.o -c x_sh_fifo.c In file included from x_sh_suidchk.c:75: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] @@ -1723,20 +1775,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 function 'stripped_hostname', - inlined from 'check_host' at x_sh_login_track.c:877:11, - inlined from 'sh_ltrack_check' at x_sh_login_track.c:1019:15: -x_sh_login_track.c:841:11: warning: 'strchr' argument 1 declared attribute 'nonstring' [-Wstringop-overread] - 841 | q = strchr(host, '.'); - | ^~~~~~~~~~~~~~~~~ -In file included from /usr/include/utmpx.h:31, - from x_sh_login_track.c:40: -/usr/include/aarch64-linux-gnu/bits/utmpx.h: In function 'sh_ltrack_check': -/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_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 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; @@ -1766,12 +1804,7 @@ x_sh_suidchk.c:999:15: note: 'sh_dummy_dirlist' declared here 999 | static void * sh_dummy_dirlist = NULL; | ^~~~~~~~~~~~~~~~ -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; - | ^~~~~~~ -./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_html.o -c x_sh_html.c +./encode 0 ./src/sh_tools.c --> x_sh_tools.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; @@ -1780,6 +1813,19 @@ 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./encode 0 ./src/sh_gpg.c --> x_sh_gpg.c +./encode 0 ./src/sh_html.c --> x_sh_html.c +./encode 0 ./src/sh_cat.c --> x_sh_cat.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tools.o -c x_sh_tools.c +./encode 0 ./src/sh_extern.c --> x_sh_extern.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 +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_gpg.o -c x_sh_gpg.c +./encode 0 ./src/sh_database.c --> x_sh_database.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_cat.o -c x_sh_cat.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_extern.o -c x_sh_extern.c +./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_calls.o -c x_sh_calls.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_database.o -c x_sh_database.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; @@ -1787,12 +1833,17 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_cat.c --> x_sh_cat.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_gpg.o -c x_sh_gpg.c -./encode 0 ./src/sh_calls.c --> x_sh_calls.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_cat.o -c x_sh_cat.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_calls.o -c x_sh_calls.c -./encode 0 ./src/sh_extern.c --> x_sh_extern.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 +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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; + | ^~~~ +./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_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; @@ -1800,6 +1851,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_schedule.c --> x_sh_schedule.c x_sh_calls.c:935:50: warning: argument 3 of type 'int *' declared as a pointer [-Warray-parameter=] 935 | int aud_pipe (const char * file, int line, int * modus) | ~~~~~~^~~~~ @@ -1808,19 +1860,6 @@ ./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]); | ~~~~^~~~~~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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 -./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_err_log.o -c x_sh_err_log.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_database.o -c x_sh_database.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; @@ -1828,13 +1867,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_err_console.o -c x_sh_err_console.c -./encode 0 ./src/sh_schedule.c --> x_sh_schedule.c ./encode 0 ./src/bignum.c --> x_bignum.c -./encode 0 ./src/sh_err_syslog.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_err_syslog.o -c x_sh_err_syslog.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_schedule.o -c x_sh_schedule.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=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 +./encode 0 ./src/trustfile.c --> x_trustfile.c +./encode 0 ./src/rijndael-alg-fst.c --> x_rijndael-alg-fst.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; @@ -1842,40 +1879,61 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/trustfile.c --> x_trustfile.c -./encode 0 ./src/rijndael-alg-fst.c --> x_rijndael-alg-fst.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o bignum.o -c x_bignum.c +x_sh_unix.c: In function 'sh_unix_getinfo': +x_sh_unix.c:3812:17: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 3812 | char * tmp; + | ^~~ +x_sh_unix.c:3815:17: warning: variable 'linknamebuf' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 3815 | char * linknamebuf; + | ^~~~~~~~~~~ aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o 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-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 rijndael-api-fst.o -c x_rijndael-api-fst.c ./encode 0 ./src/zAVLTree.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 rijndael-api-fst.o -c x_rijndael-api-fst.c +./encode 0 ./src/sh_socket.c --> x_sh_socket.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o 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/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_prelude.c --> x_sh_prelude.c In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from x_slib.c:8: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -./encode 0 ./src/sh_socket.c --> x_sh_socket.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o zAVLTree.o -c x_zAVLTree.c -./encode 0 ./src/sh_ignore.c --> x_sh_ignore.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_socket.o -c x_sh_socket.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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_prelude.c --> x_sh_prelude.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_prelude.o -c x_sh_prelude.c -./encode 0 ./src/sh_userfiles.c --> x_sh_userfiles.c In file included from x_sh_socket.c:53: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 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_mounts.o -c x_sh_mounts.c ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_userfiles.o -c x_sh_userfiles.c +./encode 0 ./src/sh_mounts.c --> x_sh_mounts.c +./encode 0 ./src/sh_userfiles.c --> x_sh_userfiles.c ./encode 0 ./src/sh_prelink.c --> x_sh_prelink.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mounts.o -c x_sh_mounts.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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 +./encode 0 ./src/sh_static.c --> x_sh_static.c +./encode 0 ./src/sh_processcheck.c --> x_sh_processcheck.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_prelink.o -c x_sh_prelink.c +./encode 0 ./src/sh_portcheck.c --> x_sh_portcheck.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_static.o -c x_sh_static.c +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_port2proc.c --> x_sh_port2proc.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; @@ -1883,8 +1941,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_prelink.o -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_log_parse_syslog.c --> x_sh_log_parse_syslog.c In file included from x_sh_userfiles.c:35: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1892,22 +1950,12 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -x_sh_unix.c: In function 'sh_unix_getinfo': -x_sh_unix.c:3812:17: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 3812 | char * tmp; - | ^~~ -x_sh_unix.c:3815:17: warning: variable 'linknamebuf' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 3815 | char * linknamebuf; - | ^~~~~~~~~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_static.o -c x_sh_static.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_processcheck.o -c x_sh_processcheck.c -./encode 0 ./src/sh_port2proc.c --> x_sh_port2proc.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_portcheck.c --> x_sh_portcheck.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_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_port2proc.o -c x_sh_port2proc.c In file included from x_sh_prelink.c:31: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] @@ -1916,8 +1964,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_portcheck.o -c x_sh_portcheck.c -./encode 0 ./src/sh_log_parse_syslog.c --> x_sh_log_parse_syslog.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_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 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; @@ -1925,7 +1975,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_log_parse_syslog.o -c x_sh_log_parse_syslog.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; @@ -1933,8 +1982,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_log_parse_pacct.c --> x_sh_log_parse_pacct.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_apache.o -c x_sh_log_parse_apache.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; @@ -1942,26 +1990,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_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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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_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_parse_generic.o -c x_sh_log_parse_generic.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_evalrule.c --> x_sh_log_evalrule.c -./encode 0 ./src/sh_log_correlate.c --> x_sh_log_correlate.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_correlate.o -c x_sh_log_correlate.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_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: @@ -1971,65 +2001,19 @@ x_slib.c:2042:9: note: in expansion of macro 'sl_strlen' 2042 | len = sl_strlen(filename)+1; | ^~~~~~~~~ +./encode 0 ./src/sh_log_check.c --> x_sh_log_check.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_evalrule.o -c x_sh_log_evalrule.c +./encode 0 ./src/sh_log_parse_generic.c --> x_sh_log_parse_generic.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_mark.o -c x_sh_log_mark.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_check.o -c x_sh_log_check.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_generic.o -c x_sh_log_parse_generic.c ./encode 0 ./src/sh_log_repeat.c --> x_sh_log_repeat.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_correlate.o -c x_sh_log_correlate.c +./encode 0 ./src/sh_pthread.c --> x_sh_pthread.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_mark.o -c x_sh_log_mark.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_repeat.o -c x_sh_log_repeat.c -./encode 0 ./src/sh_inotify.c --> x_sh_inotify.c ./encode 0 ./src/sh_string.c --> x_sh_string.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_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_pthread.o -c x_sh_pthread.c -./encode 0 ./src/dnmalloc.c --> x_dnmalloc.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_string.o -c x_sh_string.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_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 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_registry.o -c x_sh_registry.c -./encode 0 ./src/sh_ipvx.c --> x_sh_ipvx.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_ipvx.o -c x_sh_ipvx.c -./encode 0 ./src/sh_filetype.c --> x_sh_filetype.c -./encode 0 ./src/sh_restrict.c --> x_sh_restrict.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; - | ^~~~ -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_restrict.o -c x_sh_restrict.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_filetype.o -c x_sh_filetype.c -./encode 0 ./src/sh_fInotify.c --> x_sh_fInotify.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sub.o -c x_sh_sub.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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); - | ^ -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; - | ^~~~ 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=] @@ -2052,24 +2036,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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; - | ^~~~ -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; - | ^~~~~~ -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_inotify.c --> x_sh_inotify.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)"), @@ -2108,9 +2075,78 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_pthread.o -c x_sh_pthread.c +./encode 0 ./src/dnmalloc.c --> x_dnmalloc.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_string.o -c x_sh_string.c +./encode 0 ./src/sh_audit.c --> x_sh_audit.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_inotify.o -c x_sh_inotify.c +x_sh_processcheck.c: In function 'sh_processes_runps.constprop': +x_sh_processcheck.c:1041:7: warning: variable 'retval' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1041 | int retval = 0; + | ^~~~~~ +./encode 0 ./src/sh_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_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 dnmalloc.o -c x_dnmalloc.c +./encode 0 ./src/sh_filetype.c --> x_sh_filetype.c +./encode 0 ./src/sh_restrict.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_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_ipvx.o -c x_sh_ipvx.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_filetype.o -c x_sh_filetype.c +./encode 0 ./src/sh_fInotify.c --> x_sh_fInotify.c +x_sh_processcheck.c: In function 'sh_process_check_int': +x_sh_processcheck.c:1244:30: warning: variable 'aout' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1244 | char * aout; + | ^~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_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; + | ^~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sub.o -c x_sh_sub.c ./encode 0 ./src/sh_checksum.c --> x_sh_checksum.c -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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_fInotify.o -c x_sh_fInotify.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; + | ^~~~ +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_guid.c --> x_sh_guid.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; + | ^~~~ +./encode 0 ./src/sh_sem.c --> x_sh_sem.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_checksum.o -c x_sh_checksum.c +./encode 0 ./src/sh_dbCheck.c --> x_sh_dbCheck.c +./encode 0 ./src/sh_dbIO.c --> x_sh_dbIO.c In function 'sh_ipvx_ntoa', inlined from 'sh_ipvx_print_sockaddr' at x_sh_ipvx.c:204:3: x_sh_ipvx.c:160:16: warning: 'ss.ss_family' may be used uninitialized [-Wmaybe-uninitialized] @@ -2121,11 +2157,18 @@ 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_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_sem.o -c x_sh_sem.c -./encode 0 ./src/sh_dbIO.c --> x_sh_dbIO.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; + | ^~~~ +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger_i.o -c ./src/sh_tiger1_64.c +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbCheck.o -c x_sh_dbCheck.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbIO.o -c x_sh_dbIO.c -./encode 0 ./src/sh_dbCheck.c --> x_sh_dbCheck.c +./encode 0 ./src/sh_dbCreate.c --> x_sh_dbCreate.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) | ~~~~~~~~~~^~~~~~~~ @@ -2146,22 +2189,19 @@ ./include/sh_checksum.h:23:31: note: previously declared as 'char[49]' 23 | char* SHA256_End(SHA256_CTX*, char[KEYBUF_SIZE]); | ^~~~~~~~~~~~~~~~~ -./encode 0 ./src/sh_dbCreate.c --> x_sh_dbCreate.c -In file included from x_sh_dbIO.c:29: +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 -aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -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_tiger_i.o -c ./src/sh_tiger1_64.c x_sh_fInotify.c: In function 'sh_fInotify_init_internal': x_sh_fInotify.c:340:10: warning: variable 'filename' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 340 | char * filename; | ^~~~~~~~ -In file included from x_sh_guid.c:22: +aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbCreate.o -c x_sh_dbCreate.c +In file included from x_sh_dbIO.c:29: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ @@ -2175,6 +2215,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; | ^~~~ +mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/run +mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/run/samhain 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; @@ -2182,12 +2224,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; | ^~~~ -mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/run -mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/run/samhain -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; - | ^~~~ ./samhain-install.sh --destdir=/build/reproducible-path/samhain-4.1.4/debian/samhain --express --verbose install-data cp samhainrc.linux samhainrc cp samhainrc samhainrc.pre @@ -2291,12 +2327,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/4123260/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4123260/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/3413100 and its subdirectories -I: Current time: Mon Dec 8 07:03:08 -12 2025 -I: pbuilder-time-stamp: 1765220588 +I: removing directory /srv/workspace/pbuilder/4123260 and its subdirectories +I: Current time: Wed Nov 6 02:42:42 +14 2024 +I: pbuilder-time-stamp: 1730810562