summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2025-03-28 12:56:13 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-08 15:49:17 +0100
commit8e714088296b9edfea628a1265bb5171394e1f87 (patch)
treeba82158689b0f83e03b80370fe332044978013c4 /meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch
parent9e418c4265453860c4736abb7520f1c3c2c3faee (diff)
downloadpoky-8e714088296b9edfea628a1265bb5171394e1f87.tar.gz
base-files: add gshadow entry in nsswitch.conf
We encountered a newgrp regression in shadow 4.17.3: root@qemux86-64:~# groupadd g1 root@qemux86-64:~# useradd t1 root@qemux86-64:~# gpasswd g1 Changing the password for group g1 New Password: Re-enter new password: root@qemux86-64:~# sudo -u t1 newgrp g1 Password: Invalid password. root@qemux86-64:~# In versions prior to shadow 4.17.3, shadow used an internal implementation to support shadow group because it could not correctly detect whether glibc supports shadow group in a cross-compilation environment. In 4.17.3, it can correctly check whether glibc supports shadow group even in a cross-compilation environment[1]. If supported, shadow will use it instead of its own internal implementation. Shadow group support in glibc requires adding a gshadow entry in nsswitch.conf. After the patch: root@qemux86-64:~# groupadd g1 root@qemux86-64:~# useradd t1 root@qemux86-64:~# gpasswd g1 Changing the password for group g1 New Password: Re-enter new password: root@qemux86-64:~# sudo -u t1 newgrp g1 Password: t1@qemux86-64:/home/root$ [1] https://github.com/shadow-maint/shadow/commit/da6b9cff02d583ef169a0bc0c1014b19b5fad2fb (From OE-Core rev: 0cb122f17cf264ef904880351db1c0bb325fe5a6) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch')
0 files changed, 0 insertions, 0 deletions