- 09 Aug, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 28 Jul, 2018 2 commits
-
-
Greg Kroah-Hartman authored
-
Arnd Bergmann authored
Starting with gcc-8.1, we get a warning about all system call definitions, which use an alias between functions with incompatible prototypes, e.g.: In file included from ../mm/process_vm_access.c:19: ../include/linux/syscalls.h:211:18: warning: 'sys_process_vm_readv' alias between functions of incompatible types 'long int(pid_t, const struct iovec *, long unsigned int, const struct iovec *, long unsigned int, long unsigned int)' {aka 'long int(int, const struct iovec *, long unsigned int, const struct iovec *, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int, long int, long int, long int)' [-Wattribute-alias] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~ ../include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ ../include/linux/syscalls.h:201:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ ../mm/process_vm_access.c:300:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(process_vm_readv, pid_t, pid, const struct iovec __user *, lvec, ^~~~~~~~~~~~~~~ ../include/linux/syscalls.h:215:18: note: aliased declaration here asmlinkage long SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~ ../include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ ../include/linux/syscalls.h:201:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ ../mm/process_vm_access.c:300:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(process_vm_readv, pid_t, pid, const struct iovec __user *, lvec, This is really noisy and does not indicate a real problem. In the latest mainline kernel, this was addressed by commit bee20031 ("disable -Wattribute-alias warning for SYSCALL_DEFINEx()"), which seems too invasive to backport. This takes a much simpler approach and just disables the warning across the kernel. Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 22 Jul, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 11 Jul, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 03 Jul, 2018 2 commits
-
-
Greg Kroah-Hartman authored
-
Jiri Olsa authored
commit 16671c1e upstream. Several fixes were needed to allow following builds: $ make tools/tmon $ make -C <kernelsrc> tools/perf $ make -C <kernelsrc>/tools perf - some of the tools (perf) use same make variables as in kernel build, unsetting srctree and objtree - using original $(O) for O variable - perf build does not follow the descend function setup invoking it via it's own make rule I tried the rest of the tools/Makefile targets and they seem to work now. Reported-by:
Brian Norris <computersforpeace@gmail.com> Signed-off-by:
Jiri Olsa <jolsa@kernel.org> Cc: Borislav Petkov <bp@suse.de> Cc: Brian Norris <computersforpeace@gmail.com> Cc: David Ahern <dsahern@gmail.com> Cc: David Howells <dhowells@redhat.com> Cc: Michal Marek <mmarek@suse.cz> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: linux-kbuild@vger.kernel.org Link: http://lkml.kernel.org/r/1429389280-18720-3-git-send-email-jolsa@kernel.org Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Guenter Roeck <linux@roeck-us.net> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 13 Jun, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 30 May, 2018 2 commits
-
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
- 25 May, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 16 May, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 02 May, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 29 Apr, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 24 Apr, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 13 Apr, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 10 Apr, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 08 Apr, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 24 Mar, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 22 Mar, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 18 Mar, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 11 Mar, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 03 Mar, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 28 Feb, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 25 Feb, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 16 Feb, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 07 Feb, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 31 Jan, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 17 Jan, 2018 1 commit
-
-
Greg Kroah-Hartman authored
-
- 02 Jan, 2018 2 commits
-
-
Greg Kroah-Hartman authored
-
Linus Torvalds authored
commit 3ce120b1 upstream. It appears that hardened gentoo enables "-fstack-check" by default for gcc. That doesn't work _at_all_ for the kernel, because the kernel stack doesn't act like a user stack at all: it's much smaller, and it doesn't auto-expand on use. So the extra "probe one page below the stack" code generated by -fstack-check just breaks the kernel in horrible ways, causing infinite double faults etc. [ I have to say, that the particular code gcc generates looks very stupid even for user space where it works, but that's a separate issue. ] Reported-and-tested-by:
Alexander Tsoy <alexander@tsoy.me> Reported-and-tested-by:
Toralf Förster <toralf.foerster@gmx.de> Cc: Dave Hansen <dave.hansen@intel.com> Cc: Jiri Kosina <jikos@kernel.org> Cc: Andy Lutomirski <luto@amacapital.net> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 25 Dec, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 20 Dec, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 16 Dec, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 09 Dec, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 05 Dec, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 30 Nov, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 24 Nov, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 21 Nov, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-
- 18 Nov, 2017 1 commit
-
-
Greg Kroah-Hartman authored
-