From dcada87c5fbaefe66fcc5e1ae0e31f23d1abca22 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 22 Nov 2015 14:13:47 +0000 Subject: xfsprogs: activate format-security checks This patch was taken from upstream. Signed-off-by: Hauke Mehrtens git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47581 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/utils/xfsprogs/patches/110-uclibc_no_ustat.patch | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'package/utils/xfsprogs/patches/110-uclibc_no_ustat.patch') diff --git a/package/utils/xfsprogs/patches/110-uclibc_no_ustat.patch b/package/utils/xfsprogs/patches/110-uclibc_no_ustat.patch index 071dfc1aa8..5d5d08c8d6 100644 --- a/package/utils/xfsprogs/patches/110-uclibc_no_ustat.patch +++ b/package/utils/xfsprogs/patches/110-uclibc_no_ustat.patch @@ -4,8 +4,6 @@ Date: Thu Jan 26 00:36:42 2012 +0100 110-uclibc_no_ustat -diff --git a/libxfs/linux.c b/libxfs/linux.c -index 2e07d54..6a6c905 100644 --- a/libxfs/linux.c +++ b/libxfs/linux.c @@ -21,7 +21,6 @@ @@ -16,7 +14,7 @@ index 2e07d54..6a6c905 100644 #include #include #include -@@ -49,6 +51,7 @@ static int max_block_alignment; +@@ -49,6 +48,7 @@ static int max_block_alignment; int platform_check_ismounted(char *name, char *block, struct stat64 *s, int verbose) { @@ -24,7 +22,7 @@ index 2e07d54..6a6c905 100644 /* Pad ust; pre-2.6.28 linux copies out too much in 32bit compat mode */ struct ustat ust[2]; struct stat64 st; -@@ -68,6 +71,7 @@ platform_check_ismounted(char *name, char *block, struct stat64 *s, int verbose) +@@ -68,6 +68,7 @@ platform_check_ismounted(char *name, cha progname, name); return 1; } -- cgit v1.2.3