aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/xfsprogs/patches/110-uclibc_no_ustat.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2015-11-22 14:13:47 +0000
committerHauke Mehrtens <hauke@openwrt.org>2015-11-22 14:13:47 +0000
commitdcada87c5fbaefe66fcc5e1ae0e31f23d1abca22 (patch)
tree4c4c4917c971b116e323a8de91ce3e4b3fcb5fcf /package/utils/xfsprogs/patches/110-uclibc_no_ustat.patch
parente8db47db7b6562db7d05ee83dd421752a2d2ce57 (diff)
downloadmaster-187ad058-dcada87c5fbaefe66fcc5e1ae0e31f23d1abca22.tar.gz
master-187ad058-dcada87c5fbaefe66fcc5e1ae0e31f23d1abca22.tar.bz2
master-187ad058-dcada87c5fbaefe66fcc5e1ae0e31f23d1abca22.zip
xfsprogs: activate format-security checks
This patch was taken from upstream. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47581 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/utils/xfsprogs/patches/110-uclibc_no_ustat.patch')
-rw-r--r--package/utils/xfsprogs/patches/110-uclibc_no_ustat.patch6
1 files changed, 2 insertions, 4 deletions
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 <sys/mount.h>
#include <sys/ioctl.h>
#include <sys/sysinfo.h>
-@@ -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;
}