mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
busybox: update upstream patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
30c2960896
commit
ccdabee30e
@ -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;
|
Loading…
x
Reference in New Issue
Block a user