The patch titled avoid OPEN_MAX in SCM_MAX_FD has been added to the -mm tree. Its filename is avoid-open_max-in-scm_max_fd.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: avoid OPEN_MAX in SCM_MAX_FD From: Roland McGrath <roland@xxxxxxxxxx> The OPEN_MAX constant is an arbitrary number with no useful relation to anything. Nothing should be using it. SCM_MAX_FD is just an arbitrary constant and it should be clear that its value is chosen in net/scm.h and not actually derived from anything else meaningful in the system. Signed-off-by: Roland McGrath <roland@xxxxxxxxxx> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/net/scm.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN include/net/scm.h~avoid-open_max-in-scm_max_fd include/net/scm.h --- a/include/net/scm.h~avoid-open_max-in-scm_max_fd +++ a/include/net/scm.h @@ -8,7 +8,7 @@ /* Well, we should have at least one descriptor open * to accept passed FDs 8) */ -#define SCM_MAX_FD (OPEN_MAX-1) +#define SCM_MAX_FD 255 struct scm_fp_list { _ Patches currently in -mm which might be from roland@xxxxxxxxxx are powerpc-vdso-install-unstripped-copies-on-disk.patch pass-g-to-assembler-under-config_debug_info.patch avoid-open_max-in-scm_max_fd.patch x86-use-elfnoteh-to-generate-vsyscall-notes-fix.patch make-alt-sysrq-p-display-the-debug-register-contents.patch i386-vdso-install-unstripped-copies-on-disk.patch x86_64-ia32-vdso-install-unstripped-copies-on-disk.patch clone-flag-clone_parent_tidptr-leaves-invalid-results-in-memory.patch pie-randomization.patch i386-put-allocated-elf-notes-in-read-only-data-segment.patch x86_64-put-allocated-elf-notes-in-read-only-data-segment.patch alpha-put-allocated-elf-notes-in-read-only-data-segment.patch powerpc-put-allocated-elf-notes-in-read-only-data-segment.patch s390-put-allocated-elf-notes-in-read-only-data-segment.patch add-sys-kernel-notes.patch use-build-id-ld-option.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html