2008-08-05 20:18:57

by Jeff Dike

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

>From b6d8adf477439e7086224bc9674c6b6638780783

From: Ingo Molnar <[email protected]>

Include limits.h to get a definition of PATH_MAX.

Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Jeff Dike <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
---
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


2008-08-16 22:39:38

by Greg KH

[permalink] [raw]
Subject: patch uml-path_max-needs-limits.h.patch added to 2.6.25-stable tree


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 [email protected] Tue Aug 5 13:15:02 2008
From: Ingo Molnar <[email protected]>
Date: Tue, 5 Aug 2008 16:14:11 -0400
Subject: uml: PATH_MAX needs limits.h
To: [email protected]
Cc: LKML <[email protected]>, uml-devel <[email protected]>
Message-ID: <[email protected]>
Content-Disposition: inline

From: Ingo Molnar <[email protected]>

commit b6d8adf477439e7086224bc9674c6b6638780783 upstream.

Include limits.h to get a definition of PATH_MAX.

Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Jeff Dike <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
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 [email protected] are

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