Hi Collin, > + getusershell: Add tests. > + * modules/getusershell-tests: New file. > + * tests/test-getusershell.c: New file.
The test fails on Alpine Linux. FAIL: test-getusershell ======================= ../../gltests/test-getusershell.c:53: assertion 'ptr[0] != '#'' failed Aborted (core dumped) FAIL test-getusershell (exit status: 134) If you want to look into it: It's easy to install Alpine Linux in a VM. Cf. maint-tools/platforms/test-environments.txt. Here's my writeup: ------------------------------------------------------------------------------- Use alpine-standard-3.19.0-x86_64.iso Kernel sources: Under https://git.alpinelinux.org/cgit/aports/tree/main?h=v3.19-stable select all linux-* packages and look at the APKBUILD file of each. Disk size: 9 GB # setup-alpine keyboard layout: us variant: us hostname: alpine root password: ***** time zone: xxxxx/xxxxx user: xxxxx, password: ***** disk: sda partitioning scheme: sys # halt Reboot. Eject CD. # apk update List of packages: https://pkgs.alpinelinux.org/packages # apk add bash # apk add make # apk add gcc g++ # apk add gdb # apk add vim Edit /etc/apk/repositories, as described in https://wiki.alpinelinux.org/wiki/Repositories#Enabling_the_community_repository Enable the 'community' repository. # apk add emacs-nox Either # apk add musl-libintl <=== THIS or # apk add gettext-dev Add localizations of musl libc itself: # apk add musl-locales # apk add openssl openssl-dev Effects of "hardened" kernel: - Nonstandard memory map of processes. - /proc/<pid>/maps contains only zero addresses, when viewed from a different process. - gdb cannot set breakpoints; only post-mortem debugging is possible.