[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1447064069-21469-1-git-send-email-geert@linux-m68k.org>
Date: Mon, 9 Nov 2015 11:14:27 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Eric B Munson <emunson@...mai.com>,
Thierry Reding <treding@...dia.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Shuah Khan <shuahkh@....samsung.com>
Cc: linux-api@...r.kernel.org, linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: [PATCH 0/2] selftests/mlock2: Build warning fixes on Debian/m68k 4.0
Hi,
The following 2 patches are needed to fix build warnings on Debian/m68k
4.0.
However, after wiring up the mlock2 syscall, the test fails with:
# ./mlock2-tests
fread kpageflags: Success
#
as the fread() call returns 0, not 1.
The original commit description for the test said "Note that the limit
test needs to be run a normal user.". But running it as a non-root user
also fails:
$ ./mlock2-tests
fopen kpageflags: Permission denied
$ ls -l /proc/kpageflags
-r-------- 1 root root 0 Nov 9 11:05 /proc/kpageflags
$
What am I missing?
Thanks!
Geert Uytterhoeven (2):
selftests/mlock2: Add missing #define _GNU_SOURCE
selftests/mlock2: Add ULL prefix to 64-bit constants
tools/testing/selftests/vm/mlock2-tests.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--
1.9.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists