* include/limits.h (NGROUPS_MAX): Set to a more sane value.
* include/sys/param.h (NGROUPS): Ditto.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | 2009-08-11  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
|  | 	* include/limits.h (NGROUPS_MAX): Set to a more sane value. | ||||||
|  | 	* include/sys/param.h (NGROUPS): Ditto. | ||||||
|  |  | ||||||
| 2009-08-10  Corinna Vinschen  <corinna@vinschen.de> | 2009-08-10  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* spawn.cc (av::fixup): Check shell scripts for executability only on | 	* spawn.cc (av::fixup): Check shell scripts for executability only on | ||||||
|   | |||||||
| @@ -404,7 +404,7 @@ details. */ | |||||||
| /* Max num groups for a user, value taken from NT documentation */ | /* Max num groups for a user, value taken from NT documentation */ | ||||||
| /* Must match <sys/param.h> NGROUPS */ | /* Must match <sys/param.h> NGROUPS */ | ||||||
| #undef NGROUPS_MAX | #undef NGROUPS_MAX | ||||||
| #define NGROUPS_MAX 16 | #define NGROUPS_MAX 1024 | ||||||
|  |  | ||||||
| /* Maximum number of repeated occurrences of a regular expression when | /* Maximum number of repeated occurrences of a regular expression when | ||||||
|    using the interval notation \{m,n\} */ |    using the interval notation \{m,n\} */ | ||||||
|   | |||||||
| @@ -19,7 +19,7 @@ | |||||||
| #define NOFILE		8192 | #define NOFILE		8192 | ||||||
|  |  | ||||||
| /* Max number of groups; must keep in sync with NGROUPS_MAX in limits.h */ | /* Max number of groups; must keep in sync with NGROUPS_MAX in limits.h */ | ||||||
| #define NGROUPS		16 | #define NGROUPS		1024 | ||||||
|  |  | ||||||
| /* Ticks/second for system calls such as times() */ | /* Ticks/second for system calls such as times() */ | ||||||
| /* FIXME: is this the appropriate value? */ | /* FIXME: is this the appropriate value? */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user