From: agaffney Date: Thu, 13 Nov 2008 21:31:22 +0000 (-0600) Subject: more debugging code X-Git-Tag: v3.4.10.902~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e9bc13a870ca45c183d45fa9a8c54c10d19c1308;p=genkernel.git more debugging code --- diff --git a/patches/busybox/1.7.4/1.7.4-simplify-path-debug.diff b/patches/busybox/1.7.4/1.7.4-simplify-path-debug.diff index 5bcc1d6..58fdd46 100644 --- a/patches/busybox/1.7.4/1.7.4-simplify-path-debug.diff +++ b/patches/busybox/1.7.4/1.7.4-simplify-path-debug.diff @@ -1,3 +1,4 @@ +diff -ur busybox-1.7.4.orig/libbb/simplify_path.c busybox-1.7.4/libbb/simplify_path.c --- busybox-1.7.4.orig/libbb/simplify_path.c 2007-09-03 06:48:42.000000000 -0500 +++ busybox-1.7.4/libbb/simplify_path.c 2008-11-13 14:58:24.000000000 -0600 @@ -13,6 +13,8 @@ @@ -9,3 +10,29 @@ if (path[0] == '/') start = xstrdup(path); else { +diff -ur busybox-1.7.4.orig/util-linux/mount.c busybox-1.7.4/util-linux/mount.c +--- busybox-1.7.4.orig/util-linux/mount.c 2007-09-03 06:48:56.000000000 -0500 ++++ busybox-1.7.4/util-linux/mount.c 2008-11-13 15:29:59.000000000 -0600 +@@ -1541,6 +1541,13 @@ + SKIP_DESKTOP(const int nonroot = 0;) + USE_DESKTOP( int nonroot = (getuid() != 0);) + ++ // Dump the commandline args ++ printf("'mount' called with the following args:\n"); ++ int z = 0; ++ for(z=0;z