From 5c9c236954b8ab2b736e678654de54c2d11bbc2a Mon Sep 17 00:00:00 2001 From: Abhishek Mishra Date: Wed, 29 Jul 2026 13:49:01 +0000 Subject: [PATCH] libc/pwd: default ostest multiuser passwd path to /tmp/ostest_passwd When CONFIG_TESTING_OSTEST_MULTIUSER is enabled, default CONFIG_LIBC_PASSWD_FILEPATH to a writable tmpfs path used by the ostest multiuser passwd sub-test. Signed-off-by: Abhishek Mishra --- libs/libc/pwd/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/libc/pwd/Kconfig b/libs/libc/pwd/Kconfig index 88d5ba4e922..4e7b1cb9285 100644 --- a/libs/libc/pwd/Kconfig +++ b/libs/libc/pwd/Kconfig @@ -22,9 +22,11 @@ if LIBC_PASSWD_FILE config LIBC_PASSWD_FILEPATH string "Path to passwd file" + default "/tmp/ostest_passwd" if TESTING_OSTEST_MULTIUSER default "/etc/passwd" ---help--- Provides the location of the passwd file. The default is /etc/passwd + (/tmp/ostest_passwd when CONFIG_TESTING_OSTEST_MULTIUSER is enabled). config LIBC_PASSWD_LINESIZE int "Maximum line size"