summaryrefslogtreecommitdiff
path: root/recipes/linux-uml/files/fix-arg-max.patch
diff options
context:
space:
mode:
authorLukas Gorris <lukas.gorris@gmail.com>2009-03-30 21:20:14 +0200
committerLukas Gorris <lukas.gorris@gmail.com>2009-03-30 21:20:14 +0200
commita93dfebb9e7a34ffba9b1ae5e8e496dfab4c3c43 (patch)
tree6c38a4617c92398269e6603a0509fc3006811368 /recipes/linux-uml/files/fix-arg-max.patch
parent4255898da29e7e0c521d064afedbc4075b3e8155 (diff)
parentd7fdcef3d8c8b80926d579c2db179b594429cebe (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/linux-uml/files/fix-arg-max.patch')
-rw-r--r--recipes/linux-uml/files/fix-arg-max.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/linux-uml/files/fix-arg-max.patch b/recipes/linux-uml/files/fix-arg-max.patch
new file mode 100644
index 0000000000..8f72938813
--- /dev/null
+++ b/recipes/linux-uml/files/fix-arg-max.patch
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- linux-2.4.24/arch/um/kernel/user_util.c~fix-arg-max 2004-05-12 18:13:03.000000000 +0200
++++ linux-2.4.24/arch/um/kernel/user_util.c 2004-05-12 18:14:24.000000000 +0200
+@@ -31,7 +31,7 @@
+ #include "helper.h"
+ #include "uml-config.h"
+
+-#define COMMAND_LINE_SIZE _POSIX_ARG_MAX
++#define COMMAND_LINE_SIZE 4096
+
+ /* Changed in linux_main and setup_arch, which run before SMP is started */
+ char saved_command_line[COMMAND_LINE_SIZE] = { 0 };