diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2011-01-10 14:41:22 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-01-11 00:18:22 +0100 |
commit | 49318cb92d7bde2b997d77566edaef41c20f7182 (patch) | |
tree | 892e92520ae1e1a4d603032f8b1521dcb5ede19d /package/busybox/busybox-1.18.1/busybox-1.18.1-mkswap.patch | |
parent | aaa291d40b1e746c81092ecac7a6388486325bd2 (diff) |
busybox: add/update 1.18.1 fixes for hush, mkswap, modprobe, tftp and procps
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.18.1/busybox-1.18.1-mkswap.patch')
-rw-r--r-- | package/busybox/busybox-1.18.1/busybox-1.18.1-mkswap.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.18.1/busybox-1.18.1-mkswap.patch b/package/busybox/busybox-1.18.1/busybox-1.18.1-mkswap.patch new file mode 100644 index 000000000..41dff57c0 --- /dev/null +++ b/package/busybox/busybox-1.18.1/busybox-1.18.1-mkswap.patch @@ -0,0 +1,12 @@ +diff -urpN busybox-1.18.1/util-linux/mkswap.c busybox-1.18.1-mkswap/util-linux/mkswap.c +--- busybox-1.18.1/util-linux/mkswap.c 2010-12-20 01:41:27.000000000 +0100 ++++ busybox-1.18.1-mkswap/util-linux/mkswap.c 2011-01-05 11:41:24.455856773 +0100 +@@ -15,7 +15,7 @@ static void mkswap_selinux_setcontext(in + if (!is_selinux_enabled()) + return; + +- xfstat(fd, &stbuf, argv[0]); ++ xfstat(fd, &stbuf, path); + if (S_ISREG(stbuf.st_mode)) { + security_context_t newcon; + security_context_t oldcon = NULL; |