summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2007-04-13 08:32:18 +0000
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>2007-04-13 08:32:18 +0000
commit07b15c5f21a951dfe8bbc0f2cd8ad98f75f7dda0 (patch)
tree405ca74df243f1b523c6ff11119abc032d5a5046 /extra
parent60dfbf13d6953f00b54bf6135aaad74de5b8e7b1 (diff)
Patch by Ricard Wanderlof <ricardw at axis dot com>:
* Add configurable buffer sizes for getpwnam() and getgrnam(). The default buffer size is, as before, 256 (glibc seems to use 1024 by default).
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.in24
1 files changed, 24 insertions, 0 deletions
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