From 07b15c5f21a951dfe8bbc0f2cd8ad98f75f7dda0 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Fri, 13 Apr 2007 08:32:18 +0000 Subject: Patch by Ricard Wanderlof : * Add configurable buffer sizes for getpwnam() and getgrnam(). The default buffer size is, as before, 256 (glibc seems to use 1024 by default). --- extra/Configs/Config.in | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'extra/Configs') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 327b62a11..d33dc98f6 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -596,6 +596,30 @@ config UCLIBC_TZ_FILE_PATH endmenu +menu "Advanced Library Settings" + +config UCLIBC_PWD_BUFFER_SIZE + int "Buffer size for getpwnam() and friends" + default 256 + range 256 1024 + help + This sets the value of the buffer size for getpwnam() and friends. + By default, this is 256. (For reference, glibc uses 1024). + The value can be found using sysconf() with the _SC_GETPW_R_SIZE_MAX + parameter. + +config UCLIBC_GRP_BUFFER_SIZE + int "Buffer size for getgrnam() and friends" + default 256 + range 256 1024 + help + This sets the value of the buffer size for getgrnam() and friends. + By default, this is 256. (For reference, glibc uses 1024). + The value can be found using sysconf() with the _SC_GETGR_R_SIZE_MAX + parameter. + +endmenu + menu "Networking Support" config UCLIBC_HAS_IPV6 -- cgit v1.2.3