[PATCH 14/14] uml: PATH_MAX needs limits.h

Previous thread: [PATCH 13/14] UML - Fix boot crash by Jeff Dike on Tuesday, August 5, 2008 - 1:14 pm. (2 messages)

Next thread: [PATCH 10/14] uml: stub needs to tolerate SIGWINCH by Jeff Dike on Tuesday, August 5, 2008 - 1:14 pm. (2 messages)
From: Jeff Dike
Date: Tuesday, August 5, 2008 - 1:14 pm

From b6d8adf477439e7086224bc9674c6b6638780783

From: Ingo Molnar <mingo@elte.hu>

Include limits.h to get a definition of PATH_MAX.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
 arch/um/os-Linux/helper.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/um/os-Linux/helper.c b/arch/um/os-Linux/helper.c
index 679acce..b6b1096 100644
--- a/arch/um/os-Linux/helper.c
+++ b/arch/um/os-Linux/helper.c
@@ -7,6 +7,7 @@
 #include <unistd.h>
 #include <errno.h>
 #include <sched.h>
+#include <linux/limits.h>
 #include <sys/socket.h>
 #include <sys/wait.h>
 #include "kern_constants.h"
-- 
1.5.5.1

--

From: gregkh
Date: Saturday, August 16, 2008 - 3:32 pm

This is a note to let you know that we have just queued up the patch titled

    Subject: uml: PATH_MAX needs limits.h

to the 2.6.25-stable tree.  Its filename is

    uml-path_max-needs-limits.h.patch

A git repo of this tree can be found at 
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary


From stable-bounces@linux.kernel.org Tue Aug  5 13:15:02 2008
From: Ingo Molnar <mingo@elte.hu>
Date: Tue, 5 Aug 2008 16:14:11 -0400
Subject: uml: PATH_MAX needs limits.h
To: stable@kernel.org
Cc: LKML <linux-kernel@vger.kernel.org>, uml-devel <user-mode-linux-devel@lists.sourceforge.net>
Message-ID: <20080805201411.GA11802@c2.user-mode-linux.org>
Content-Disposition: inline

From: Ingo Molnar <mingo@elte.hu>

commit b6d8adf477439e7086224bc9674c6b6638780783 upstream.

Include limits.h to get a definition of PATH_MAX.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
 arch/um/os-Linux/helper.c |    1 +
 1 file changed, 1 insertion(+)

--- a/arch/um/os-Linux/helper.c
+++ b/arch/um/os-Linux/helper.c
@@ -7,6 +7,7 @@
 #include <unistd.h>
 #include <errno.h>
 #include <sched.h>
+#include <linux/limits.h>
 #include <sys/socket.h>
 #include <sys/wait.h>
 #include "kern_constants.h"


Patches currently in stable-queue which might be from mingo@elte.hu are

queue-2.6.25/uml-fix-gcc-ices-and-unresolved-externs.patch
queue-2.6.25/uml-path_max-needs-limits.h.patch
--

Previous thread: [PATCH 13/14] UML - Fix boot crash by Jeff Dike on Tuesday, August 5, 2008 - 1:14 pm. (2 messages)

Next thread: [PATCH 10/14] uml: stub needs to tolerate SIGWINCH by Jeff Dike on Tuesday, August 5, 2008 - 1:14 pm. (2 messages)