]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
libpam: re-add missing libgen include
authorMartin Jansa <martin.jansa@gmail.com>
Fri, 1 Aug 2025 10:07:08 +0000 (12:07 +0200)
committerSteve Sakoman <steve@sakoman.com>
Fri, 1 Aug 2025 14:50:35 +0000 (07:50 -0700)
commit41314f314fdb8c4501b1e2d1f8b035844b723f6e
tree9540f436673c4f99cc502f81982eebd6706a52bf
parentec22ec26b3f40ed5e0d84d60c29d8c315cf72e23
libpam: re-add missing libgen include

It was added by original commit for CVE-2025-6020-01.patch
https://github.com/linux-pam/linux-pam/commit/475bd60c552b98c7eddb3270b0b4196847c0072e#diff-05f443e6acbe32a148a45648148739bf6f02f13acc5c20c6037bf933223d4d77
but removed here in the rebase, causing:

../../../Linux-PAM-1.5.3/modules/pam_namespace/pam_namespace.c:326:11: error: call to undeclared function 'dirname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  326 |         parent = dirname(buf);
      |                  ^
../../../Linux-PAM-1.5.3/modules/pam_namespace/pam_namespace.c:326:9: error: incompatible integer to pointer conversion assigning to 'char*' from 'int' [-Wint-conversion]
  326 |         parent = dirname(buf);
      |                ^ ~~~~~~~~~~~~

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-extended/pam/libpam/0002-pam-namespace-rebase.patch