]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Add unix_chkpwd to sanitizer wrapped binaries
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 18 Mar 2025 21:45:17 +0000 (22:45 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 22 Mar 2025 15:51:44 +0000 (15:51 +0000)
unix_chkpwd will retrieve the user name of the uid it is invoked as
and as such needs the asan workaround.

(cherry picked from commit 5ecc08e033653fecd90afd7780ab14f54a1e1f54)

mkosi.sanitizers/mkosi.postinst

index e83d05c6bc92f92a72706b72e6b345460389cc7f..bcf7afaff34b76516629116a2faaaeceda986bbe 100755 (executable)
@@ -78,6 +78,7 @@ wrap=(
     su
     tar
     tgtd
+    unix_chkpwd
     useradd
     userdel
     veritysetup