Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 94261 Details for
Bug 143917
proposed patch for hardened-sources
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kernel patch
kernel.diff (text/plain), 1.84 KB, created by
Sergio Bevilacqua
on 2006-08-14 12:15:47 UTC
(
hide
)
Description:
kernel patch
Filename:
MIME Type:
Creator:
Sergio Bevilacqua
Created:
2006-08-14 12:15:47 UTC
Size:
1.84 KB
patch
obsolete
>diff -aNru a/include/linux/limits.h b/include/linux/limits.h >--- a/include/linux/limits.h 2006-08-13 16:35:53.000000000 +0200 >+++ b/include/linux/limits.h 2006-08-14 20:58:42.421138736 +0200 >@@ -1,12 +1,12 @@ > #ifndef _LINUX_LIMITS_H > #define _LINUX_LIMITS_H > >-#define NR_OPEN 1024 >+#define NR_OPEN 8192 > > #define NGROUPS_MAX 65536 /* supplemental group IDs are available */ > #define ARG_MAX 131072 /* # bytes of args + environ for exec() */ > #define CHILD_MAX 999 /* no limit :-) */ >-#define OPEN_MAX 256 /* # open files a process may have */ >+#define OPEN_MAX 8192 /* # open files a process may have */ > #define LINK_MAX 127 /* # links a file may have */ > #define MAX_CANON 255 /* size of the canonical input queue */ > #define MAX_INPUT 255 /* size of the type-ahead buffer */ >diff -aNru a/include/linux/posix_types.h b/include/linux/posix_types.h >--- a/include/linux/posix_types.h 2006-08-13 16:35:53.000000000 +0200 >+++ b/include/linux/posix_types.h 2006-08-14 20:59:04.301471952 +0200 >@@ -22,7 +22,7 @@ > #define __NFDBITS (8 * sizeof(unsigned long)) > > #undef __FD_SETSIZE >-#define __FD_SETSIZE 1024 >+#define __FD_SETSIZE 8192 > > #undef __FDSET_LONGS > #define __FDSET_LONGS (__FD_SETSIZE/__NFDBITS) >diff -aNru a/include/linux/sem.h b/include/linux/sem.h >--- a/include/linux/sem.h 2006-08-13 16:35:53.000000000 +0200 >+++ b/include/linux/sem.h 2006-08-14 20:57:56.536114320 +0200 >@@ -64,7 +64,7 @@ > int semaem; > }; > >-#define SEMMNI 128 /* <= IPCMNI max # of semaphore identifiers */ >+#define SEMMNI 512 /* <= IPCMNI max # of semaphore identifiers */ > #define SEMMSL 250 /* <= 8 000 max num of semaphores per id */ > #define SEMMNS (SEMMNI*SEMMSL) /* <= INT_MAX max # of semaphores in system */ > #define SEMOPM 32 /* <= 1 000 max num of ops per semop call */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 143917
: 94261