-commit 33e588f130c19cac089c2b0d70c939bee84ba812
+commit 7765cd90c911e58959451529995ea44b7a2271d6
Author: Brad Spengler <spender@grsecurity.net>
-Date: Fri Jun 17 20:15:46 2016 -0400
+Date: Thu Jul 7 07:12:54 2016 -0400
- Update KSTACKOVERFLOW dependency, update documentation
+ Compile fix reported by adminwset on the forums:
+ https://forums.grsecurity.net/viewtopic.php?t=4507&p=16420#p16420
- grsecurity/Kconfig | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-commit d877624a8034129afc61dcc0f6127d69ee7a08d5
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Wed Jun 15 06:28:18 2016 -0400
-
- Backport fix for http://seclists.org/oss-sec/2016/q2/553
-
- security/keys/key.c | 2 +-
+ fs/proc/task_mmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-commit 39c61be367e5f1e1e0a08592ab3b23e71779ac9f
-Merge: c63d655 66f9687
+commit c94fbc6f47fdae9a2dcf29d3048c8da8752dbbdf
Author: Brad Spengler <spender@grsecurity.net>
-Date: Tue Jun 14 18:19:37 2016 -0400
-
- Merge branch 'pax-test' into grsec-test
+Date: Wed Jul 6 21:11:33 2016 -0400
-commit 66f968756cfcc3ab040ad99deb570fb445108fb9
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Tue Jun 14 18:19:04 2016 -0400
-
- Update to pax-linux-4.5.5-test12.patch:
- - fixed a KERNEXEC regression when writing to /proc/sys/kernel/watchdog_cpumask, reported by shadowdaemon
- - Emese worked around a gcc induced intentional integer overflow in jfs that triggered a size overflow report, reported by g66 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4486)
- - Emese relicensed the size overflow plugin to GPLv2 only
- - Emese added size overflow coverage for vmnet in the hash tables, reported by Shawn <citypw@gmail.com>
- - Emese enhanced the latent entropy in various ways (https://github.com/ephox-gcc-plugins/latent_entropy/commits/master)
- - fixed pax_sanitize_slab=off for kmalloc and boot caches, by Mathias Krause <minipli@ld-linux.so>
- - eliminated the memory overhead of SLUB sanitization, by Mathias Krause <minipli@ld-linux.so>
-
- kernel/smpboot.c | 3 +
- mm/slab.c | 2 +
- mm/slab.h | 15 +
- mm/slab_common.c | 7 -
- mm/slob.c | 2 +
- mm/slub.c | 8 +-
- scripts/gcc-plugins/latent_entropy_plugin.c | 361 +++++++++++++++------
- .../disable_size_overflow_hash.data | 1 +
- .../insert_size_overflow_asm.c | 2 +-
- .../size_overflow_plugin/intentional_overflow.c | 2 +-
- .../size_overflow_plugin/remove_unnecessary_dup.c | 2 +-
- .../size_overflow_plugin/size_overflow_debug.c | 2 +-
- .../size_overflow_plugin/size_overflow_hash.data | 1 -
- .../size_overflow_hash_aux.data | 5 +
- .../size_overflow_plugin/size_overflow_ipa.c | 2 +-
- .../size_overflow_plugin/size_overflow_misc.c | 2 +-
- .../size_overflow_plugin/size_overflow_plugin.c | 2 +-
- .../size_overflow_plugin_hash.c | 2 +-
- .../size_overflow_plugin/size_overflow_transform.c | 2 +-
- .../size_overflow_transform_core.c | 2 +-
- 20 files changed, 310 insertions(+), 115 deletions(-)
-
-commit c63d655907910533ed9d50671e98774b4b797578
-Author: Tejun Heo <tj@kernel.org>
-Date: Wed May 25 11:48:25 2016 -0400
-
- percpu: fix synchronization between synchronous map extension and chunk destruction
-
- For non-atomic allocations, pcpu_alloc() can try to extend the area
- map synchronously after dropping pcpu_lock; however, the extension
- wasn't synchronized against chunk destruction and the chunk might get
- freed while extension is in progress.
-
- This patch fixes the bug by putting most of non-atomic allocations
- under pcpu_alloc_mutex to synchronize against pcpu_balance_work which
- is responsible for async chunk management including destruction.
-
- Signed-off-by: Tejun Heo <tj@kernel.org>
- Reported-and-tested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
- Reported-by: Vlastimil Babka <vbabka@suse.cz>
- Reported-by: Sasha Levin <sasha.levin@oracle.com>
- Cc: stable@vger.kernel.org # v3.18+
- Fixes: 1a4d76076cda ("percpu: implement asynchronous chunk population")
+ compile fix
- mm/percpu.c | 16 ++++++++--------
- 1 file changed, 8 insertions(+), 8 deletions(-)
+ arch/x86/mm/init_32.c | 1 -
+ 1 file changed, 1 deletion(-)
-commit 63442a31da7b33c5d6ab80254a2af78616b91aa8
-Author: Tejun Heo <tj@kernel.org>
-Date: Wed May 25 11:48:25 2016 -0400
+commit ee4f4cdd26864ac40ac22b4a3b88f284a6d057d0
+Author: Miklos Szeredi <mszeredi@redhat.com>
+Date: Wed Jun 29 16:03:55 2016 +0200
- percpu: fix synchronization between chunk->map_extend_work and chunk destruction
+ ovl: get_write_access() in truncate
- Atomic allocations can trigger async map extensions which is serviced
- by chunk->map_extend_work. pcpu_balance_work which is responsible for
- destroying idle chunks wasn't synchronizing properly against
- chunk->map_extend_work and may end up freeing the chunk while the work
- item is still in flight.
+ When truncating a file we should check write access on the underlying
+ inode. And we should do so on the lower file as well (before copy-up) for
+ consistency.
- This patch fixes the bug by rolling async map extension operations
- into pcpu_balance_work.
+ Original patch and test case by Aihua Zhang.
- Signed-off-by: Tejun Heo <tj@kernel.org>
- Reported-and-tested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
- Reported-by: Vlastimil Babka <vbabka@suse.cz>
- Reported-by: Sasha Levin <sasha.levin@oracle.com>
- Cc: stable@vger.kernel.org # v3.18+
- Fixes: 9c824b6a172c ("percpu: make sure chunk->map array has available space")
-
- mm/percpu.c | 57 ++++++++++++++++++++++++++++++++++++---------------------
- 1 file changed, 36 insertions(+), 21 deletions(-)
-
-commit 7187611ba0d834ec7db27904c0cdf07bc9bc7d8f
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sat Jun 11 19:54:40 2016 -0400
-
- Only bother establishing the PTEs for the vmap'd stack on creation
-
- fs/exec.c | 1 -
- include/linux/sched.h | 9 ++++-----
- kernel/fork.c | 3 ++-
- kernel/sched/core.c | 2 --
- 4 files changed, 6 insertions(+), 9 deletions(-)
-
-commit a6e150dfb383fcb4c8d5294c59f2d21425ff9f72
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sat Jun 11 13:18:33 2016 -0400
-
- Work around upstream's use of probe_kernel_address in alignment handling
- which uses KERNEL_DS but wants to access userland memory directly --
- not allowed by PaX. Reported by jotik
-
- arch/arm/mm/alignment.c | 24 ++++++++++++++++++++----
- 1 file changed, 20 insertions(+), 4 deletions(-)
-
-commit 1646af929d2465bc7a21a3c180de677e0b0b7950
-Author: Dave Chinner <dchinner@redhat.com>
-Date: Wed May 18 14:09:12 2016 +1000
-
- xfs: mark reclaimed inodes invalid earlier
-
- The last thing we do before using call_rcu() on an xfs_inode to be
- freed is mark it as invalid. This means there is a window between
- when we know for certain that the inode is going to be freed and
- when we do actually mark it as "freed".
-
- This is important in the context of RCU lookups - we can look up the
- inode, find that it is valid, and then use it as such not realising
- that it is in the final stages of being freed.
-
- As such, mark the inode as being invalid the moment we know it is
- going to be reclaimed. This can be done while we still hold the
- XFS_ILOCK_EXCL and the flush lock in xfs_inode_reclaim, meaning that
- it occurs well before we remove it from the radix tree, and that
- the i_flags_lock, the XFS_ILOCK and the inode flush lock all act as
- synchronisation points for detecting that an inode is about to go
- away.
-
- For defensive purposes, this allows us to add a further check to
- xfs_iflush_cluster to ensure we skip inodes that are being freed
- after we grab the XFS_ILOCK_SHARED and the flush lock - we know that
- if the inode number if valid while we have these locks held we know
- that it has not progressed through reclaim to the point where it is
- clean and is about to be freed.
-
- [bfoster: fixed __xfs_inode_clear_reclaim() using ip->i_ino after it
- had already been zeroed.]
-
- Signed-off-by: Dave Chinner <dchinner@redhat.com>
- Reviewed-by: Brian Foster <bfoster@redhat.com>
- Signed-off-by: Dave Chinner <david@fromorbit.com>
-
- fs/xfs/xfs_icache.c | 46 ++++++++++++++++++++++++++++++++++------------
- fs/xfs/xfs_inode.c | 13 +++++++++++++
- 2 files changed, 47 insertions(+), 12 deletions(-)
-
-commit 096f3d24e77f4cd8fe50008623b26c89cb00ccda
-Author: Dave Chinner <dchinner@redhat.com>
-Date: Wed May 18 14:01:53 2016 +1000
-
- xfs: xfs_inode_free() isn't RCU safe
-
- The xfs_inode freed in xfs_inode_free() has multiple allocated
- structures attached to it. We free these in xfs_inode_free() before
- we mark the inode as invalid, and before we run call_rcu() to queue
- the structure for freeing.
-
- Unfortunately, this freeing can race with other accesses that are in
- the RCU current grace period that have found the inode in the radix
- tree with a valid state. This includes xfs_iflush_cluster(), which
- calls xfs_inode_clean(), and that accesses the inode log item on the
- xfs_inode.
-
- The log item structure is freed in xfs_inode_free(), so there is the
- possibility we can be accessing freed memory in xfs_iflush_cluster()
- after validating the xfs_inode structure as being valid for this RCU
- context. Hence we can get spuriously incorrect clean state returned
- from such checks. This can lead to use thinking the inode is dirty
- when it is, in fact, clean, and so incorrectly attaching it to the
- buffer for IO and completion processing.
-
- This then leads to use-after-free situations on the xfs_inode itself
- if the IO completes after the current RCU grace period expires. The
- buffer callbacks will access the xfs_inode and try to do all sorts
- of things it shouldn't with freed memory.
-
- IOWs, xfs_iflush_cluster() only works correctly when racing with
- inode reclaim if the inode log item is present and correctly stating
- the inode is clean. If the inode is being freed, then reclaim has
- already made sure the inode is clean, and hence xfs_iflush_cluster
- can skip it. However, we are accessing the inode inode under RCU
- read lock protection and so also must ensure that all dynamically
- allocated memory we reference in this context is not freed until the
- RCU grace period expires.
-
- To fix this, move all the potential memory freeing into
- xfs_inode_free_callback() so that we are guarantee RCU protected
- lookup code will always have the memory structures it needs
- available during the RCU grace period that lookup races can occur
- in.
-
- Discovered-by: Brain Foster <bfoster@redhat.com>
- Signed-off-by: Dave Chinner <dchinner@redhat.com>
- Reviewed-by: Christoph Hellwig <hch@lst.de>
- Signed-off-by: Dave Chinner <david@fromorbit.com>
-
- fs/xfs/xfs_icache.c | 14 +++++++-------
- 1 file changed, 7 insertions(+), 7 deletions(-)
-
-commit eaec09dbc18fe0ae7905b33b4c819a467a0e801d
-Author: Jann Horn <jannh@google.com>
-Date: Wed Jun 1 11:55:07 2016 +0200
-
- sched: panic on corrupted stack end
-
- Until now, hitting this BUG_ON caused a recursive oops (because oops
- handling involves do_exit(), which calls into the scheduler, which in
- turn raises an oops), which caused stuff below the stack to be
- overwritten until a panic happened (e.g. via an oops in interrupt
- context, caused by the overwritten CPU index in the thread_info).
-
- Just panic directly.
-
- Signed-off-by: Jann Horn <jannh@google.com>
- Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
- kernel/sched/core.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-commit 96894afd3cbd735ed9230f058a32865dec270da2
-Author: Jann Horn <jannh@google.com>
-Date: Wed Jun 1 11:55:06 2016 +0200
-
- ecryptfs: forbid opening files without mmap handler
+ - - >o >o - - test.c - - >o >o - -
+ #include <stdio.h>
+ #include <errno.h>
+ #include <unistd.h>
- This prevents users from triggering a stack overflow through a recursive
- invocation of pagefault handling that involves mapping procfs files into
- virtual memory.
+ int main(int argc, char *argv[])
+ {
+ int ret;
- Signed-off-by: Jann Horn <jannh@google.com>
- Acked-by: Tyler Hicks <tyhicks@canonical.com>
- Cc: stable@vger.kernel.org
- Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
- fs/ecryptfs/kthread.c | 13 +++++++++++--
- 1 file changed, 11 insertions(+), 2 deletions(-)
-
-commit 06608cb36ab8329c7cf03fdabc86fb7f64a2656d
-Author: Jann Horn <jannh@google.com>
-Date: Wed Jun 1 11:55:05 2016 +0200
-
- proc: prevent stacking filesystems on top
-
- This prevents stacking filesystems (ecryptfs and overlayfs) from using
- procfs as lower filesystem. There is too much magic going on inside
- procfs, and there is no good reason to stack stuff on top of procfs.
+ ret = truncate(argv[0], 4096);
+ if (ret != -1) {
+ fprintf(stderr, "truncate(argv[0]) should have failed\n");
+ return 1;
+ }
+ if (errno != ETXTBSY) {
+ perror("truncate(argv[0])");
+ return 1;
+ }
- (For example, procfs does access checks in VFS open handlers, and
- ecryptfs by design calls open handlers from a kernel thread that doesn't
- drop privileges or so.)
+ return 0;
+ }
+ - - >o >o - - >o >o - - >o >o - -
- Signed-off-by: Jann Horn <jannh@google.com>
- Cc: stable@vger.kernel.org
- Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
+ Reported-by: Aihua Zhang <zhangaihua1@huawei.com>
+ Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
+ Cc: <stable@vger.kernel.org>
- fs/proc/root.c | 7 +++++++
- 1 file changed, 7 insertions(+)
+ fs/overlayfs/inode.c | 21 +++++++++++++++++++++
+ 1 file changed, 21 insertions(+)
-commit 7cff8ffababda8d77e7e3a3f2621b26269279b9a
-Author: Al Viro <viro@zeniv.linux.org.uk>
-Date: Wed May 4 14:04:13 2016 -0400
+commit 4585d082282707fbe91025c987bd8cef4152196d
+Author: Vivek Goyal <vgoyal@redhat.com>
+Date: Fri Jul 1 10:02:44 2016 -0400
- ecryptfs: fix handling of directory opening
+ ovl: warn instead of error if d_type is not supported
- First of all, trying to open them r/w is idiocy; it's guaranteed to fail.
- Moreover, assigning ->f_pos and assuming that everything will work is
- blatantly broken - try that with e.g. tmpfs as underlying layer and watch
- the fireworks. There may be a non-trivial amount of state associated with
- current IO position, well beyond the numeric offset. Using the single
- struct file associated with underlying inode is really not a good idea;
- we ought to open one for each ecryptfs directory struct file.
+ overlay needs underlying fs to support d_type. Recently I put in a
+ patch in to detect this condition and started failing mount if
+ underlying fs did not support d_type.
- Additionally, file_operations both for directories and non-directories are
- full of pointless methods; non-directories should *not* have ->iterate(),
- directories should not have ->flush(), ->fasync() and ->splice_read().
+ But this breaks existing configurations over kernel upgrade. Those who
+ are running docker (partially broken configuration) with xfs not
+ supporting d_type, are surprised that after kernel upgrade docker does
+ not run anymore.
- Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-
- fs/ecryptfs/file.c | 71 ++++++++++++++++++++++++++++++++++++++++++------------
- 1 file changed, 55 insertions(+), 16 deletions(-)
-
-commit b690dcd62ad1433e69d391a267ce01534c19d20a
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Wed Jun 8 20:59:28 2016 -0400
-
- fix compiler warnings
-
- fs/exec.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-commit 5d43ec1fb9c94f0c2644e0d09a8257442134a0ce
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Wed Jun 8 20:52:00 2016 -0400
-
- Avoid some UB
-
- fs/exec.c | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-commit d34347de1cae1f7bd8ea4223d5baca5da8ea4529
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Wed Jun 8 20:23:27 2016 -0400
-
- compile fix
-
- kernel/smpboot.c | 1 +
- 1 file changed, 1 insertion(+)
-
-commit 4dfdd6b803d58fec94306a4ff437d500a9c80908
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Wed Jun 8 20:13:34 2016 -0400
-
- Add open/close around cpumask modification, reported by shadowdaemon
- Triggered by writing to /proc/sys/kernel/watchdog_cpumask
-
- kernel/smpboot.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-commit 1ee24693e22a535dbede927beba7b90cd8559eb4
-Merge: 11150b9 dec4686
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Wed Jun 8 07:39:26 2016 -0400
-
- Merge branch 'pax-test' into grsec-test
-
-commit dec468678ead461fc786adfbb2505b6ef66a371a
-Merge: 85a5882 8c596d1
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Wed Jun 8 07:39:18 2016 -0400
-
- Merge branch 'linux-4.5.y' into pax-test
-
-commit 11150b92c4cd78ec6a22ad0ff682faf2354b4445
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sun Jun 5 14:18:34 2016 -0400
-
- compile fix
-
- grsecurity/grsec_tpe.c | 4 ++--
- include/linux/uidgid.h | 1 +
- 2 files changed, 3 insertions(+), 2 deletions(-)
-
-commit 6e548aad3425733ed443e4a3232205935f0d4939
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sun Jun 5 08:19:09 2016 -0400
-
- Workaround some Debian bike-shedding so that group-writable /bin dirs
- (with group ownership of root) don't trigger TPE violations
- Reported by jvoisin
-
- grsecurity/grsec_tpe.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-commit 735ea2028ce017246358d22ec81dc6db73499770
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sun Jun 5 04:23:15 2016 -0400
-
- move another instance of is_privileged_binary outside of atomic
-
- grsecurity/gracl_segv.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-commit e08a7bcc7b7a1e423b5346bcef85d9a92185f65f
-Merge: d094457 85a5882
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sun Jun 5 04:09:29 2016 -0400
-
- Merge branch 'pax-test' into grsec-test
-
-commit 85a588299f41d6a116b8d07d902de986968a84b0
-Merge: 89f00c3 ec2a755
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sun Jun 5 04:08:42 2016 -0400
-
- Merge branch 'linux-4.5.y' into pax-test
-
-commit d094457eb90a693f7007b7f4b26c2132137c7ed2
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Mon May 30 10:15:11 2016 -0400
-
- move privilege/xattr check outside of locks to prevent warning, reported by shadowdaemon
-
- grsecurity/grsec_sig.c | 7 +++++--
- 1 file changed, 5 insertions(+), 2 deletions(-)
-
-commit 2fad2bb3392409d98498b3af53cf39f2475e4b70
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sun May 29 10:11:27 2016 -0400
-
- Fix another harmless warning
-
- fs/proc/proc_sysctl.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-commit d62f996e40c87e46b20f45e16819f92d49f3e926
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sun May 29 09:56:32 2016 -0400
-
- Fix more harmless compiler warnings
-
- grsecurity/gracl_policy.c | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-commit 558b784a2b87e337d12bae07d60f435c2f06d849
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sun May 29 09:47:50 2016 -0400
-
- Fix more harmless warnings
-
- grsecurity/gracl.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-commit 32ec63339ab130758e6941d7f1d8993e41956980
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sun May 29 09:41:23 2016 -0400
-
- Fix another warning
-
- include/linux/sched.h | 1 +
- 1 file changed, 1 insertion(+)
-
-commit 789369de0dbde1fedd2d5cb0ee3474e160af187c
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sun May 29 09:22:05 2016 -0400
-
- Fix some harmless compiler warnings
-
- grsecurity/grsum.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-commit ed18543a205c206d0aa8ee6b04c606579823b7b3
-Merge: b0b4143 89f00c3
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sun May 29 08:34:18 2016 -0400
-
- Merge branch 'pax-test' into grsec-test
-
-commit 89f00c3b596a62ae5bcfe4920e9d05b9a94be7fa
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sun May 29 08:26:37 2016 -0400
-
- Update to pax-linux-4.5.5-test11.patch:
- - fixed arm kuser helper emulation for thumb mode userland, reported by Wizzup(https://forums.grsecurity.net/viewtopic.php?f=3&t=4479)
- - fixed incorrect function pointer casts in bcache caught by RAP, reported by torsten (https://forums.grsecurity.net/viewtopic.php?f=3&t=4482)
- - worked around a few intentional integer underflows in the xhci driver caught by the size overflow plugin, reported by Dennis Wassenberg <dennis.wassenberg@secunet.com>
- - moved gcc plugins from tools/gcc to scripts/gcc-plugins and simplified the plugin build system, by Emese
- - changed the constify and latent entropy plugins to use a consistent command line switch for compile-time disabling
- - cleaned up a few unusued macros, whitespace, inline asm constraints, etc
- - hid the lvalue casts needed for constify behind the const_cast macro, by Mathias Krause <minipli@ld-linux.so>
-
- Makefile | 50 +-
- arch/Kconfig | 14 +
- arch/arm/Kconfig | 1 +
- arch/arm/boot/compressed/Makefile | 2 +
- arch/arm/mach-exynos/suspend.c | 4 +-
- arch/arm/mach-omap2/powerdomains43xx_data.c | 2 +-
- arch/arm/mach-shmobile/platsmp-apmu.c | 2 +-
- arch/arm/mm/fault.c | 14 +
- arch/arm64/Kconfig | 1 +
- arch/mips/Kconfig | 1 +
- arch/powerpc/Kconfig | 1 +
- arch/powerpc/include/asm/atomic.h | 7 +-
- arch/powerpc/kernel/Makefile | 8 +-
- arch/sparc/Kconfig | 1 +
- arch/um/Makefile | 4 +-
- arch/x86/Kconfig | 1 +
- arch/x86/boot/Makefile | 3 -
- arch/x86/boot/compressed/Makefile | 3 -
- arch/x86/entry/common.c | 2 +-
- arch/x86/include/asm/thread_info.h | 27 -
- arch/x86/kernel/cpu/perf_event_intel_cqm.c | 2 +-
- arch/x86/kernel/cpu/perf_event_intel_pt.c | 10 +-
- arch/x86/kernel/i8259.c | 4 +-
- arch/x86/kernel/paravirt-spinlocks.c | 2 +-
- arch/x86/oprofile/nmi_int.c | 2 +-
- arch/x86/oprofile/op_model_amd.c | 6 +-
- arch/x86/oprofile/op_model_ppro.c | 4 +-
- arch/x86/pci/vmd.c | 2 +-
- arch/x86/realmode/rm/Makefile | 3 -
- drivers/acpi/bgrt.c | 4 +-
- drivers/ata/libata-core.c | 2 +-
- drivers/ata/pata_arasan_cf.c | 2 +-
- drivers/base/platform-msi.c | 14 +-
- drivers/base/power/domain.c | 4 +-
- drivers/bus/arm-cci.c | 6 +-
- drivers/cdrom/cdrom.c | 2 +-
- drivers/clk/socfpga/clk-gate.c | 4 +-
- drivers/clk/socfpga/clk-pll.c | 4 +-
- drivers/clk/ti/clk.c | 4 +-
- drivers/cpufreq/acpi-cpufreq.c | 8 +-
- drivers/cpufreq/cpufreq-dt.c | 2 +-
- drivers/cpufreq/cpufreq.c | 8 +-
- drivers/cpufreq/cpufreq_ondemand.c | 4 +-
- drivers/cpufreq/p4-clockmod.c | 6 +-
- drivers/cpufreq/speedstep-centrino.c | 2 +-
- drivers/firmware/dmi_scan.c | 8 +-
- drivers/firmware/efi/efi.c | 10 +-
- drivers/firmware/google/memconsole.c | 2 +-
- drivers/gpio/gpiolib.c | 8 +-
- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +-
- drivers/gpu/drm/i810/i810_drv.c | 2 +-
- drivers/gpu/drm/i915/i915_irq.c | 86 +-
- drivers/gpu/drm/i915/intel_display.c | 6 +-
- drivers/gpu/drm/mga/mga_drv.c | 2 +-
- drivers/gpu/drm/omapdrm/dss/display.c | 6 +-
- drivers/gpu/drm/qxl/qxl_drv.c | 2 +-
- drivers/gpu/drm/qxl/qxl_ttm.c | 4 +-
- drivers/gpu/drm/r128/r128_drv.c | 2 +-
- drivers/gpu/drm/radeon/radeon_drv.c | 2 +-
- drivers/gpu/drm/savage/savage_drv.c | 2 +-
- drivers/gpu/drm/sis/sis_drv.c | 2 +-
- drivers/gpu/drm/tegra/dc.c | 2 +-
- drivers/gpu/drm/tegra/sor.c | 2 +-
- drivers/gpu/drm/via/via_drv.c | 2 +-
- drivers/idle/intel_idle.c | 4 +-
- drivers/infiniband/hw/qib/qib.h | 1 -
- drivers/iommu/arm-smmu.c | 4 +-
- drivers/isdn/hardware/eicon/mntfunc.c | 2 +-
- drivers/md/bcache/btree.c | 11 +-
- drivers/md/bcache/closure.c | 4 +-
- drivers/md/bcache/closure.h | 8 +-
- drivers/md/bcache/journal.c | 16 +-
- drivers/md/bcache/movinggc.c | 12 +-
- drivers/md/bcache/request.c | 54 +-
- drivers/md/bcache/request.h | 2 +-
- drivers/md/bcache/super.c | 30 +-
- drivers/md/bcache/writeback.c | 12 +-
- drivers/media/platform/am437x/am437x-vpfe.c | 2 +-
- drivers/mfd/twl4030-irq.c | 4 +-
- drivers/misc/c2port/core.c | 2 +-
- drivers/misc/mic/scif/scif_api.c | 8 +-
- drivers/mmc/host/mmci.c | 2 +-
- drivers/mmc/host/omap_hsmmc.c | 2 +-
- drivers/mmc/host/sdhci-esdhc-imx.c | 2 +-
- drivers/mmc/host/sdhci-s3c.c | 6 +-
- drivers/net/ethernet/cavium/liquidio/lio_main.c | 2 +-
- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 4 +-
- .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 2 +-
- .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 6 +-
- drivers/net/macvlan.c | 14 +-
- drivers/net/wireless/ath/ath9k/main.c | 20 +-
- drivers/net/wireless/intel/iwlegacy/3945-mac.c | 2 +-
- drivers/net/wireless/mac80211_hwsim.c | 22 +-
- drivers/net/wireless/ti/wl1251/sdio.c | 8 +-
- drivers/net/wireless/ti/wl12xx/main.c | 4 +-
- drivers/net/wireless/ti/wl18xx/main.c | 4 +-
- drivers/of/fdt.c | 2 +-
- drivers/pci/hotplug/acpiphp_ibm.c | 2 +-
- drivers/pci/hotplug/cpcihp_zt5550.c | 6 +-
- drivers/pci/hotplug/pci_hotplug_core.c | 4 +-
- drivers/pci/msi.c | 12 +-
- drivers/pinctrl/pinctrl-at91.c | 2 +-
- drivers/platform/x86/msi-laptop.c | 12 +-
- drivers/power/reset/at91-reset.c | 2 +-
- drivers/powercap/powercap_sys.c | 6 +-
- drivers/regulator/max8660.c | 4 +-
- drivers/regulator/max8973-regulator.c | 12 +-
- drivers/regulator/mc13892-regulator.c | 4 +-
- drivers/rtc/rtc-armada38x.c | 4 +-
- drivers/rtc/rtc-cmos.c | 2 +-
- drivers/rtc/rtc-m48t59.c | 2 +-
- drivers/rtc/rtc-rx8010.c | 6 +-
- drivers/rtc/rtc-test.c | 4 +-
- drivers/scsi/aacraid/aachba.c | 4 +-
- drivers/scsi/lpfc/lpfc_init.c | 4 +-
- drivers/scsi/qla2xxx/qla_os.c | 4 +-
- drivers/staging/sm750fb/sm750.c | 8 +-
- drivers/thermal/cpu_cooling.c | 6 +-
- drivers/thermal/int340x_thermal/int3400_thermal.c | 4 +-
- drivers/thermal/of-thermal.c | 12 +-
- drivers/tty/pty.c | 2 +-
- drivers/tty/serial/8250/8250_core.c | 6 +-
- drivers/tty/serial/kgdb_nmi.c | 2 +-
- drivers/usb/host/xhci-ring.c | 52 +-
- drivers/video/fbdev/aty/atyfb_base.c | 4 +-
- drivers/video/fbdev/aty/mach64_cursor.c | 2 +-
- drivers/video/fbdev/core/fb_defio.c | 6 +-
- drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 12 +-
- drivers/video/fbdev/nvidia/nvidia.c | 18 +-
- drivers/video/fbdev/omap2/omapfb/dss/display.c | 6 +-
- drivers/video/fbdev/s1d13xxxfb.c | 4 +-
- drivers/video/fbdev/smscufx.c | 2 +-
- drivers/video/fbdev/udlfb.c | 2 +-
- drivers/video/fbdev/uvesafb.c | 4 +-
- drivers/video/fbdev/vesafb.c | 2 +-
- fs/fuse/cuse.c | 6 +-
- fs/jffs2/file.c | 2 +-
- fs/nls/nls_base.c | 4 +-
- fs/nls/nls_euc-jp.c | 4 +-
- fs/nls/nls_koi8-ru.c | 4 +-
- fs/proc/proc_sysctl.c | 4 +-
- fs/tracefs/inode.c | 4 +-
- include/linux/compiler-gcc.h | 1 +
- include/linux/compiler.h | 4 +
- include/linux/seq_buf.h | 2 +-
- include/linux/sysfs.h | 2 +-
- kernel/cgroup.c | 14 +-
- kernel/irq/msi.c | 12 +-
- kernel/notifier.c | 4 +-
- kernel/pid.c | 2 +-
- kernel/trace/trace_output.c | 8 +-
- net/core/rtnetlink.c | 2 +-
- net/xfrm/xfrm_state.c | 2 +-
- scripts/Makefile | 1 +
- scripts/Makefile.gcc-plugins | 138 +-
- scripts/Makefile.host | 6 +-
- scripts/gcc-plugin.sh | 4 +-
- scripts/gcc-plugins/Makefile | 45 +
- scripts/gcc-plugins/checker_plugin.c | 496 +
- scripts/gcc-plugins/colorize_plugin.c | 162 +
- scripts/gcc-plugins/constify_plugin.c | 521 +
- scripts/gcc-plugins/gcc-common.h | 879 +
- scripts/gcc-plugins/gcc-generate-gimple-pass.h | 175 +
- scripts/gcc-plugins/gcc-generate-ipa-pass.h | 289 +
- scripts/gcc-plugins/gcc-generate-rtl-pass.h | 175 +
- scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | 175 +
- scripts/gcc-plugins/initify_plugin.c | 536 +
- scripts/gcc-plugins/kallocstat_plugin.c | 135 +
- scripts/gcc-plugins/kernexec_plugin.c | 407 +
- scripts/gcc-plugins/latent_entropy_plugin.c | 438 +
- scripts/gcc-plugins/rap_plugin/Makefile | 4 +
- scripts/gcc-plugins/rap_plugin/rap.h | 36 +
- scripts/gcc-plugins/rap_plugin/rap_fptr_pass.c | 220 +
- scripts/gcc-plugins/rap_plugin/rap_hash.c | 382 +
- scripts/gcc-plugins/rap_plugin/rap_plugin.c | 511 +
- scripts/gcc-plugins/rap_plugin/sip.c | 96 +
- .../gcc-plugins/size_overflow_plugin/.gitignore | 3 +
- scripts/gcc-plugins/size_overflow_plugin/Makefile | 28 +
- .../disable_size_overflow_hash.data | 12444 +++++++++++
- .../generate_size_overflow_hash.sh | 103 +
- .../insert_size_overflow_asm.c | 369 +
- .../size_overflow_plugin/intentional_overflow.c | 1166 +
- .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
- .../size_overflow_plugin/size_overflow.h | 331 +
- .../size_overflow_plugin/size_overflow_debug.c | 194 +
- .../size_overflow_plugin/size_overflow_hash.data | 21504 +++++++++++++++++++
- .../size_overflow_hash_aux.data | 92 +
- .../size_overflow_plugin/size_overflow_ipa.c | 1163 +
- .../size_overflow_plugin/size_overflow_misc.c | 505 +
- .../size_overflow_plugin/size_overflow_plugin.c | 290 +
- .../size_overflow_plugin_hash.c | 352 +
- .../size_overflow_plugin/size_overflow_transform.c | 743 +
- .../size_overflow_transform_core.c | 1025 +
- scripts/gcc-plugins/stackleak_plugin.c | 350 +
- scripts/gcc-plugins/structleak_plugin.c | 239 +
- scripts/package/builddeb | 2 +-
- security/Kconfig | 8 +-
- sound/soc/codecs/sti-sas.c | 8 +-
- sound/soc/soc-ac97.c | 4 +-
- tools/gcc/Makefile | 46 -
- tools/gcc/checker_plugin.c | 496 -
- tools/gcc/colorize_plugin.c | 162 -
- tools/gcc/constify_plugin.c | 521 -
- tools/gcc/gcc-common.h | 879 -
- tools/gcc/gcc-generate-gimple-pass.h | 175 -
- tools/gcc/gcc-generate-ipa-pass.h | 289 -
- tools/gcc/gcc-generate-rtl-pass.h | 175 -
- tools/gcc/gcc-generate-simple_ipa-pass.h | 175 -
- tools/gcc/initify_plugin.c | 536 -
- tools/gcc/kallocstat_plugin.c | 135 -
- tools/gcc/kernexec_plugin.c | 407 -
- tools/gcc/latent_entropy_plugin.c | 422 -
- tools/gcc/rap_plugin/Makefile | 4 -
- tools/gcc/rap_plugin/rap.h | 36 -
- tools/gcc/rap_plugin/rap_fptr_pass.c | 220 -
- tools/gcc/rap_plugin/rap_hash.c | 382 -
- tools/gcc/rap_plugin/rap_plugin.c | 511 -
- tools/gcc/rap_plugin/sip.c | 96 -
- tools/gcc/size_overflow_plugin/.gitignore | 3 -
- tools/gcc/size_overflow_plugin/Makefile | 28 -
- .../disable_size_overflow_hash.data | 12444 -----------
- .../generate_size_overflow_hash.sh | 103 -
- .../insert_size_overflow_asm.c | 369 -
- .../size_overflow_plugin/intentional_overflow.c | 1166 -
- .../size_overflow_plugin/remove_unnecessary_dup.c | 137 -
- tools/gcc/size_overflow_plugin/size_overflow.h | 331 -
- .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 -
- .../size_overflow_plugin/size_overflow_hash.data | 21504 -------------------
- .../size_overflow_hash_aux.data | 92 -
- tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1163 -
- .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 -
- .../size_overflow_plugin/size_overflow_plugin.c | 290 -
- .../size_overflow_plugin_hash.c | 352 -
- .../size_overflow_plugin/size_overflow_transform.c | 743 -
- .../size_overflow_transform_core.c | 1025 -
- tools/gcc/stackleak_plugin.c | 350 -
- tools/gcc/structleak_plugin.c | 239 -
- 237 files changed, 47340 insertions(+), 47276 deletions(-)
-
-commit b0b41430a8c9e6e5067c896c07d361e527e298e8
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sat May 21 13:59:19 2016 -0400
-
- Fix gcc assert properly, from Emese Revfy
-
- tools/gcc/size_overflow_plugin/intentional_overflow.c | 2 +-
- tools/gcc/size_overflow_plugin/size_overflow_plugin.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-commit 5e7a47f06420603b0f26f1b45fe2ab02838795c9
-Merge: f844209 5929595
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Fri May 20 20:19:27 2016 -0400
-
- Merge branch 'pax-test' into grsec-test
-
-commit 5929595ec558e9282901842bdf9e4a981751fb08
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Fri May 20 20:18:58 2016 -0400
-
- Update to pax-linux-4.5.5-test9.patch:
- - fixed a few more incorrect fptr casts for RAP
-
- arch/x86/math-emu/fpu_etc.c | 9 +++++++--
- arch/x86/math-emu/fpu_trig.c | 13 +++++++++----
- arch/x86/math-emu/reg_constant.c | 7 ++++++-
- drivers/isdn/hisax/hfc_2bds0.c | 4 ++--
- drivers/isdn/hisax/hfcscard.c | 6 ++++--
- drivers/isdn/hisax/saphir.c | 5 +++--
- drivers/isdn/hisax/teleint.c | 5 +++--
- drivers/media/pci/sta2x11/sta2x11_vip.c | 5 +++--
- drivers/net/hamradio/baycom_epp.c | 2 +-
- 9 files changed, 38 insertions(+), 18 deletions(-)
-
-commit f84420916698cdf33a81f046206d050e2c3e6966
-Merge: fa18ce2 445754e
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Fri May 20 18:52:20 2016 -0400
-
- Merge branch 'pax-test' into grsec-test
-
-commit 445754e5717176c2b3431a0cde1e90df51cc43e2
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Fri May 20 18:51:52 2016 -0400
-
- Update to pax-linux-4.5.4-test8.patch:
- - fixed a USERCOPY report in the mwifiex driver, by Dennis Wassenberg <dennis.wassenberg@secunet.com> and Mathias Krause <minipli@ld-linux.so>
-
- drivers/net/wireless/marvell/mwifiex/11n_aggr.c | 2 +-
- drivers/net/wireless/marvell/mwifiex/pcie.c | 4 ++--
- drivers/net/wireless/marvell/mwifiex/sdio.c | 10 ++++------
- 3 files changed, 7 insertions(+), 9 deletions(-)
-
-commit fa18ce2d37a92442162fb72b8f85ee86120ffacb
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Thu May 19 18:30:08 2016 -0400
-
- Update size_overflow hash, from Dr. Toth
-
- tools/gcc/size_overflow_plugin/size_overflow_hash.data | 1 +
- 1 file changed, 1 insertion(+)
-
-commit 61c487965dbc34618fe292663759d6fa0515bcad
-Merge: fbc84d2 a734dbd
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Thu May 19 06:26:52 2016 -0400
-
- Merge branch 'pax-test' into grsec-test
-
-commit a734dbda8b785c38baa1858df2bffc89b45d070a
-Merge: 238dfca 3b41b7e
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Thu May 19 06:24:25 2016 -0400
-
- Merge branch 'linux-4.5.y' into pax-test
-
-commit fbc84d202d311b4dc09bcc922678df60b6e76614
-Merge: 84fa82c 238dfca
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Fri May 13 18:00:06 2016 -0400
-
- Merge branch 'pax-test' into grsec-test
-
-commit 238dfca3ffe87f4410e67c8ceb554b9ce4f3132b
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Fri May 13 17:59:42 2016 -0400
-
- Compile fix for older gcc
-
- tools/gcc/size_overflow_plugin/intentional_overflow.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-commit 84fa82c59fa5051e1485a3dcc857b87b70dbc18d
-Merge: 2cece8e 4654023
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Fri May 13 17:31:49 2016 -0400
-
- Merge branch 'pax-test' into grsec-test
-
-commit 4654023e72b0834142594eee879e657664498443
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Fri May 13 17:29:38 2016 -0400
-
- Update to pax-linux-4.5.4-test7.patch:
- - changed the RAP hash emission code to accomodate x86 disassemblers, suggested by Mathias Krause <minipli@ld-linux.so>
- - fixed a few size overflow false positives in JFS due to the lack of endian conversion macros for signed types, reported by ryonaloli via hunger
- - fixed a compiler assert triggered by the size overflow plugin
-
- tools/gcc/rap_plugin/rap_plugin.c | 39 ++++++++++++++++++----
- .../disable_size_overflow_hash.data | 3 ++
- .../size_overflow_plugin/intentional_overflow.c | 2 +-
- .../size_overflow_plugin/size_overflow_hash.data | 3 --
- 4 files changed, 36 insertions(+), 11 deletions(-)
-
-commit 2cece8e8e0e2fce9943345c0ebebd7436929868e
-Merge: 6df0471 ea68d2e
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Thu May 12 18:41:15 2016 -0400
-
- Merge branch 'pax-test' into grsec-test
-
-commit ea68d2e7123a83aba24db99d5ef487b1397fd6d0
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Thu May 12 18:40:50 2016 -0400
-
- Update to pax-linux-4.5.3-test6.patch:
- - really fixed https://forums.grsecurity.net/viewtopic.php?f=3&t=4473
- - the nfsd_proc_read fix for RAP had a typo causing an oops, reported by Carlos Carvalho (https://forums.grsecurity.net/viewtopic.php?f=3&t=4471)
- - fixed a few format string warnings in the RAP hash emission code, reported by Dwokfur
+ https://github.com/docker/docker/issues/22937#issuecomment-229881315
+
+ So instead of erroring out, detect broken configuration and warn
+ about it. This should allow existing docker setups to continue
+ working after kernel upgrade.
+
+ Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
+ Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
+ Fixes: 45aebeaf4f67 ("ovl: Ensure upper filesystem supports d_type")
+ Cc: <stable@vger.kernel.org> 4.6
- drivers/net/ppp/pptp.c | 1 -
- fs/nfsd/nfsproc.c | 2 +-
- tools/gcc/rap_plugin/rap_fptr_pass.c | 2 +-
- tools/gcc/rap_plugin/rap_plugin.c | 14 ++++++++++----
- 4 files changed, 12 insertions(+), 7 deletions(-)
+ fs/overlayfs/super.c | 12 +++++++-----
+ 1 file changed, 7 insertions(+), 5 deletions(-)
-commit 6df04719a7cf4d3f60c9e6190f8eb4b986ce2b1b
-Author: David Howells <dhowells@redhat.com>
-Date: Tue Feb 23 11:03:12 2016 +0000
+commit 97bb95801d1ce86dafd1a59483803aba5b93e7c0
+Author: Randy Dunlap <rdunlap@infradead.org>
+Date: Wed Jul 6 16:06:53 2016 -0700
- KEYS: Fix ASN.1 indefinite length object parsing
-
- This fixes CVE-2016-0758.
-
- In the ASN.1 decoder, when the length field of an ASN.1 value is extracted,
- it isn't validated against the remaining amount of data before being added
- to the cursor. With a sufficiently large size indicated, the check:
-
- datalen - dp < 2
+ init/Kconfig: keep Expert users menu together
- may then fail due to integer overflow.
+ The "expert" menu was broken (split) such that all entries in it after
+ KALLSYMS were displayed in the "General setup" area instead of in the
+ "Expert users" area. Fix this by adding one kconfig dependency.
- Fix this by checking the length indicated against the amount of remaining
- data in both places a definite length is determined.
+ Yes, the Expert users menu is fragile. Problems like this have happened
+ several times in the past. I will attempt to isolate the Expert users
+ menu if there is interest in that.
- Whilst we're at it, make the following changes:
-
- (1) Check the maximum size of extended length does not exceed the capacity
- of the variable it's being stored in (len) rather than the type that
- variable is assumed to be (size_t).
-
- (2) Compare the EOC tag to the symbolic constant ASN1_EOC rather than the
- integer 0.
-
- (3) To reduce confusion, move the initialisation of len outside of:
-
- for (len = 0; n > 0; n--) {
-
- since it doesn't have anything to do with the loop counter n.
-
- Signed-off-by: David Howells <dhowells@redhat.com>
- Reviewed-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
- Acked-by: David Woodhouse <David.Woodhouse@intel.com>
- Acked-by: Peter Jones <pjones@redhat.com>
-
- lib/asn1_decoder.c | 16 +++++++++-------
- 1 file changed, 9 insertions(+), 7 deletions(-)
-
-commit acb6cef8047476b8afc3ff3f07286b9e36de1b77
-Merge: 735f14a a7c9bec
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Wed May 11 17:05:21 2016 -0400
-
- Merge branch 'pax-test' into grsec-test
-
-commit a7c9bec57dea73ceee1246a64df55038ea840be9
-Merge: f5bd134 a29ab35
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Wed May 11 17:04:48 2016 -0400
-
- Merge branch 'linux-4.5.y' into pax-test
-
-commit 735f14a2b5562cd1329b263a81781d59dacffd3e
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Wed May 11 06:57:40 2016 -0400
-
- Fix typo in nfsd RAP changes causing oops reported by Carlos Carvalho
- at: https://forums.grsecurity.net/viewtopic.php?f=3&t=4471
-
- fs/nfsd/nfsproc.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-commit 35e1e615072d0bb885b38ee1b2ada7a0a6a91f9d
-Merge: 9e3e5ae3e f5bd134
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Tue May 10 20:56:54 2016 -0400
-
- Merge branch 'pax-test' into grsec-test
-
-commit f5bd1342fa631bb3b69a2e8919785c827c4edf74
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Tue May 10 20:55:57 2016 -0400
-
- Update to pax-linux-4.5.3-test5.patch:
- - marked all indirectly callable x86 asm crypto functions, reported by Dwokfur and minipli (https://forums.grsecurity.net/viewtopic.php?f=3&t=4468)
- - worked around an intentional integer overflow introduced by gcc-6 that triggered a size overflow false positive, reported by hooruD, chron and Fen (https://forums.grsecurity.net/viewtopic.php?f=3&t=4469)
- - made some preparations for enabling RAP on i386 as well, will have to wait due to KERNEXEC
-
- arch/x86/crypto/aesni-intel_asm.S | 6 +++---
- arch/x86/crypto/sha-mb/sha1_mb_mgr_flush_avx2.S | 4 ++--
- arch/x86/crypto/sha-mb/sha1_mb_mgr_submit_avx2.S | 2 +-
- arch/x86/crypto/sha256_ni_asm.S | 2 +-
- arch/x86/crypto/twofish-i586-asm_32.S | 2 +-
- arch/x86/entry/common.c | 1 -
- include/linux/linkage.h | 22 +++++++++++++++-------
- tools/gcc/rap_plugin/rap_fptr_pass.c | 2 +-
- tools/gcc/rap_plugin/rap_hash.c | 1 +
- tools/gcc/rap_plugin/rap_plugin.c | 18 +++++++++---------
- .../disable_size_overflow_hash.data | 1 +
- .../size_overflow_plugin/size_overflow_hash.data | 1 -
- 12 files changed, 35 insertions(+), 27 deletions(-)
-
-commit 9e3e5ae3e9ed69452d4133490dd1831376b9a1e8
-Merge: e5983fd cfcaa03
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sun May 8 08:04:18 2016 -0400
-
- Merge branch 'pax-test' into grsec-test
-
-commit cfcaa036dd3756fc32e083a7c486c1143d93fd22
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sun May 8 08:03:53 2016 -0400
-
- Update to pax-linux-4.5.3-test4.patch:
- - fixed a few incorrect function types (mostly start_xmit callbacks) found by RAP, reported by cinder (https://forums.grsecurity.net/viewtopic.php?f=3&t=4466)
-
- drivers/char/tpm/tpm-chip.c | 7 ++++++-
- drivers/net/can/bfin_can.c | 2 +-
- drivers/net/can/flexcan.c | 2 +-
- drivers/net/ethernet/adi/bfin_mac.c | 2 +-
- drivers/net/ethernet/allwinner/sun4i-emac.c | 2 +-
- drivers/net/ethernet/amd/7990.c | 2 +-
- drivers/net/ethernet/amd/7990.h | 2 +-
- drivers/net/ethernet/amd/atarilance.c | 4 ++--
- drivers/net/ethernet/amd/declance.c | 2 +-
- drivers/net/ethernet/amd/sun3lance.c | 4 ++--
- drivers/net/ethernet/amd/sunlance.c | 2 +-
- drivers/net/ethernet/broadcom/bcm63xx_enet.c | 2 +-
- drivers/net/ethernet/davicom/dm9000.c | 2 +-
- drivers/net/ethernet/faraday/ftgmac100.c | 2 +-
- drivers/net/ethernet/faraday/ftmac100.c | 2 +-
- drivers/net/ethernet/freescale/fec_mpc52xx.c | 2 +-
- drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | 2 +-
- drivers/net/ethernet/freescale/gianfar.c | 4 ++--
- drivers/net/ethernet/freescale/ucc_geth.c | 2 +-
- drivers/net/ethernet/i825xx/lib82596.c | 4 ++--
- drivers/net/ethernet/ibm/ehea/ehea_main.c | 2 +-
- drivers/net/ethernet/ibm/emac/core.c | 4 ++--
- drivers/net/ethernet/micrel/ks8695net.c | 2 +-
- drivers/net/ethernet/moxa/moxart_ether.c | 2 +-
- drivers/net/ethernet/netx-eth.c | 2 +-
- drivers/net/ethernet/nuvoton/w90p910_ether.c | 2 +-
- drivers/net/ethernet/nxp/lpc_eth.c | 2 +-
- drivers/net/ethernet/seeq/sgiseeq.c | 2 +-
- drivers/net/ethernet/sgi/ioc3-eth.c | 4 ++--
- drivers/net/ethernet/smsc/smc911x.c | 2 +-
- drivers/net/ethernet/smsc/smc91x.c | 2 +-
- drivers/net/ethernet/sun/sunbmac.c | 2 +-
- drivers/net/ethernet/sun/sunqe.c | 2 +-
- drivers/net/ethernet/sun/sunvnet.c | 10 +++++-----
- drivers/net/ethernet/ti/cpmac.c | 2 +-
- drivers/net/ethernet/ti/netcp_core.c | 2 +-
- drivers/net/ethernet/xilinx/ll_temac_main.c | 2 +-
- drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 +-
- drivers/net/xen-netback/interface.c | 2 +-
- drivers/net/xen-netfront.c | 2 +-
- 40 files changed, 55 insertions(+), 50 deletions(-)
-
-commit e5983fd19799feb3bf947cd0dc2b5435deee3332
-Merge: 5ecb84f a235ecd
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Sat May 7 00:00:42 2016 -0400
-
- Merge branch 'pax-test' into grsec-test
-
-commit a235ecd8bdece417e83f9cf89c76607bf15955dc
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Fri May 6 23:59:34 2016 -0400
-
- Update to pax-linux-4.5.3-test3.patch:
- - fixed some more of PARAVIRT for RAP, reported by hunger
- - Emese increased the coverage of initify by marking up str* and mem* functions
- - added error reporting for refusing to load modules incompatible with KERNEXEC's 'or' method, reported by Martin Väth (https://bugs.gentoo.org/show_bug.cgi?id=581726)
-
- arch/arm/include/asm/string.h | 10 ++---
- arch/arm64/include/asm/string.h | 22 +++++------
- arch/x86/boot/string.h | 4 +-
- arch/x86/include/asm/string_32.h | 20 +++++-----
- arch/x86/include/asm/string_64.h | 16 ++++----
- arch/x86/kernel/paravirt-spinlocks.c | 22 +++++++++--
- arch/x86/xen/mmu.c | 6 ++-
- drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 ++---
- include/linux/string.h | 70 +++++++++++++++++-----------------
- include/linux/syscalls.h | 2 +-
- kernel/module.c | 4 +-
- mm/fadvise.c | 2 +-
- tools/gcc/randomize_layout_seed.h | 1 -
- tools/gcc/rap_plugin/rap_plugin.c | 7 +++-
- 14 files changed, 109 insertions(+), 87 deletions(-)
-
-commit 5ecb84f55a9bdf8b39054c23d90646ba0591ce1c
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Fri May 6 08:51:58 2016 -0400
-
- Remove !PARAVIRT dependency on RAP
-
- security/Kconfig | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-commit eecd10d7c579d2601c384c1e9e0f062a8dda40e7
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Fri May 6 06:34:48 2016 -0400
-
- Update copyright year
-
- tools/gcc/randomize_layout_plugin.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-commit 7d7e01439c2601abcae2ecfc66a883be258a2691
-Merge: 3315e83 c2aa83b
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Fri May 6 06:34:25 2016 -0400
-
- Merge branch 'pax-test' into grsec-test
-
-commit c2aa83bf2d65989c262ff33312874ee7fe38606a
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Fri May 6 06:34:04 2016 -0400
-
- Update to pax-linux-4.5.2-test2.patch:
- - minipli fixed a few missing hunks left out from the 4.5 port
- - fixed a regression in handling user.pax.flags on tmpfs, reported by blueness and Stebalien (https://forums.grsecurity.net/viewtopic.php?f=3&t=4462)
- - fixed a few compile regressions on arm, reported by Wizzup
- - fixed PARAVIRT for RAP, reported by spender
- - fixed the very old PAGEEXEC/i386 TLB reload code for SMAP (not that it could work there), reported by spender
- - Emese fixed a false positive size overflow report caused by gcc-5 and newer, reported by quasar366 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4455)
-
- arch/arm/Kconfig | 2 +-
- arch/arm/include/asm/domain.h | 2 +-
- arch/arm/kernel/process.c | 6 +
- arch/mips/mm/mmap.c | 27 ++++
- arch/powerpc/kernel/process.c | 39 +++++
- arch/s390/kernel/process.c | 13 ++
- arch/x86/entry/entry_32.S | 2 +-
- arch/x86/include/asm/fixmap.h | 2 +-
- arch/x86/kernel/paravirt.c | 90 +++++++++--
- arch/x86/mm/fault.c | 2 +
- arch/x86/mm/pgtable.c | 2 +-
- drivers/cpufreq/intel_pstate.c | 2 +-
- drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 7 +-
- drivers/net/ethernet/8390/ax88796.c | 4 +-
- drivers/oprofile/oprofilefs.c | 4 +-
- drivers/platform/x86/thinkpad_acpi.c | 1 -
- fs/xattr.c | 2 +-
- include/asm-generic/atomic-long.h | 4 +
- include/uapi/linux/xattr.h | 3 +-
- kernel/module.c | 2 +-
- mm/shmem.c | 2 -
- security/Kconfig | 2 +
- .../insert_size_overflow_asm.c | 2 +-
- .../size_overflow_plugin/intentional_overflow.c | 80 ++++++++--
- .../size_overflow_plugin/remove_unnecessary_dup.c | 2 +-
- tools/gcc/size_overflow_plugin/size_overflow.h | 8 +-
- .../gcc/size_overflow_plugin/size_overflow_debug.c | 2 +-
- tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 2 +-
- .../gcc/size_overflow_plugin/size_overflow_misc.c | 2 +-
- .../size_overflow_plugin/size_overflow_plugin.c | 2 +-
- .../size_overflow_plugin_hash.c | 2 +-
- .../size_overflow_plugin/size_overflow_transform.c | 34 ++---
- .../size_overflow_transform_core.c | 170 +++++++++++----------
- 33 files changed, 370 insertions(+), 156 deletions(-)
-
-commit 3315e83c1e9738784da3c1c5836dd13b7593a8f1
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Wed May 4 21:03:36 2016 -0400
-
- Add PAGEEXEC support for i386 !PAE on SMAP-capable processors
- (won't be used by anyone, just for correctness sake)
+ Fixes: 4d5d5664c900 ("x86: kallsyms: disable absolute percpu symbols on !SMP")
+ Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
+ Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
+ Cc: stable@vger.kernel.org # 4.6
+ Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
- arch/x86/mm/fault.c | 2 ++
- 1 file changed, 2 insertions(+)
+ init/Kconfig | 1 +
+ 1 file changed, 1 insertion(+)
-commit b9e96108d2092c12e42e1810a62aec85f6ddc501
-Merge: 6d98323 a3273aa
+commit 616a19ea32197667494240e8afc0de98d28fdd47
+Merge: 769cc1b 98d6186
Author: Brad Spengler <spender@grsecurity.net>
-Date: Wed May 4 19:06:44 2016 -0400
+Date: Wed Jul 6 20:41:51 2016 -0400
Merge branch 'pax-test' into grsec-test
-commit a3273aa2488f9e201620ee53af1acfd99c58650a
-Merge: e0e4c2c fbc310e
+commit 98d61867ac6a18500bbd9771678138154869cec3
Author: Brad Spengler <spender@grsecurity.net>
-Date: Wed May 4 19:06:36 2016 -0400
-
- Merge branch 'linux-4.5.y' into pax-test
-
-commit 6d98323e0b511bdb77b9ef11d84207219331ac69
+Date: Wed Jul 6 20:29:35 2016 -0400
+
+ Update to pax-linux-4.6.3-test10.patch:
+ - fixed a size overflow false positive in xfrm4_beet_output and xfrm6_beet_output, by Mathias Krause <minipli@ld-linux.so>
+ - fixed UEFI boot regression under KERNEXEC, reported by Yves-Alexis Perez <corsac@corsac.net> and x14sg1 (https://forums.grsecurity.net/viewtopic.php?f=3&t=4502)
+ - fixed a few constification related compile errors on arm/mips, by spender
+ - updated the size overflow hash table from grsecurity
+ - fixed an integer truncation bug in __ioremap_caller caught by the size overflow plugin
+
+ arch/arm/mach-mmp/mmp2.c | 4 +-
+ arch/arm/mach-mmp/pxa910.c | 4 +-
+ arch/arm/mach-s3c64xx/mach-smdk6410.c | 2 +-
+ arch/arm/mm/fault.c | 2 +-
+ arch/x86/include/asm/efi.h | 5 +
+ arch/x86/include/asm/pgtable.h | 2 +-
+ arch/x86/mm/dump_pagetables.c | 32 +++-
+ arch/x86/mm/init_32.c | 55 +++---
+ arch/x86/mm/init_64.c | 12 +-
+ arch/x86/mm/ioremap.c | 2 +-
+ arch/x86/mm/pageattr.c | 2 +-
+ drivers/gpu/drm/sti/sti_cursor.c | 4 +-
+ drivers/gpu/drm/sti/sti_dvo.c | 4 +-
+ drivers/gpu/drm/sti/sti_gdp.c | 12 +-
+ drivers/gpu/drm/sti/sti_hdmi.c | 4 +-
+ drivers/gpu/drm/sti/sti_mixer.c | 8 +-
+ drivers/gpu/drm/sti/sti_vid.c | 4 +-
+ drivers/irqchip/irq-mmp.c | 2 +-
+ drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +-
+ include/linux/irqchip/mmp.h | 2 +-
+ net/ipv4/xfrm4_mode_beet.c | 2 +-
+ net/ipv6/xfrm6_mode_beet.c | 2 +-
+ .../size_overflow_plugin/size_overflow_hash.data | 203 +++++++++++++++++----
+ 23 files changed, 280 insertions(+), 91 deletions(-)
+
+commit 769cc1b850f164d9fd9284898295eb616896d66b
Author: Brad Spengler <spender@grsecurity.net>
-Date: Tue May 3 21:58:09 2016 -0400
-
- Backport fix from http://www.spinics.net/lists/linux-usb/msg140243.html
-
- drivers/usb/core/devio.c | 9 +++++----
- 1 file changed, 5 insertions(+), 4 deletions(-)
-
-commit b003c68f96dd6a483b515290756816b6c909f34f
+Date: Wed Jul 6 20:08:29 2016 -0400
+
+ Fix bug in RBAC learning reported by Andrew Flannery
+ Nolog/noaudit-type capability checks were handled in a separate
+ function which did not check if the requestor had the capability in
+ their effective set. This would cause privileged processes to be
+ denied use of their capabilities in the small number of instances
+ these kinds of checks were used (for ptrace_may_access() etc, which
+ get used in deciding if privileged processes can bypass /proc
+ restrictions) only when RBAC learning was enabled on the process.
+
+ Remove some code duplication in the process of fixing the bug.
+
+ grsecurity/gracl_cap.c | 49 +++++++++------------------------------------
+ grsecurity/grsec_disabled.c | 2 +-
+ grsecurity/grsec_exec.c | 9 ++++-----
+ include/linux/grsecurity.h | 4 ++--
+ kernel/capability.c | 2 +-
+ kernel/sys.c | 4 ++--
+ 6 files changed, 19 insertions(+), 51 deletions(-)
+
+commit 244fda357c13b44ac2d174713205863c552eb30d
Author: Brad Spengler <spender@grsecurity.net>
-Date: Sun May 1 12:06:48 2016 -0400
+Date: Wed Jul 6 07:19:26 2016 -0400
- Add note about RANDSTRUCT and the gcc runtime library exception
+ Compile fix for recent /proc/pid/mem changes, reported by adminwset at
+ https://forums.grsecurity.net/viewtopic.php?t=4505&p=16415#p16415
- tools/gcc/randomize_layout_plugin.c | 5 +++++
- 1 file changed, 5 insertions(+)
+ fs/proc/base.c | 2 +-
+ fs/proc/internal.h | 2 +-
+ include/linux/sched.h | 2 ++
+ 3 files changed, 4 insertions(+), 2 deletions(-)
-commit fe375f07d31c5d561fcca4016f7c33e885fa3586
+commit 5bd1344d3f28c5402bcd85972bb520a5baaf612c
Author: Brad Spengler <spender@grsecurity.net>
-Date: Fri Apr 29 06:22:29 2016 -0400
+Date: Sun Jul 3 21:27:25 2016 -0400
- Revert change to regmap_access_show()
-
- drivers/base/regmap/regmap-debugfs.c | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-commit 3f5df6e7cf9716b4854fb282b6eb22cb1e52e92a
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Fri Apr 29 06:20:12 2016 -0400
-
- Merge a number of fixes from Mathias Krause
-
- arch/x86/entry/entry_32.S | 2 +-
- drivers/base/regmap/regmap-debugfs.c | 3 ++-
- drivers/cpufreq/intel_pstate.c | 2 +-
- drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 7 ++++++-
- drivers/oprofile/oprofilefs.c | 4 ++--
- drivers/platform/x86/thinkpad_acpi.c | 1 -
- init/Kconfig | 1 -
- kernel/module.c | 4 +---
- 8 files changed, 13 insertions(+), 11 deletions(-)
-
-commit 127927d7e57793eca299226cb31ecd9d235bbd62
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Thu Apr 28 20:58:04 2016 -0400
-
- Add temporary dependency on !PARAVIRT for RAP until some fallout can be fixed
-
- security/Kconfig | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-commit d37fff4904eee095ce50ea522efbfaf2a4bcb47e
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Thu Apr 28 18:44:18 2016 -0400
-
- Update to pax-linux-4.5.2-test1y.patch
-
- tools/gcc/rap_plugin/rap_plugin.c | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-commit 5e309719b190a24dccd73c8b6ae388bd7f34660b
-Merge: ac01f5e e0e4c2c
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Thu Apr 28 17:37:37 2016 -0400
-
- Merge branch 'pax-test' into grsec-test
-
-commit e0e4c2ce05e0cd594b716a1e12d91928a0d083fd
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Thu Apr 28 17:36:23 2016 -0400
-
- Update to pax-linux-4.5.2-test1x.patch
-
- arch/x86/include/asm/alternative-asm.h | 8 --------
- drivers/lguest/core.c | 2 +-
- kernel/sched/deadline.c | 4 ++--
- mm/swap.c | 7 ++++++-
- tools/gcc/colorize_plugin.c | 2 +-
- tools/gcc/gcc-common.h | 21 +++++++++++++++++++++
- 6 files changed, 31 insertions(+), 13 deletions(-)
-
-commit ac01f5eb279d93b10d63f87c9d851e039ab1bc3e
-Author: Brad Spengler <spender@grsecurity.net>
-Date: Thu Apr 28 17:35:14 2016 -0400
-
- Initial import of grsecurity 3.1 for 4.5.2 with limited RAP support
+ Initial import of grsecurity for Linux 4.6.3
Documentation/dontdiff | 2 +
Documentation/kernel-parameters.txt | 11 +
arch/arm/kernel/process.c | 4 +-
arch/arm/kernel/ptrace.c | 9 +
arch/arm/kernel/traps.c | 7 +-
+ arch/arm/mach-mmp/mmp2.c | 4 +-
+ arch/arm/mach-mmp/pxa910.c | 4 +-
+ arch/arm/mach-s3c64xx/mach-smdk6410.c | 2 +-
arch/arm/mm/Kconfig | 4 +-
- arch/arm/mm/fault.c | 40 +-
+ arch/arm/mm/alignment.c | 24 +-
+ arch/arm/mm/fault.c | 42 +-
arch/arm/mm/mmap.c | 8 +-
arch/arm/net/bpf_jit_32.c | 51 +-
arch/arm64/Kconfig.debug | 1 +
arch/m68k/include/asm/cache.h | 4 +-
arch/metag/mm/hugetlbpage.c | 1 +
arch/microblaze/include/asm/cache.h | 3 +-
+ arch/mips/Kbuild | 2 +-
arch/mips/Kconfig | 1 +
+ arch/mips/include/asm/irq.h | 1 -
arch/mips/include/asm/thread_info.h | 11 +-
arch/mips/kernel/irq.c | 3 +
arch/mips/kernel/ptrace.c | 9 +
arch/mips/mm/mmap.c | 4 +-
arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
- arch/nios2/lib/memset.c | 2 +-
arch/openrisc/include/asm/cache.h | 4 +-
arch/parisc/include/asm/cache.h | 3 +
arch/parisc/kernel/sys_parisc.c | 4 +
arch/score/include/asm/cache.h | 4 +-
arch/sh/include/asm/cache.h | 3 +-
arch/sh/mm/mmap.c | 6 +-
+ arch/sparc/include/asm/atomic_64.h | 5 +
arch/sparc/include/asm/cache.h | 4 +-
arch/sparc/include/asm/pgalloc_64.h | 1 +
arch/sparc/include/asm/thread_info_64.h | 8 +-
arch/sparc/kernel/traps_32.c | 8 +-
arch/sparc/kernel/traps_64.c | 28 +-
arch/sparc/kernel/unaligned_64.c | 2 +-
+ arch/sparc/lib/atomic_64.S | 2 +-
+ arch/sparc/lib/ksyms.c | 4 +-
arch/sparc/mm/fault_64.c | 2 +-
arch/sparc/mm/hugetlbpage.c | 15 +-
arch/tile/Kconfig | 1 +
arch/unicore32/include/asm/cache.h | 6 +-
arch/x86/Kconfig | 21 +
arch/x86/Kconfig.debug | 2 +
- arch/x86/crypto/sha-mb/sha1_mb.c | 4 +-
arch/x86/entry/common.c | 14 +
arch/x86/entry/entry_32.S | 2 +-
arch/x86/entry/entry_64.S | 2 +-
arch/x86/kernel/irq_32.c | 3 +
arch/x86/kernel/irq_64.c | 4 +
arch/x86/kernel/ldt.c | 18 +
- arch/x86/kernel/msr.c | 10 +
+ arch/x86/kernel/msr.c | 12 +
arch/x86/kernel/ptrace.c | 14 +
arch/x86/kernel/signal.c | 9 +-
arch/x86/kernel/sys_i386_32.c | 9 +-
arch/x86/kernel/vm86_32.c | 15 +
arch/x86/mm/fault.c | 12 +-
arch/x86/mm/hugetlbpage.c | 15 +-
- arch/x86/mm/init.c | 66 +-
- arch/x86/mm/init_32.c | 6 +-
+ arch/x86/mm/init.c | 51 +-
+ arch/x86/mm/init_32.c | 10 +-
arch/x86/net/bpf_jit_comp.c | 4 +
arch/x86/platform/efi/efi_64.c | 2 +-
arch/x86/xen/Kconfig | 1 +
drivers/char/mem.c | 17 +
drivers/char/random.c | 5 +-
drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
- drivers/crypto/ccp/ccp-crypto-aes-cmac.c | 3 +
- drivers/crypto/ccp/ccp-crypto-sha.c | 3 +
- drivers/crypto/marvell/cesa.h | 3 +-
- drivers/crypto/marvell/hash.c | 106 +-
drivers/firewire/ohci.c | 4 +
- drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 78 +-
+ drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 80 +-
+ .../drm/amd/powerplay/hwmgr/cz_clockpowergating.c | 12 +-
+ drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c | 58 +-
+ drivers/gpu/drm/amd/powerplay/hwmgr/fiji_thermal.c | 20 +-
+ .../gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c | 20 +-
+ drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 7 +-
+ drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c | 9 +-
drivers/gpu/drm/nouveau/nouveau_ttm.c | 28 +-
+ drivers/gpu/drm/sti/sti_cursor.c | 6 +-
+ drivers/gpu/drm/sti/sti_dvo.c | 6 +-
+ drivers/gpu/drm/sti/sti_gdp.c | 6 +-
+ drivers/gpu/drm/sti/sti_hda.c | 6 +-
+ drivers/gpu/drm/sti/sti_hdmi.c | 6 +-
+ drivers/gpu/drm/sti/sti_hqvdp.c | 6 +-
+ drivers/gpu/drm/sti/sti_mixer.c | 6 +-
+ drivers/gpu/drm/sti/sti_tvout.c | 6 +-
+ drivers/gpu/drm/sti/sti_vid.c | 6 +-
+ drivers/gpu/drm/tilcdc/tilcdc_external.c | 2 +-
drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +-
drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
drivers/hid/hid-wiimote-debug.c | 2 +-
+ drivers/hid/usbhid/hiddev.c | 10 +-
+ drivers/infiniband/hw/i40iw/i40iw_ctrl.c | 160 +-
+ drivers/infiniband/hw/i40iw/i40iw_uk.c | 34 +-
drivers/infiniband/hw/nes/nes_cm.c | 22 +-
- drivers/input/touchscreen/sur40.c | 21 +-
drivers/iommu/Kconfig | 1 +
drivers/iommu/amd_iommu.c | 14 +-
+ drivers/irqchip/irq-mmp.c | 2 +-
drivers/isdn/gigaset/bas-gigaset.c | 32 +-
drivers/isdn/gigaset/ser-gigaset.c | 32 +-
- drivers/isdn/gigaset/usb-gigaset.c | 32 +-
+ drivers/isdn/gigaset/usb-gigaset.c | 34 +-
drivers/isdn/i4l/isdn_concap.c | 6 +-
drivers/isdn/i4l/isdn_x25iface.c | 16 +-
- drivers/lguest/core.c | 2 +-
drivers/md/bcache/Kconfig | 1 +
drivers/md/raid5.c | 8 +
drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
- drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
+ drivers/media/usb/dvb-usb/technisat-usb2.c | 23 +-
drivers/message/fusion/mptbase.c | 9 +
drivers/misc/sgi-xp/xp_main.c | 12 +-
+ drivers/mtd/nand/brcmnand/bcm63138_nand.c | 6 +-
+ drivers/mtd/nand/brcmnand/iproc_nand.c | 8 +-
drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
- drivers/net/ethernet/mellanox/mlx4/en_rx.c | 2 +-
- drivers/net/hyperv/hyperv_net.h | 7 +-
- drivers/net/hyperv/netvsc_drv.c | 5 +-
- drivers/net/hyperv/rndis_filter.c | 4 +-
drivers/net/wan/lmc/lmc_media.c | 97 +-
drivers/net/wan/z85230.c | 24 +-
drivers/net/wireless/ath/ath9k/Kconfig | 1 -
drivers/scsi/bfa/bfa_fcs.c | 19 +-
drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
drivers/scsi/bfa/bfa_modules.h | 12 +-
- drivers/scsi/cxgbi/libcxgbi.c | 1 +
drivers/scsi/hpsa.h | 40 +-
+ drivers/staging/lustre/lnet/libcfs/module.c | 10 +-
drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
- drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
drivers/staging/wilc1000/host_interface.h | 1 +
drivers/staging/wilc1000/wilc_spi.c | 1 +
drivers/tty/serial/uartlite.c | 4 +-
drivers/tty/tty_io.c | 4 +
drivers/tty/vt/keyboard.c | 22 +-
drivers/uio/uio.c | 6 +-
+ drivers/usb/core/devio.c | 9 +-
drivers/usb/core/hub.c | 5 +
drivers/usb/gadget/function/f_uac1.c | 1 +
drivers/usb/gadget/function/u_uac1.c | 1 +
drivers/usb/host/hwa-hc.c | 9 +-
- drivers/usb/usbip/usbip_common.c | 11 +
drivers/usb/usbip/vhci_sysfs.c | 2 +-
drivers/video/fbdev/arcfb.c | 2 +-
drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
fs/coredump.c | 17 +-
fs/dcache.c | 3 +
fs/debugfs/inode.c | 19 +-
- fs/ecryptfs/keystore.c | 6 +-
- fs/exec.c | 235 +-
+ fs/exec.c | 249 +-
fs/ext2/balloc.c | 4 +-
fs/ext2/super.c | 8 +-
fs/ext4/balloc.c | 4 +-
fs/inode.c | 8 +-
fs/kernfs/dir.c | 6 +
fs/mount.h | 4 +-
- fs/namei.c | 295 +-
+ fs/namei.c | 292 +-
fs/namespace.c | 24 +
+ fs/nfsd/nfs2acl.c | 20 +-
+ fs/nfsd/nfs3acl.c | 16 +-
+ fs/nfsd/nfs4acl.c | 16 +-
fs/nfsd/nfscache.c | 2 +-
fs/open.c | 38 +
fs/overlayfs/inode.c | 3 +
fs/overlayfs/super.c | 6 +-
fs/pipe.c | 2 +-
- fs/posix_acl.c | 15 +-
+ fs/posix_acl.c | 61 +-
fs/proc/Kconfig | 10 +-
fs/proc/array.c | 67 +-
- fs/proc/base.c | 175 +-
+ fs/proc/base.c | 193 +-
fs/proc/cmdline.c | 4 +
fs/proc/devices.c | 4 +
fs/proc/fd.c | 13 +-
fs/proc/generic.c | 64 +
fs/proc/inode.c | 17 +
- fs/proc/internal.h | 11 +-
+ fs/proc/internal.h | 18 +-
fs/proc/interrupts.c | 4 +
fs/proc/kcore.c | 3 +
fs/proc/proc_net.c | 31 +
fs/proc/proc_sysctl.c | 52 +-
fs/proc/root.c | 8 +
fs/proc/stat.c | 69 +-
- fs/proc/task_mmu.c | 66 +-
+ fs/proc/task_mmu.c | 85 +-
+ fs/proc/task_nommu.c | 2 +-
fs/readdir.c | 19 +
fs/reiserfs/item_ops.c | 24 +-
fs/reiserfs/super.c | 4 +
fs/select.c | 2 +
- fs/seq_file.c | 30 +-
+ fs/seq_file.c | 31 +-
fs/stat.c | 20 +-
fs/sysfs/dir.c | 30 +-
fs/utimes.c | 7 +
fs/xattr.c | 26 +-
+ fs/xfs/xfs_icache.c | 60 +-
+ fs/xfs/xfs_inode.c | 13 +
grsecurity/Kconfig | 1205 ++++
grsecurity/Makefile | 54 +
grsecurity/gracl.c | 2757 +++++++++
grsecurity/gracl_cap.c | 127 +
grsecurity/gracl_compat.c | 269 +
grsecurity/gracl_fs.c | 448 ++
- grsecurity/gracl_ip.c | 386 ++
+ grsecurity/gracl_ip.c | 387 ++
grsecurity/gracl_learn.c | 207 +
grsecurity/gracl_policy.c | 1784 ++++++
grsecurity/gracl_res.c | 68 +
- grsecurity/gracl_segv.c | 304 +
+ grsecurity/gracl_segv.c | 306 +
grsecurity/gracl_shm.c | 40 +
grsecurity/grsec_chdir.c | 19 +
grsecurity/grsec_chroot.c | 506 ++
grsecurity/grsec_pax.c | 47 +
grsecurity/grsec_proc.c | 20 +
grsecurity/grsec_ptrace.c | 30 +
- grsecurity/grsec_sig.c | 245 +
+ grsecurity/grsec_sig.c | 248 +
grsecurity/grsec_sock.c | 244 +
grsecurity/grsec_sysctl.c | 497 ++
grsecurity/grsec_time.c | 16 +
grsecurity/grsec_tpe.c | 78 +
grsecurity/grsec_tty.c | 18 +
grsecurity/grsec_usb.c | 15 +
- grsecurity/grsum.c | 54 +
+ grsecurity/grsum.c | 56 +
+ include/drm/drm_modeset_helper_vtables.h | 1 +
include/linux/binfmts.h | 5 +-
include/linux/capability.h | 13 +
include/linux/compiler-gcc.h | 5 +
include/linux/random.h | 2 +-
include/linux/rbtree_augmented.h | 4 +-
include/linux/scatterlist.h | 12 +-
- include/linux/sched.h | 114 +-
+ include/linux/sched.h | 135 +-
include/linux/security.h | 1 +
include/linux/sem.h | 2 +-
include/linux/seq_file.h | 5 +
include/linux/thread_info.h | 6 +-
include/linux/tty.h | 2 +-
include/linux/tty_driver.h | 4 +-
- include/linux/uidgid.h | 5 +
+ include/linux/uidgid.h | 6 +
include/linux/user_namespace.h | 2 +-
include/linux/utsname.h | 2 +-
include/linux/vermagic.h | 16 +-
include/net/ip.h | 2 +-
include/net/neighbour.h | 2 +-
include/net/net_namespace.h | 2 +-
- include/net/sctp/structs.h | 2 +-
include/net/sock.h | 2 +-
include/trace/events/fs.h | 53 +
include/uapi/linux/personality.h | 1 +
- init/Kconfig | 4 +
+ init/Kconfig | 5 +-
init/main.c | 46 +-
ipc/mqueue.c | 1 +
ipc/msg.c | 3 +-
ipc/util.c | 6 +
kernel/auditsc.c | 2 +-
kernel/bpf/syscall.c | 10 +-
- kernel/bpf/verifier.c | 1 -
kernel/capability.c | 41 +-
kernel/cgroup.c | 5 +-
kernel/compat.c | 1 +
kernel/cred.c | 112 +-
kernel/events/core.c | 14 +-
kernel/exit.c | 10 +-
- kernel/fork.c | 86 +-
+ kernel/fork.c | 92 +-
kernel/futex.c | 4 +-
kernel/kallsyms.c | 9 +
kernel/kcmp.c | 4 +
kernel/kprobes.c | 9 +-
kernel/ksysfs.c | 2 +
kernel/locking/lockdep_proc.c | 10 +-
- kernel/module.c | 110 +-
- kernel/panic.c | 4 +-
+ kernel/module.c | 108 +-
+ kernel/panic.c | 6 +-
kernel/pid.c | 18 +-
kernel/power/Kconfig | 2 +
kernel/printk/printk.c | 7 +-
kernel/ptrace.c | 50 +-
kernel/resource.c | 10 +
- kernel/sched/core.c | 11 +-
+ kernel/sched/core.c | 9 +-
kernel/sched/debug.c | 4 +
kernel/signal.c | 37 +-
kernel/sys.c | 64 +-
- kernel/sysctl.c | 172 +-
+ kernel/sysctl.c | 174 +-
kernel/taskstats.c | 6 +
kernel/time/posix-timers.c | 8 +
kernel/time/time.c | 5 +
kernel/time/timekeeping.c | 3 +
kernel/time/timer_list.c | 13 +-
kernel/time/timer_stats.c | 10 +-
- kernel/trace/Kconfig | 2 +
+ kernel/trace/Kconfig | 6 +
kernel/trace/trace_syscalls.c | 8 +
kernel/user_namespace.c | 15 +
- kernel/workqueue.c | 29 +
- lib/Kconfig.debug | 12 +-
- lib/Kconfig.kasan | 2 +-
+ lib/Kconfig.debug | 13 +-
lib/is_single_threaded.c | 3 +
lib/list_debug.c | 65 +-
lib/nlattr.c | 2 +
localversion-grsec | 1 +
mm/Kconfig | 8 +-
mm/Kconfig.debug | 1 +
- mm/filemap.c | 8 +-
+ mm/filemap.c | 1 +
mm/kmemleak.c | 4 +-
mm/memory.c | 2 +-
mm/mempolicy.c | 12 +-
mm/migrate.c | 3 +-
mm/mlock.c | 11 +-
- mm/mmap.c | 127 +-
+ mm/mmap.c | 124 +-
mm/mprotect.c | 8 +
- mm/oom_kill.c | 4 +
mm/page_alloc.c | 2 +-
+ mm/percpu.c | 73 +-
mm/process_vm_access.c | 6 +
mm/shmem.c | 2 +-
mm/slab.c | 14 +-
mm/slab_common.c | 2 +-
mm/slob.c | 12 +
mm/slub.c | 33 +-
- mm/swap.c | 6 +-
mm/util.c | 3 +
- mm/vmalloc.c | 82 +-
+ mm/vmalloc.c | 84 +-
mm/vmstat.c | 29 +-
net/appletalk/atalk_proc.c | 2 +-
net/atm/lec.c | 6 +-
net/atm/mpoa_caches.c | 43 +-
- net/bridge/netfilter/ebtables.c | 4 +
net/can/bcm.c | 2 +-
net/can/proc.c | 2 +-
net/core/dev_ioctl.c | 7 +-
net/core/sysctl_net_core.c | 2 +-
net/decnet/dn_dev.c | 2 +-
net/ipv4/devinet.c | 6 +-
- net/ipv4/inet_hashtables.c | 4 +
+ net/ipv4/inet_hashtables.c | 6 +
net/ipv4/ip_input.c | 7 +
net/ipv4/ip_sockglue.c | 3 +-
- net/ipv4/netfilter/arp_tables.c | 43 +-
- net/ipv4/netfilter/ip_tables.c | 48 +-
net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
net/ipv4/route.c | 6 +-
net/ipv4/tcp_input.c | 6 +-
net/ipv4/tcp_timer.c | 11 +
net/ipv4/udp.c | 24 +
net/ipv6/addrconf.c | 13 +-
- net/ipv6/netfilter/ip6_tables.c | 48 +-
net/ipv6/proc.c | 2 +-
net/ipv6/tcp_ipv6.c | 23 +-
net/ipv6/udp.c | 7 +
net/llc/llc_proc.c | 2 +-
net/netfilter/Kconfig | 10 +
net/netfilter/Makefile | 1 +
- net/netfilter/nf_conntrack_core.c | 8 +
net/netfilter/xt_gradm.c | 51 +
net/netfilter/xt_hashlimit.c | 4 +-
net/netfilter/xt_recent.c | 2 +-
- net/packet/af_packet.c | 1 +
- net/sctp/bind_addr.c | 14 +-
- net/sctp/protocol.c | 1 +
- net/sctp/sm_make_chunk.c | 3 +-
- net/sctp/socket.c | 4 +-
net/socket.c | 75 +-
net/sunrpc/Kconfig | 1 +
net/sunrpc/cache.c | 2 +-
net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
net/x25/sysctl_net_x25.c | 2 +-
net/x25/x25_proc.c | 2 +-
+ scripts/Makefile.gcc-plugins | 5 +
+ scripts/gcc-plugins/.gitignore | 1 +
+ scripts/gcc-plugins/Makefile | 10 +
+ scripts/gcc-plugins/gen-random-seed.sh | 8 +
+ scripts/gcc-plugins/randomize_layout_plugin.c | 940 +++
+ .../size_overflow_plugin/size_overflow_hash.data | 724 ++-
scripts/package/Makefile | 2 +-
scripts/package/mkspec | 41 +-
security/Kconfig | 364 +-
security/apparmor/lsm.c | 8 +-
security/commoncap.c | 29 +
security/keys/internal.h | 2 +-
+ security/keys/key.c | 2 +-
security/min_addr.c | 2 +
security/tomoyo/file.c | 12 +-
security/tomoyo/mount.c | 4 +
sound/synth/emux/emux_seq.c | 14 +-
sound/usb/line6/driver.c | 40 +-
sound/usb/line6/toneport.c | 12 +-
- tools/gcc/.gitignore | 1 +
- tools/gcc/Makefile | 12 +
- tools/gcc/gen-random-seed.sh | 8 +
- tools/gcc/randomize_layout_plugin.c | 935 +++
- tools/gcc/randomize_layout_seed.h | 1 -
- .../size_overflow_plugin/size_overflow_hash.data | 202 +-
- 511 files changed, 32630 insertions(+), 3134 deletions(-)
+ 521 files changed, 33285 insertions(+), 3355 deletions(-)
-commit a89837d0fc99aab94b5c8b975215de260271c1f7
+commit 96b2aa21ce8de62dfa0ee023b2cd20928f5021a1
Author: Brad Spengler <spender@grsecurity.net>
-Date: Wed Apr 27 20:43:37 2016 -0400
+Date: Sat Jul 2 09:03:17 2016 -0400
- Initial port of PaX to 4.5.2 with a limited form of RAP
- (< 1/5th the total size of the full developed RAP plugin)
- No retaddr protection via XOR canary
- No C++ support
- No LTO support
- Removal of a few optimization passes
- No compile time reporting of bad fptr casts
-
- The RAP plugin should therefore be used only to compile an
- appropriate vanilla kernel with this patch.
+ Initial commit of pax-linux-4.6.3-test9.patch
+ .gitignore | 1 +
Documentation/dontdiff | 46 +-
Documentation/kbuild/makefiles.txt | 39 +-
Documentation/kernel-parameters.txt | 28 +
- Makefile | 52 +-
+ Makefile | 20 +-
+ arch/Kconfig | 14 +
arch/alpha/include/asm/atomic.h | 10 +
arch/alpha/include/asm/elf.h | 7 +
arch/alpha/include/asm/pgalloc.h | 6 +
arch/alpha/kernel/module.c | 2 +-
arch/alpha/kernel/osf_sys.c | 8 +-
arch/alpha/mm/fault.c | 141 +-
- arch/arm/Kconfig | 3 +-
+ arch/arm/Kconfig | 6 +-
+ arch/arm/boot/compressed/Makefile | 2 +
arch/arm/include/asm/atomic.h | 323 +-
- arch/arm/include/asm/cache.h | 5 +-
+ arch/arm/include/asm/cache.h | 4 +-
arch/arm/include/asm/cacheflush.h | 2 +-
arch/arm/include/asm/checksum.h | 14 +-
arch/arm/include/asm/cmpxchg.h | 4 +
arch/arm/include/asm/pgtable-3level.h | 3 +
arch/arm/include/asm/pgtable.h | 54 +-
arch/arm/include/asm/smp.h | 2 +-
+ arch/arm/include/asm/string.h | 10 +-
arch/arm/include/asm/thread_info.h | 3 +
arch/arm/include/asm/tls.h | 3 +
arch/arm/include/asm/uaccess.h | 113 +-
arch/arm/kernel/module-plts.c | 7 +-
arch/arm/kernel/module.c | 38 +-
arch/arm/kernel/patch.c | 2 +
- arch/arm/kernel/process.c | 92 +-
+ arch/arm/kernel/process.c | 86 +-
arch/arm/kernel/reboot.c | 1 +
arch/arm/kernel/setup.c | 20 +-
arch/arm/kernel/signal.c | 35 +-
arch/arm/mm/Kconfig | 6 +-
arch/arm/mm/cache-l2x0.c | 2 +-
arch/arm/mm/context.c | 10 +-
- arch/arm/mm/fault.c | 146 +
+ arch/arm/mm/fault.c | 160 +
arch/arm/mm/fault.h | 12 +
arch/arm/mm/init.c | 39 +
arch/arm/mm/ioremap.c | 4 +-
arch/arm/net/bpf_jit_32.c | 3 +
arch/arm/plat-iop/setup.c | 2 +-
arch/arm/plat-omap/sram.c | 2 +
+ arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/atomic.h | 10 +
arch/arm64/include/asm/percpu.h | 8 +-
arch/arm64/include/asm/pgalloc.h | 5 +
+ arch/arm64/include/asm/string.h | 22 +-
arch/arm64/include/asm/uaccess.h | 1 +
arch/arm64/mm/dma-mapping.c | 2 +-
arch/avr32/include/asm/elf.h | 8 +-
arch/ia64/mm/fault.c | 32 +-
arch/ia64/mm/init.c | 15 +-
arch/m32r/lib/usercopy.c | 6 +
+ arch/mips/Kconfig | 1 +
arch/mips/cavium-octeon/dma-octeon.c | 2 +-
arch/mips/include/asm/atomic.h | 372 +-
arch/mips/include/asm/cache.h | 3 +-
arch/mips/lib/libgcc.h | 12 +-
arch/mips/mm/fault.c | 25 +
arch/mips/mm/init.c | 4 +-
- arch/mips/mm/mmap.c | 51 +-
+ arch/mips/mm/mmap.c | 24 +-
arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
arch/mips/sni/rm200.c | 2 +-
arch/mips/vr41xx/common/icu.c | 2 +-
arch/parisc/kernel/sys_parisc.c | 15 +
arch/parisc/kernel/traps.c | 4 +-
arch/parisc/mm/fault.c | 140 +-
- arch/powerpc/include/asm/atomic.h | 329 +-
+ arch/powerpc/Kconfig | 1 +
+ arch/powerpc/include/asm/atomic.h | 317 +-
arch/powerpc/include/asm/book3s/32/hash.h | 1 +
arch/powerpc/include/asm/elf.h | 12 +
arch/powerpc/include/asm/exec.h | 2 +-
arch/powerpc/include/asm/mman.h | 2 +-
arch/powerpc/include/asm/page.h | 8 +-
arch/powerpc/include/asm/page_64.h | 7 +-
- arch/powerpc/include/asm/pgalloc-64.h | 7 +
+ arch/powerpc/include/asm/pgalloc-64.h | 11 +
arch/powerpc/include/asm/pgtable.h | 1 +
arch/powerpc/include/asm/reg.h | 1 +
arch/powerpc/include/asm/smp.h | 2 +-
arch/powerpc/include/asm/spinlock.h | 42 +-
+ arch/powerpc/include/asm/string.h | 18 +-
arch/powerpc/include/asm/uaccess.h | 141 +-
arch/powerpc/kernel/Makefile | 5 +
arch/powerpc/kernel/exceptions-64e.S | 4 +-
arch/powerpc/kernel/exceptions-64s.S | 2 +-
arch/powerpc/kernel/module_32.c | 15 +-
- arch/powerpc/kernel/process.c | 46 -
+ arch/powerpc/kernel/process.c | 7 -
arch/powerpc/kernel/signal_32.c | 2 +-
arch/powerpc/kernel/signal_64.c | 2 +-
arch/powerpc/kernel/traps.c | 21 +
arch/s390/include/asm/exec.h | 2 +-
arch/s390/include/asm/uaccess.h | 13 +-
arch/s390/kernel/module.c | 22 +-
- arch/s390/kernel/process.c | 20 -
+ arch/s390/kernel/process.c | 7 -
arch/s390/mm/mmap.c | 22 +-
arch/score/include/asm/exec.h | 2 +-
arch/score/kernel/process.c | 5 -
arch/sh/mm/mmap.c | 28 +-
+ arch/sparc/Kconfig | 1 +
arch/sparc/include/asm/atomic_64.h | 110 +-
arch/sparc/include/asm/cache.h | 2 +-
arch/sparc/include/asm/elf_32.h | 7 +
arch/sparc/mm/init_64.c | 10 +-
arch/tile/include/asm/atomic_64.h | 10 +
arch/tile/include/asm/uaccess.h | 4 +-
- arch/um/Makefile | 4 +
+ arch/um/Makefile | 2 +
arch/um/include/asm/kmap_types.h | 2 +-
arch/um/include/asm/page.h | 3 +
arch/um/include/asm/pgtable-3level.h | 1 +
arch/um/kernel/process.c | 16 -
- arch/x86/Kconfig | 26 +-
+ arch/x86/Kconfig | 33 +-
arch/x86/Kconfig.cpu | 6 +-
- arch/x86/Kconfig.debug | 4 +-
+ arch/x86/Kconfig.debug | 3 +-
arch/x86/Makefile | 13 +-
- arch/x86/boot/Makefile | 3 +
arch/x86/boot/bitops.h | 4 +-
arch/x86/boot/boot.h | 2 +-
- arch/x86/boot/compressed/Makefile | 20 +
+ arch/x86/boot/compressed/Makefile | 17 +
arch/x86/boot/compressed/efi_stub_32.S | 16 +-
arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
arch/x86/boot/compressed/head_32.S | 4 +-
arch/x86/boot/video-vesa.c | 1 +
arch/x86/boot/video.c | 2 +-
arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
- arch/x86/crypto/aesni-intel_asm.S | 110 +-
+ arch/x86/crypto/aesni-intel_asm.S | 116 +-
arch/x86/crypto/aesni-intel_glue.c | 4 +-
arch/x86/crypto/blowfish-x86_64-asm_64.S | 11 +-
arch/x86/crypto/camellia-aesni-avx-asm_64.S | 22 +-
arch/x86/crypto/serpent_avx2_glue.c | 14 +-
arch/x86/crypto/serpent_avx_glue.c | 18 +-
arch/x86/crypto/serpent_sse2_glue.c | 4 +-
+ arch/x86/crypto/sha-mb/sha1_mb_mgr_flush_avx2.S | 4 +-
+ arch/x86/crypto/sha-mb/sha1_mb_mgr_submit_avx2.S | 2 +-
arch/x86/crypto/sha1_ssse3_asm.S | 13 +-
arch/x86/crypto/sha1_ssse3_glue.c | 56 +-
arch/x86/crypto/sha256-avx-asm.S | 5 +-
arch/x86/crypto/sha256-avx2-asm.S | 5 +-
arch/x86/crypto/sha256-ssse3-asm.S | 6 +-
+ arch/x86/crypto/sha256_ni_asm.S | 2 +-
arch/x86/crypto/sha256_ssse3_glue.c | 26 +-
arch/x86/crypto/sha512-avx-asm.S | 5 +-
arch/x86/crypto/sha512-avx2-asm.S | 5 +-
arch/x86/crypto/sha512-ssse3-asm.S | 5 +-
arch/x86/crypto/sha512_ssse3_glue.c | 22 +-
arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 37 +-
- arch/x86/crypto/twofish-i586-asm_32.S | 2 +-
+ arch/x86/crypto/twofish-i586-asm_32.S | 4 +-
arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 6 +-
arch/x86/crypto/twofish-x86_64-asm_64.S | 7 +-
arch/x86/crypto/twofish_avx_glue.c | 21 +-
arch/x86/crypto/twofish_glue_3way.c | 12 +-
arch/x86/entry/Makefile | 2 +
arch/x86/entry/calling.h | 86 +-
- arch/x86/entry/common.c | 70 +-
- arch/x86/entry/entry_32.S | 311 +-
- arch/x86/entry/entry_64.S | 629 +-
+ arch/x86/entry/common.c | 89 +-
+ arch/x86/entry/entry_32.S | 330 +-
+ arch/x86/entry/entry_64.S | 600 +-
arch/x86/entry/entry_64_compat.S | 115 +-
arch/x86/entry/thunk_64.S | 2 +
arch/x86/entry/vdso/Makefile | 5 +-
arch/x86/entry/vdso/vclock_gettime.c | 2 +-
- arch/x86/entry/vdso/vdso2c.h | 8 +-
- arch/x86/entry/vdso/vma.c | 37 +-
+ arch/x86/entry/vdso/vdso2c.h | 4 +-
+ arch/x86/entry/vdso/vma.c | 42 +-
arch/x86/entry/vsyscall/vsyscall_64.c | 20 +-
arch/x86/entry/vsyscall/vsyscall_emu_64.S | 2 +-
+ arch/x86/events/amd/iommu.c | 8 +-
+ arch/x86/events/core.c | 8 +-
+ arch/x86/events/intel/bts.c | 6 +-
+ arch/x86/events/intel/core.c | 34 +-
+ arch/x86/events/intel/cqm.c | 14 +-
+ arch/x86/events/intel/cstate.c | 6 +-
+ arch/x86/events/intel/ds.c | 7 +-
+ arch/x86/events/intel/lbr.c | 4 +-
+ arch/x86/events/intel/pt.c | 44 +-
+ arch/x86/events/intel/rapl.c | 8 +-
+ arch/x86/events/intel/uncore.c | 6 +-
+ arch/x86/events/intel/uncore.h | 14 +-
+ arch/x86/events/perf_event.h | 2 +-
arch/x86/ia32/ia32_signal.c | 23 +-
arch/x86/ia32/sys_ia32.c | 42 +-
- arch/x86/include/asm/alternative-asm.h | 51 +-
+ arch/x86/include/asm/alternative-asm.h | 43 +-
arch/x86/include/asm/alternative.h | 4 +-
arch/x86/include/asm/apic.h | 2 +-
arch/x86/include/asm/apm.h | 4 +-
arch/x86/include/asm/atomic.h | 230 +-
- arch/x86/include/asm/atomic64_32.h | 100 +
- arch/x86/include/asm/atomic64_64.h | 164 +-
+ arch/x86/include/asm/atomic64_32.h | 119 +
+ arch/x86/include/asm/atomic64_64.h | 169 +-
arch/x86/include/asm/bitops.h | 18 +-
arch/x86/include/asm/boot.h | 2 +-
- arch/x86/include/asm/cache.h | 5 +-
+ arch/x86/include/asm/cache.h | 4 +-
arch/x86/include/asm/checksum_32.h | 12 +-
arch/x86/include/asm/cmpxchg.h | 39 +
arch/x86/include/asm/compat.h | 4 +
- arch/x86/include/asm/cpufeature.h | 16 +-
+ arch/x86/include/asm/cpufeature.h | 2 +-
+ arch/x86/include/asm/cpufeatures.h | 5 +-
arch/x86/include/asm/crypto/camellia.h | 30 +-
arch/x86/include/asm/crypto/glue_helper.h | 10 +-
arch/x86/include/asm/crypto/serpent-avx.h | 18 +-
arch/x86/include/asm/dma.h | 2 +
arch/x86/include/asm/elf.h | 33 +-
arch/x86/include/asm/emergency-restart.h | 2 +-
+ arch/x86/include/asm/fixmap.h | 2 +-
arch/x86/include/asm/fpu/internal.h | 38 +-
arch/x86/include/asm/fpu/types.h | 5 +-
arch/x86/include/asm/futex.h | 14 +-
arch/x86/include/asm/smp.h | 14 +-
arch/x86/include/asm/stackprotector.h | 4 +-
arch/x86/include/asm/stacktrace.h | 34 +-
+ arch/x86/include/asm/string_32.h | 20 +-
+ arch/x86/include/asm/string_64.h | 16 +-
arch/x86/include/asm/switch_to.h | 4 +-
arch/x86/include/asm/sys_ia32.h | 6 +-
- arch/x86/include/asm/thread_info.h | 27 +-
+ arch/x86/include/asm/thread_info.h | 54 +-
arch/x86/include/asm/tlbflush.h | 77 +-
arch/x86/include/asm/traps.h | 4 +-
arch/x86/include/asm/uaccess.h | 210 +-
arch/x86/kernel/apic/x2apic_phys.c | 2 +-
arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
arch/x86/kernel/apm_32.c | 21 +-
- arch/x86/kernel/asm-offsets.c | 20 +
- arch/x86/kernel/asm-offsets_64.c | 1 +
+ arch/x86/kernel/asm-offsets.c | 22 +
arch/x86/kernel/cpu/Makefile | 4 -
arch/x86/kernel/cpu/amd.c | 2 +-
arch/x86/kernel/cpu/bugs_64.c | 2 +
arch/x86/kernel/cpu/mtrr/generic.c | 6 +-
arch/x86/kernel/cpu/mtrr/main.c | 2 +-
arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
- arch/x86/kernel/cpu/perf_event.c | 10 +-
- arch/x86/kernel/cpu/perf_event.h | 2 +-
- arch/x86/kernel/cpu/perf_event_amd_iommu.c | 8 +-
- arch/x86/kernel/cpu/perf_event_intel.c | 34 +-
- arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
- arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
- arch/x86/kernel/cpu/perf_event_intel_ds.c | 7 +-
- arch/x86/kernel/cpu/perf_event_intel_lbr.c | 4 +-
- arch/x86/kernel/cpu/perf_event_intel_pt.c | 42 +-
- arch/x86/kernel/cpu/perf_event_intel_rapl.c | 8 +-
- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 6 +-
- arch/x86/kernel/cpu/perf_event_intel_uncore.h | 14 +-
arch/x86/kernel/cpu/vmware.c | 2 +-
arch/x86/kernel/crash_dump_64.c | 2 +-
arch/x86/kernel/doublefault.c | 8 +-
arch/x86/kernel/e820.c | 4 +-
arch/x86/kernel/early_printk.c | 1 +
arch/x86/kernel/espfix_64.c | 44 +-
- arch/x86/kernel/fpu/core.c | 24 +-
+ arch/x86/kernel/fpu/core.c | 30 +-
arch/x86/kernel/fpu/init.c | 49 +-
arch/x86/kernel/fpu/regset.c | 22 +-
arch/x86/kernel/fpu/signal.c | 20 +-
- arch/x86/kernel/fpu/xstate.c | 6 +-
+ arch/x86/kernel/fpu/xstate.c | 12 +-
arch/x86/kernel/ftrace.c | 18 +-
arch/x86/kernel/head64.c | 14 +-
- arch/x86/kernel/head_32.S | 237 +-
- arch/x86/kernel/head_64.S | 173 +-
+ arch/x86/kernel/head_32.S | 240 +-
+ arch/x86/kernel/head_64.S | 182 +-
arch/x86/kernel/i386_ksyms_32.c | 12 +
arch/x86/kernel/i8259.c | 10 +-
arch/x86/kernel/io_delay.c | 2 +-
arch/x86/kernel/msr.c | 2 +-
arch/x86/kernel/nmi.c | 34 +-
arch/x86/kernel/nmi_selftest.c | 4 +-
- arch/x86/kernel/paravirt-spinlocks.c | 2 +-
- arch/x86/kernel/paravirt.c | 43 +-
+ arch/x86/kernel/paravirt-spinlocks.c | 24 +-
+ arch/x86/kernel/paravirt.c | 133 +-
arch/x86/kernel/paravirt_patch_64.c | 8 +
arch/x86/kernel/pci-calgary_64.c | 2 +-
arch/x86/kernel/pci-iommu_table.c | 2 +-
arch/x86/kernel/time.c | 8 +-
arch/x86/kernel/tls.c | 7 +-
arch/x86/kernel/tracepoint.c | 4 +-
- arch/x86/kernel/traps.c | 64 +-
+ arch/x86/kernel/traps.c | 66 +-
arch/x86/kernel/tsc.c | 2 +-
arch/x86/kernel/uprobes.c | 4 +-
arch/x86/kernel/vm86_32.c | 6 +-
- arch/x86/kernel/vmlinux.lds.S | 153 +-
+ arch/x86/kernel/vmlinux.lds.S | 144 +-
arch/x86/kernel/x8664_ksyms_64.c | 6 +-
arch/x86/kernel/x86_init.c | 6 +-
arch/x86/kvm/cpuid.c | 21 +-
arch/x86/lib/mmx_32.c | 243 +-
arch/x86/lib/msr-reg.S | 2 +
arch/x86/lib/putuser.S | 87 +-
- arch/x86/lib/rwsem.S | 6 +-
+ arch/x86/lib/rwsem.S | 4 +
arch/x86/lib/usercopy_32.c | 359 +-
arch/x86/lib/usercopy_64.c | 22 +-
arch/x86/math-emu/fpu_aux.c | 2 +-
arch/x86/math-emu/fpu_entry.c | 4 +-
+ arch/x86/math-emu/fpu_etc.c | 9 +-
arch/x86/math-emu/fpu_system.h | 2 +-
- arch/x86/mm/Makefile | 4 +
- arch/x86/mm/extable.c | 26 +-
- arch/x86/mm/fault.c | 570 +-
+ arch/x86/math-emu/fpu_trig.c | 13 +-
+ arch/x86/math-emu/reg_constant.c | 7 +-
+ arch/x86/mm/Makefile | 3 +
+ arch/x86/mm/extable.c | 20 +-
+ arch/x86/mm/fault.c | 573 +-
arch/x86/mm/gup.c | 6 +-
arch/x86/mm/highmem_32.c | 6 +
arch/x86/mm/hugetlbpage.c | 24 +-
- arch/x86/mm/init.c | 111 +-
- arch/x86/mm/init_32.c | 111 +-
- arch/x86/mm/init_64.c | 46 +-
+ arch/x86/mm/init.c | 19 +-
+ arch/x86/mm/init_32.c | 157 +-
+ arch/x86/mm/init_64.c | 100 +-
arch/x86/mm/iomap_32.c | 4 +
arch/x86/mm/ioremap.c | 52 +-
arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
- arch/x86/mm/mmap.c | 40 +-
+ arch/x86/mm/mmap.c | 46 +-
arch/x86/mm/mmio-mod.c | 10 +-
arch/x86/mm/mpx.c | 6 +-
arch/x86/mm/numa.c | 2 +-
- arch/x86/mm/pageattr.c | 42 +-
+ arch/x86/mm/pageattr.c | 36 +-
arch/x86/mm/pat.c | 12 +-
arch/x86/mm/pat_rbtree.c | 2 +-
arch/x86/mm/pf_in.c | 10 +-
- arch/x86/mm/pgtable.c | 209 +-
+ arch/x86/mm/pgtable.c | 211 +-
arch/x86/mm/pgtable_32.c | 3 +
arch/x86/mm/setup_nx.c | 7 +
arch/x86/mm/tlb.c | 4 +
arch/x86/platform/olpc/olpc_dt.c | 2 +-
arch/x86/power/cpu.c | 11 +-
arch/x86/realmode/init.c | 10 +-
- arch/x86/realmode/rm/Makefile | 3 +
arch/x86/realmode/rm/header.S | 4 +-
arch/x86/realmode/rm/reboot.S | 4 +
arch/x86/realmode/rm/trampoline_32.S | 12 +-
arch/x86/um/mem_32.c | 2 +-
arch/x86/um/tls_32.c | 2 +-
arch/x86/xen/enlighten.c | 52 +-
- arch/x86/xen/mmu.c | 19 +-
+ arch/x86/xen/mmu.c | 31 +-
arch/x86/xen/smp.c | 16 +-
arch/x86/xen/xen-asm_32.S | 2 +-
- arch/x86/xen/xen-head.S | 11 +
+ arch/x86/xen/xen-head.S | 12 +
arch/x86/xen/xen-ops.h | 2 -
block/bio.c | 4 +-
block/blk-cgroup.c | 18 +-
crypto/pcrypt.c | 2 +-
crypto/salsa20_generic.c | 16 +-
crypto/serpent_generic.c | 6 +-
- crypto/zlib.c | 12 +-
drivers/acpi/ac.c | 2 +-
drivers/acpi/acpi_video.c | 2 +-
drivers/acpi/apei/apei-internal.h | 2 +-
drivers/base/syscore.c | 4 +-
drivers/block/cciss.c | 28 +-
drivers/block/cciss.h | 2 +-
- drivers/block/cpqarray.c | 28 +-
- drivers/block/cpqarray.h | 2 +-
drivers/block/drbd/drbd_bitmap.c | 2 +-
drivers/block/drbd/drbd_int.h | 8 +-
drivers/block/drbd/drbd_main.c | 12 +-
drivers/block/pktcdvd.c | 4 +-
drivers/block/rbd.c | 2 +-
drivers/bluetooth/btwilink.c | 2 +-
- drivers/bus/arm-cci.c | 12 +-
+ drivers/bus/arm-cci.c | 6 +-
drivers/cdrom/cdrom.c | 11 +-
drivers/cdrom/gdrom.c | 1 -
drivers/char/agp/compat_ioctl.c | 2 +-
drivers/char/pcmcia/synclink_cs.c | 16 +-
drivers/char/random.c | 12 +-
drivers/char/sonypi.c | 11 +-
+ drivers/char/tpm/tpm-chip.c | 7 +-
drivers/char/tpm/tpm_acpi.c | 3 +-
drivers/char/tpm/tpm_eventlog.c | 5 +-
drivers/char/virtio_console.c | 6 +-
drivers/clk/clk-composite.c | 2 +-
drivers/clk/samsung/clk.h | 2 +-
+ drivers/clk/socfpga/clk-gate-a10.c | 9 +-
drivers/clk/socfpga/clk-gate.c | 9 +-
+ drivers/clk/socfpga/clk-pll-a10.c | 9 +-
drivers/clk/socfpga/clk-pll.c | 9 +-
+ drivers/clk/ti/adpll.c | 2 +-
drivers/clk/ti/clk.c | 8 +-
drivers/cpufreq/acpi-cpufreq.c | 17 +-
drivers/cpufreq/cpufreq-dt.c | 4 +-
drivers/cpufreq/cpufreq.c | 27 +-
- drivers/cpufreq/cpufreq_governor.c | 2 +-
- drivers/cpufreq/cpufreq_governor.h | 10 +-
+ drivers/cpufreq/cpufreq_governor.h | 2 +-
drivers/cpufreq/cpufreq_ondemand.c | 10 +-
- drivers/cpufreq/intel_pstate.c | 54 +-
+ drivers/cpufreq/intel_pstate.c | 56 +-
drivers/cpufreq/p4-clockmod.c | 12 +-
drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
drivers/cpufreq/speedstep-centrino.c | 7 +-
drivers/crypto/qat/qat_common/adf_sriov.c | 4 +-
drivers/crypto/qat/qat_common/adf_vf_isr.c | 6 +-
drivers/devfreq/devfreq.c | 4 +-
+ drivers/dma-buf/dma-buf.c | 5 +-
+ drivers/dma/qcom/hidma_mgmt_sys.c | 2 +-
drivers/dma/sh/shdma-base.c | 4 +-
drivers/dma/sh/shdmac.c | 2 +-
drivers/edac/edac_device.c | 4 +-
drivers/firmware/dmi-id.c | 9 +-
drivers/firmware/dmi_scan.c | 12 +-
drivers/firmware/efi/cper.c | 8 +-
- drivers/firmware/efi/efi.c | 12 +-
+ drivers/firmware/efi/efi.c | 14 +-
drivers/firmware/efi/efivars.c | 2 +-
drivers/firmware/efi/runtime-map.c | 2 +-
drivers/firmware/google/gsmi.c | 2 +-
drivers/gpio/gpio-davinci.c | 6 +-
drivers/gpio/gpio-em.c | 2 +-
drivers/gpio/gpio-ich.c | 2 +-
+ drivers/gpio/gpio-mpc8xxx.c | 6 +-
drivers/gpio/gpio-omap.c | 4 +-
drivers/gpio/gpio-rcar.c | 2 +-
drivers/gpio/gpio-vr41xx.c | 2 +-
drivers/gpu/drm/armada/armada_drv.c | 3 +-
drivers/gpu/drm/ast/ast_mode.c | 2 +-
drivers/gpu/drm/bochs/bochs_kms.c | 2 +-
- drivers/gpu/drm/drm_atomic.c | 7 +-
- drivers/gpu/drm/drm_crtc.c | 10 +-
+ drivers/gpu/drm/drm_crtc.c | 2 +-
drivers/gpu/drm/drm_drv.c | 2 +-
- drivers/gpu/drm/drm_fops.c | 12 +-
+ drivers/gpu/drm/drm_fops.c | 19 +-
drivers/gpu/drm/drm_global.c | 14 +-
drivers/gpu/drm/drm_info.c | 13 +-
drivers/gpu/drm/drm_ioc32.c | 13 +-
drivers/gpu/drm/drm_ioctl.c | 2 +-
- drivers/gpu/drm/drm_irq.c | 7 +-
drivers/gpu/drm/drm_pci.c | 9 +-
drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 7 +-
+ drivers/gpu/drm/exynos/exynos_drm_g2d.c | 5 +
drivers/gpu/drm/gma500/cdv_intel_crt.c | 2 +-
drivers/gpu/drm/gma500/cdv_intel_dp.c | 2 +-
drivers/gpu/drm/gma500/cdv_intel_hdmi.c | 2 +-
drivers/gpu/drm/gma500/cdv_intel_lvds.c | 2 +-
- drivers/gpu/drm/gma500/mdfld_dsi_output.c | 8 +-
+ drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 3 +
+ drivers/gpu/drm/gma500/mdfld_dsi_output.c | 2 +-
drivers/gpu/drm/gma500/oaktrail_hdmi.c | 2 +-
drivers/gpu/drm/gma500/psb_drv.c | 1 -
drivers/gpu/drm/gma500/psb_intel_drv.h | 2 +-
drivers/gpu/drm/i915/i915_gem_gtt.h | 6 +-
drivers/gpu/drm/i915/i915_ioc32.c | 10 +-
drivers/gpu/drm/i915/i915_irq.c | 88 +-
- drivers/gpu/drm/i915/intel_display.c | 26 +-
+ drivers/gpu/drm/i915/intel_display.c | 30 +-
drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
drivers/gpu/drm/mga/mga_drv.c | 5 +-
drivers/gpu/drm/mga/mga_drv.h | 6 +-
drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c | 7 +-
.../gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c | 7 +-
- drivers/gpu/drm/omapdrm/Makefile | 2 +-
+ drivers/gpu/drm/nouveau/nvkm/subdev/secboot/priv.h | 4 +-
drivers/gpu/drm/omapdrm/dss/display.c | 8 +-
drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
drivers/gpu/drm/via/via_irq.c | 18 +-
drivers/gpu/drm/virtio/virtgpu_display.c | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
- drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 7 +-
drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
drivers/hid/hid-magicmouse.c | 2 +-
drivers/hid/hid-sensor-custom.c | 2 +-
drivers/hv/channel.c | 6 +-
- drivers/hv/hv.c | 4 +-
+ drivers/hv/hv.c | 22 +-
drivers/hv/hv_balloon.c | 18 +-
drivers/hv/hyperv_vmbus.h | 2 +-
drivers/hwmon/acpi_power_meter.c | 6 +-
- drivers/hwmon/applesmc.c | 2 +-
+ drivers/hwmon/applesmc.c | 4 +-
drivers/hwmon/asus_atk0110.c | 10 +-
drivers/hwmon/coretemp.c | 2 +-
- drivers/hwmon/dell-smm-hwmon.c | 2 +-
+ drivers/hwmon/dell-smm-hwmon.c | 4 +-
drivers/hwmon/ibmaem.c | 2 +-
drivers/hwmon/iio_hwmon.c | 2 +-
drivers/hwmon/nct6683.c | 6 +-
drivers/infiniband/hw/cxgb4/device.c | 6 +-
drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +-
drivers/infiniband/hw/cxgb4/mem.c | 4 +-
+ drivers/infiniband/hw/i40iw/i40iw_user.h | 2 +-
drivers/infiniband/hw/mlx4/mad.c | 2 +-
drivers/infiniband/hw/mlx4/mcg.c | 2 +-
drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
drivers/infiniband/hw/nes/nes_nic.c | 42 +-
drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
- drivers/infiniband/hw/qib/qib.h | 1 +
drivers/infiniband/hw/qib/qib_iba7322.c | 4 +-
drivers/infiniband/hw/qib/qib_pcie.c | 2 +-
drivers/infiniband/ulp/ipoib/ipoib_main.c | 2 +-
drivers/input/touchscreen/htcpen.c | 2 +-
drivers/iommu/arm-smmu-v3.c | 2 +-
drivers/iommu/arm-smmu.c | 42 +-
- drivers/iommu/io-pgtable-arm.c | 98 +-
+ drivers/iommu/io-pgtable-arm-v7s.c | 62 +-
+ drivers/iommu/io-pgtable-arm.c | 99 +-
drivers/iommu/io-pgtable.c | 11 +-
drivers/iommu/io-pgtable.h | 21 +-
drivers/iommu/iommu.c | 2 +-
drivers/iommu/ipmmu-vmsa.c | 13 +-
drivers/iommu/irq_remapping.c | 2 +-
+ drivers/iommu/mtk_iommu.c | 16 +-
drivers/irqchip/irq-gic.c | 2 +-
drivers/irqchip/irq-i8259.c | 2 +-
drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
drivers/isdn/hisax/elsa.c | 9 +-
drivers/isdn/hisax/fsm.c | 5 +-
drivers/isdn/hisax/hfc4s8s_l1.c | 14 +-
+ drivers/isdn/hisax/hfc_2bds0.c | 4 +-
drivers/isdn/hisax/hfc_pci.c | 10 +-
drivers/isdn/hisax/hfc_sx.c | 10 +-
drivers/isdn/hisax/hfc_usb.c | 12 +-
+ drivers/isdn/hisax/hfcscard.c | 6 +-
drivers/isdn/hisax/icc.c | 5 +-
drivers/isdn/hisax/ipacx.c | 7 +-
drivers/isdn/hisax/isac.c | 5 +-
drivers/isdn/hisax/isar.c | 5 +-
drivers/isdn/hisax/isdnl3.c | 5 +-
+ drivers/isdn/hisax/saphir.c | 5 +-
+ drivers/isdn/hisax/teleint.c | 5 +-
drivers/isdn/hisax/w6692.c | 5 +-
drivers/isdn/i4l/isdn_common.c | 2 +
drivers/isdn/i4l/isdn_tty.c | 22 +-
- drivers/isdn/icn/icn.c | 2 +-
drivers/isdn/mISDN/dsp.h | 4 +-
drivers/isdn/mISDN/dsp_cmx.c | 4 +-
drivers/isdn/mISDN/dsp_core.c | 4 +-
drivers/isdn/mISDN/dsp_tones.c | 4 +-
drivers/isdn/mISDN/fsm.c | 5 +-
drivers/isdn/mISDN/l1oip_core.c | 8 +-
+ drivers/leds/leds-clevo-mail.c | 2 +-
+ drivers/leds/leds-ss4200.c | 2 +-
drivers/lguest/core.c | 9 +-
drivers/lguest/page_tables.c | 2 +-
drivers/lguest/x86/core.c | 12 +-
drivers/lightnvm/rrpc.h | 2 +-
drivers/md/bcache/alloc.c | 2 +-
drivers/md/bcache/bcache.h | 10 +-
- drivers/md/bcache/btree.c | 2 +-
- drivers/md/bcache/closure.h | 2 +-
+ drivers/md/bcache/btree.c | 13 +-
+ drivers/md/bcache/closure.c | 4 +-
+ drivers/md/bcache/closure.h | 10 +-
drivers/md/bcache/io.c | 10 +-
- drivers/md/bcache/journal.c | 2 +-
+ drivers/md/bcache/journal.c | 18 +-
+ drivers/md/bcache/movinggc.c | 12 +-
+ drivers/md/bcache/request.c | 54 +-
+ drivers/md/bcache/request.h | 2 +-
drivers/md/bcache/stats.c | 26 +-
drivers/md/bcache/stats.h | 16 +-
- drivers/md/bcache/super.c | 2 +-
+ drivers/md/bcache/super.c | 32 +-
drivers/md/bcache/sysfs.c | 20 +-
+ drivers/md/bcache/writeback.c | 12 +-
drivers/md/bitmap.c | 2 +-
drivers/md/dm-cache-target.c | 116 +-
drivers/md/dm-ioctl.c | 2 +-
drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
drivers/media/pci/solo6x10/solo6x10.h | 2 +-
+ drivers/media/pci/sta2x11/sta2x11_vip.c | 5 +-
drivers/media/pci/tw68/tw68-core.c | 2 +-
drivers/media/pci/zoran/zoran.h | 1 -
drivers/media/pci/zoran/zoran_card.c | 4 +-
drivers/media/pci/zoran/zoran_driver.c | 3 -
+ drivers/media/platform/am437x/am437x-vpfe.c | 2 +-
drivers/media/platform/omap/omap_vout.c | 11 +-
drivers/media/platform/s5p-tv/mixer.h | 2 +-
drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
drivers/media/v4l2-core/v4l2-common.c | 2 +-
drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
drivers/media/v4l2-core/v4l2-device.c | 4 +-
- drivers/media/v4l2-core/v4l2-ioctl.c | 293 +-
+ drivers/media/v4l2-core/v4l2-ioctl.c | 287 +-
drivers/memory/omap-gpmc.c | 21 +-
drivers/message/fusion/mptbase.c | 4 +-
drivers/message/fusion/mptlan.c | 2 +-
drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
drivers/misc/mic/scif/scif_api.c | 10 +-
drivers/misc/mic/scif/scif_rb.c | 8 +-
+ drivers/misc/panel.c | 4 +-
drivers/misc/sgi-gru/gruhandles.c | 4 +-
drivers/misc/sgi-gru/gruprocfs.c | 8 +-
drivers/misc/sgi-gru/grutables.h | 158 +-
drivers/mtd/maps/pci.c | 4 +-
drivers/mtd/maps/pcmciamtd.c | 8 +-
drivers/mtd/maps/sbc_gxx.c | 2 +-
+ drivers/mtd/nand/brcmnand/brcmnand.h | 2 +-
drivers/mtd/nand/cafe_nand.c | 18 +-
drivers/mtd/nand/denali.c | 1 +
drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
drivers/net/caif/caif_spi.c | 2 +-
drivers/net/caif/caif_virtio.c | 2 +-
drivers/net/can/Kconfig | 2 +-
+ drivers/net/can/bfin_can.c | 2 +-
drivers/net/can/dev.c | 2 +-
+ drivers/net/can/flexcan.c | 2 +-
drivers/net/can/janz-ican3.c | 2 +-
drivers/net/can/led.c | 2 +-
drivers/net/can/sun4i_can.c | 2 +-
drivers/net/can/vcan.c | 2 +-
drivers/net/can/xilinx_can.c | 2 +-
drivers/net/dummy.c | 2 +-
- drivers/net/ethernet/8390/ax88796.c | 4 +-
+ drivers/net/ethernet/8390/ax88796.c | 6 +-
drivers/net/ethernet/8390/axnet_cs.c | 4 +-
drivers/net/ethernet/8390/ne2k-pci.c | 6 +-
drivers/net/ethernet/8390/pcnet_cs.c | 4 +-
+ drivers/net/ethernet/adi/bfin_mac.c | 2 +-
+ drivers/net/ethernet/allwinner/sun4i-emac.c | 2 +-
drivers/net/ethernet/altera/altera_tse_main.c | 6 +-
+ drivers/net/ethernet/amd/7990.c | 2 +-
+ drivers/net/ethernet/amd/7990.h | 2 +-
drivers/net/ethernet/amd/amd8111e.c | 5 +-
+ drivers/net/ethernet/amd/atarilance.c | 4 +-
+ drivers/net/ethernet/amd/declance.c | 2 +-
drivers/net/ethernet/amd/pcnet32.c | 7 +-
+ drivers/net/ethernet/amd/sun3lance.c | 4 +-
+ drivers/net/ethernet/amd/sunlance.c | 2 +-
drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
- drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 143 +-
- drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 66 +-
+ drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 145 +-
+ drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 68 +-
drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 10 +-
drivers/net/ethernet/amd/xgbe/xgbe-main.c | 15 +-
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 27 +-
drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 +-
drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 2 +-
drivers/net/ethernet/aurora/nb8800.c | 2 +-
+ drivers/net/ethernet/broadcom/bcm63xx_enet.c | 2 +-
drivers/net/ethernet/broadcom/bnx2.c | 2 +-
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 216 +-
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 2 +-
drivers/net/ethernet/chelsio/cxgb4vf/adapter.h | 2 +-
drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 2 +-
+ drivers/net/ethernet/davicom/dm9000.c | 2 +-
drivers/net/ethernet/dec/tulip/de4x5.c | 13 +-
drivers/net/ethernet/emulex/benet/be_main.c | 4 +-
- drivers/net/ethernet/faraday/ftgmac100.c | 2 +
- drivers/net/ethernet/faraday/ftmac100.c | 2 +
+ drivers/net/ethernet/faraday/ftgmac100.c | 4 +-
+ drivers/net/ethernet/faraday/ftmac100.c | 4 +-
+ drivers/net/ethernet/freescale/fec_mpc52xx.c | 2 +-
+ .../net/ethernet/freescale/fs_enet/fs_enet-main.c | 2 +-
+ drivers/net/ethernet/freescale/gianfar.c | 4 +-
+ drivers/net/ethernet/freescale/ucc_geth.c | 2 +-
drivers/net/ethernet/hisilicon/hip04_eth.c | 2 +-
drivers/net/ethernet/hisilicon/hix5hd2_gmac.c | 2 +-
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 6 +-
+ drivers/net/ethernet/i825xx/lib82596.c | 4 +-
+ drivers/net/ethernet/ibm/ehea/ehea_main.c | 2 +-
+ drivers/net/ethernet/ibm/emac/core.c | 4 +-
drivers/net/ethernet/intel/e100.c | 2 +-
drivers/net/ethernet/intel/e1000/e1000_main.c | 2 +-
drivers/net/ethernet/intel/e1000e/netdev.c | 2 +-
drivers/net/ethernet/mellanox/mlx4/main.c | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/main.c | 2 +-
drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 +-
+ drivers/net/ethernet/micrel/ks8695net.c | 2 +-
drivers/net/ethernet/micrel/ks8851_mll.c | 2 +-
+ drivers/net/ethernet/moxa/moxart_ether.c | 2 +-
drivers/net/ethernet/neterion/s2io.c | 2 +-
drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
drivers/net/ethernet/neterion/vxge/vxge-main.c | 2 +-
.../net/ethernet/netronome/nfp/nfp_net_common.c | 2 +-
+ drivers/net/ethernet/netx-eth.c | 2 +-
+ drivers/net/ethernet/nuvoton/w90p910_ether.c | 2 +-
drivers/net/ethernet/nvidia/forcedeth.c | 4 +-
+ drivers/net/ethernet/nxp/lpc_eth.c | 2 +-
.../net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c | 4 +-
.../net/ethernet/qlogic/netxen/netxen_nic_main.c | 2 +-
+ drivers/net/ethernet/qlogic/qed/qed_mcp.c | 6 +-
.../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
.../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 2 +-
.../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
drivers/net/ethernet/realtek/r8169.c | 8 +-
drivers/net/ethernet/renesas/sh_eth.c | 2 +-
- drivers/net/ethernet/rocker/rocker.c | 4 +-
+ drivers/net/ethernet/rocker/rocker_main.c | 4 +-
+ drivers/net/ethernet/seeq/sgiseeq.c | 2 +-
drivers/net/ethernet/sfc/ptp.c | 2 +-
drivers/net/ethernet/sfc/selftest.c | 20 +-
+ drivers/net/ethernet/sgi/ioc3-eth.c | 4 +-
+ drivers/net/ethernet/smsc/smc911x.c | 2 +-
+ drivers/net/ethernet/smsc/smc91x.c | 2 +-
drivers/net/ethernet/smsc/smsc911x.c | 2 +-
drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
+ drivers/net/ethernet/sun/sunbmac.c | 2 +-
+ drivers/net/ethernet/sun/sunqe.c | 2 +-
+ drivers/net/ethernet/sun/sunvnet.c | 2 +-
+ drivers/net/ethernet/sun/sunvnet_common.c | 6 +-
drivers/net/ethernet/synopsys/dwc_eth_qos.c | 2 +-
+ drivers/net/ethernet/ti/cpmac.c | 2 +-
+ drivers/net/ethernet/ti/netcp_core.c | 2 +-
drivers/net/ethernet/via/via-rhine.c | 2 +-
drivers/net/ethernet/wiznet/w5100.c | 2 +-
drivers/net/ethernet/wiznet/w5300.c | 2 +-
+ drivers/net/ethernet/xilinx/ll_temac_main.c | 2 +-
+ drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 +-
drivers/net/geneve.c | 2 +-
+ drivers/net/hamradio/baycom_epp.c | 2 +-
drivers/net/hyperv/hyperv_net.h | 2 +-
drivers/net/hyperv/netvsc_drv.c | 2 +-
drivers/net/hyperv/rndis_filter.c | 7 +-
drivers/net/irda/sh_irda.c | 2 +-
drivers/net/irda/vlsi_ir.c | 18 +-
drivers/net/irda/vlsi_ir.h | 14 +-
+ drivers/net/loopback.c | 2 +-
+ drivers/net/macsec.c | 2 +-
drivers/net/macvlan.c | 20 +-
drivers/net/macvtap.c | 10 +-
drivers/net/nlmon.c | 2 +-
drivers/net/phy/phy_device.c | 6 +-
drivers/net/plip/plip.c | 2 +-
drivers/net/ppp/ppp_generic.c | 4 +-
- drivers/net/ppp/pptp.c | 1 +
+ drivers/net/ppp/pptp.c | 2 +-
drivers/net/rionet.c | 2 +-
drivers/net/slip/slhc.c | 2 +-
drivers/net/team/team.c | 4 +-
drivers/net/wireless/atmel/atmel.c | 183 +-
drivers/net/wireless/broadcom/b43/phy_lp.c | 2 +-
drivers/net/wireless/broadcom/b43legacy/main.c | 5 +-
+ .../broadcom/brcm80211/brcmfmac/cfg80211.c | 55 +-
.../broadcom/brcm80211/brcmsmac/phy/phy_cmn.c | 3 +-
.../broadcom/brcm80211/brcmsmac/phy_shim.c | 5 +-
.../broadcom/brcm80211/brcmsmac/phy_shim.h | 2 +-
drivers/net/wireless/intel/iwlegacy/3945-mac.c | 11 +-
drivers/net/wireless/intel/iwlegacy/4965-mac.c | 7 +-
drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c | 34 +-
- drivers/net/wireless/intel/iwlwifi/mvm/d3.c | 4 +-
- drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 2 +-
+ drivers/net/wireless/intel/iwlwifi/dvm/lib.c | 4 +-
+ drivers/net/wireless/intel/iwlwifi/mvm/d3.c | 8 +-
+ drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 4 +-
drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 4 +-
.../net/wireless/intersil/hostap/hostap_ioctl.c | 134 +-
drivers/net/wireless/intersil/orinoco/wext.c | 131 +-
drivers/net/wireless/intersil/prism54/isl_ioctl.c | 292 +-
drivers/net/wireless/mac80211_hwsim.c | 28 +-
+ drivers/net/wireless/marvell/mwifiex/11n_aggr.c | 2 +-
drivers/net/wireless/marvell/mwifiex/main.c | 2 +-
+ drivers/net/wireless/marvell/mwifiex/pcie.c | 4 +-
+ drivers/net/wireless/marvell/mwifiex/sdio.c | 10 +-
drivers/net/wireless/ralink/rt2x00/rt2400pci.c | 4 +-
drivers/net/wireless/ralink/rt2x00/rt2500pci.c | 4 +-
drivers/net/wireless/ralink/rt2x00/rt2500usb.c | 4 +-
drivers/net/wireless/ti/wl12xx/main.c | 8 +-
drivers/net/wireless/ti/wl18xx/main.c | 6 +-
drivers/net/wireless/zydas/zd1201.c | 192 +-
+ drivers/net/xen-netback/interface.c | 2 +-
+ drivers/net/xen-netfront.c | 2 +-
drivers/nvme/host/pci.c | 2 +-
drivers/of/fdt.c | 4 +-
drivers/oprofile/buffer_sync.c | 8 +-
drivers/oprofile/oprof.c | 2 +-
drivers/oprofile/oprofile_stats.c | 10 +-
drivers/oprofile/oprofile_stats.h | 10 +-
- drivers/oprofile/oprofilefs.c | 2 +-
+ drivers/oprofile/oprofilefs.c | 6 +-
drivers/oprofile/timer_int.c | 2 +-
drivers/parport/procfs.c | 4 +-
- drivers/pci/host/pci-host-generic.c | 2 +-
+ drivers/pci/host/pci-host-common.h | 2 +-
drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
drivers/pci/hotplug/cpcihp_generic.c | 6 +-
drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
drivers/pci/pcie/aspm.c | 10 +-
drivers/pci/pcie/portdrv_pci.c | 2 +-
drivers/pci/probe.c | 2 +-
- drivers/pci/setup-bus.c | 2 +-
+ drivers/pci/setup-bus.c | 10 +-
drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 +-
drivers/pinctrl/pinctrl-at91.c | 5 +-
+ drivers/platform/chrome/chromeos_laptop.c | 2 +-
drivers/platform/chrome/chromeos_pstore.c | 2 +-
+ drivers/platform/chrome/cros_ec_lpc.c | 2 +-
drivers/platform/x86/alienware-wmi.c | 4 +-
drivers/platform/x86/apple-gmux.c | 2 +-
drivers/platform/x86/compal-laptop.c | 2 +-
drivers/platform/x86/samsung-laptop.c | 2 +-
drivers/platform/x86/samsung-q10.c | 2 +-
drivers/platform/x86/sony-laptop.c | 14 +-
- drivers/platform/x86/thinkpad_acpi.c | 11 +-
+ drivers/platform/x86/thinkpad_acpi.c | 10 +-
drivers/pnp/pnpbios/bioscalls.c | 14 +-
drivers/pnp/pnpbios/core.c | 2 +-
drivers/power/pda_power.c | 7 +-
drivers/rtc/rtc-rv8803.c | 15 +-
drivers/rtc/rtc-rx8010.c | 8 +-
drivers/rtc/rtc-test.c | 6 +-
- drivers/scsi/aacraid/aachba.c | 11 +-
+ drivers/scsi/aacraid/aachba.c | 7 +-
drivers/scsi/aic7xxx/aic79xx.h | 2 +-
drivers/scsi/aic7xxx/aic79xx_core.c | 11 +-
drivers/scsi/be2iscsi/be_main.c | 2 +-
drivers/scsi/csiostor/csio_scsi.c | 37 +-
drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
drivers/scsi/fcoe/fcoe_transport.c | 16 +-
- drivers/scsi/hosts.c | 4 +-
drivers/scsi/hpsa.c | 38 +-
drivers/scsi/hpsa.h | 2 +-
drivers/scsi/hptiop.c | 2 -
drivers/staging/fbtft/fbtft.h | 2 +-
drivers/staging/gdm724x/gdm_lte.c | 2 +-
drivers/staging/gdm724x/gdm_tty.c | 2 +-
- drivers/staging/gdm72xx/gdm_wimax.c | 2 +-
+ drivers/staging/i4l/icn/icn.c | 2 +-
drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
drivers/staging/iio/adc/ad7280a.c | 4 +-
.../staging/lustre/lnet/klnds/socklnd/socklnd.h | 6 +-
drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
- drivers/staging/lustre/lnet/selftest/framework.c | 4 -
+ drivers/staging/lustre/lnet/selftest/framework.c | 2 -
drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
- .../lustre/lustre/include/lustre/lustre_idl.h | 92 +-
+ drivers/staging/lustre/lnet/selftest/selftest.h | 2 -
+ .../lustre/lustre/include/lustre/lustre_idl.h | 82 +-
drivers/staging/lustre/lustre/include/lustre_dlm.h | 8 +-
drivers/staging/lustre/lustre/include/lustre_net.h | 2 +-
drivers/staging/lustre/lustre/include/obd.h | 2 +-
drivers/staging/lustre/lustre/obdclass/llog_swab.c | 24 +-
drivers/staging/lustre/lustre/osc/osc_request.c | 24 +-
drivers/staging/lustre/lustre/ptlrpc/layout.c | 7 +-
- .../staging/lustre/lustre/ptlrpc/pack_generic.c | 151 +-
- drivers/staging/octeon/ethernet-rx.c | 24 +-
- drivers/staging/octeon/ethernet.c | 8 +-
- drivers/staging/panel/panel.c | 4 +-
+ .../staging/lustre/lustre/ptlrpc/pack_generic.c | 136 +-
drivers/staging/rdma/hfi1/pcie.c | 2 +-
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 18 +-
drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 2 +-
drivers/staging/rtl8712/rtl871x_ioctl.h | 14 -
drivers/staging/rtl8712/rtl871x_xmit.c | 2 +-
drivers/staging/rtl8712/rtl871x_xmit.h | 2 +-
- drivers/staging/rtl8712/usb_ops_linux.c | 2 +-
+ drivers/staging/rtl8712/usb_ops_linux.c | 4 +-
drivers/staging/rtl8712/xmit_linux.c | 2 +-
drivers/staging/rtl8712/xmit_osdep.h | 2 +-
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 12 +-
drivers/staging/sm750fb/sm750.c | 14 +-
drivers/staging/unisys/visorbus/visorbus_private.h | 4 +-
drivers/staging/unisys/visornic/visornic_main.c | 2 +-
+ drivers/staging/vt6655/rxtx.c | 2 +-
+ drivers/staging/vt6656/rxtx.c | 2 +-
drivers/staging/wilc1000/linux_wlan.c | 2 +-
- drivers/staging/wilc1000/wilc_spi.c | 2 -
drivers/staging/wilc1000/wilc_wlan.h | 2 +-
drivers/staging/wlan-ng/p80211netdev.c | 2 +-
drivers/target/sbp/sbp_target.c | 4 +-
drivers/usb/early/ehci-dbgp.c | 16 +-
drivers/usb/gadget/function/f_phonet.c | 2 +-
drivers/usb/gadget/function/u_serial.c | 22 +-
- drivers/usb/gadget/legacy/inode.c | 4 +-
drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
drivers/usb/host/ehci-hcd.c | 2 +-
drivers/usb/host/ehci-hub.c | 4 +-
drivers/usb/host/r8a66597.h | 2 +-
drivers/usb/host/uhci-hcd.c | 2 +-
drivers/usb/host/xhci-pci.c | 2 +-
+ drivers/usb/host/xhci-ring.c | 52 +-
drivers/usb/host/xhci.c | 2 +-
drivers/usb/misc/appledisplay.c | 4 +-
drivers/usb/misc/sisusbvga/sisusb_con.c | 98 +-
drivers/video/fbdev/aty/mach64_ct.c | 5 +-
drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
drivers/video/fbdev/aty/mach64_gx.c | 17 +-
- drivers/video/fbdev/core/fb_defio.c | 6 +-
+ drivers/video/fbdev/core/fb_defio.c | 8 +-
drivers/video/fbdev/core/fbmem.c | 12 +-
drivers/video/fbdev/hyperv_fb.c | 4 +-
drivers/video/fbdev/i810/i810_accel.c | 1 +
fs/btrfs/volumes.h | 22 +-
fs/buffer.c | 2 +-
fs/cachefiles/bind.c | 6 +-
- fs/cachefiles/daemon.c | 8 +-
- fs/cachefiles/internal.h | 12 +-
- fs/cachefiles/namei.c | 2 +-
+ fs/cachefiles/daemon.c | 12 +-
+ fs/cachefiles/internal.h | 16 +-
+ fs/cachefiles/namei.c | 6 +-
fs/cachefiles/proc.c | 12 +-
fs/ceph/dir.c | 12 +-
fs/ceph/super.c | 4 +-
fs/dcache.c | 64 +-
fs/ecryptfs/inode.c | 2 +-
fs/ecryptfs/miscdev.c | 2 +-
- fs/exec.c | 365 +-
+ fs/exec.c | 370 +-
fs/exofs/inode.c | 7 +-
fs/ext2/xattr.c | 5 +-
fs/ext4/ext4.h | 20 +-
fs/jbd2/commit.c | 2 +-
fs/jbd2/transaction.c | 4 +-
fs/jffs2/erase.c | 3 +-
- fs/jffs2/file.c | 3 +-
+ fs/jffs2/file.c | 5 +-
fs/jffs2/fs.c | 2 +-
fs/jffs2/os-linux.h | 2 +-
fs/jffs2/wbuf.c | 3 +-
fs/logfs/readwrite.c | 2 +-
fs/logfs/segment.c | 2 +-
fs/logfs/super.c | 39 -
- fs/namei.c | 16 +-
- fs/namespace.c | 16 +-
+ fs/namei.c | 14 +-
+ fs/namespace.c | 15 +-
fs/nfs/callback.h | 18 +-
fs/nfs/callback_proc.c | 26 +-
fs/nfs/callback_xdr.c | 73 +-
fs/ocfs2/dlm/dlmdomain.c | 4 +-
fs/ocfs2/dlm/dlmmaster.c | 4 +-
fs/ocfs2/dlmfs/dlmfs.c | 4 +-
+ fs/ocfs2/filecheck.c | 2 +-
fs/ocfs2/localalloc.c | 2 +-
fs/ocfs2/ocfs2.h | 10 +-
fs/ocfs2/suballoc.c | 12 +-
fs/proc/kcore.c | 36 +-
fs/proc/meminfo.c | 2 +-
fs/proc/nommu.c | 2 +-
+ fs/proc/proc_net.c | 2 +-
fs/proc/proc_sysctl.c | 26 +-
fs/proc/task_mmu.c | 39 +-
fs/proc/task_nommu.c | 6 +-
fs/xfs/xfs_linux.h | 4 +-
include/acpi/ghes.h | 2 +-
include/asm-generic/4level-fixup.h | 2 +
- include/asm-generic/atomic-long.h | 176 +-
+ include/asm-generic/atomic-long.h | 186 +-
include/asm-generic/atomic64.h | 12 +
include/asm-generic/bitops/__fls.h | 2 +-
include/asm-generic/bitops/fls.h | 2 +-
include/linux/blk-cgroup.h | 24 +-
include/linux/blkdev.h | 2 +-
include/linux/blktrace_api.h | 2 +-
- include/linux/cache.h | 8 +
+ include/linux/cache.h | 9 +
include/linux/cdrom.h | 1 -
include/linux/cgroup-defs.h | 2 +-
include/linux/cleancache.h | 2 +-
include/linux/clk-provider.h | 1 +
include/linux/compat.h | 15 +-
- include/linux/compiler-gcc.h | 30 +-
- include/linux/compiler.h | 193 +-
+ include/linux/compiler-gcc.h | 33 +-
+ include/linux/compiler.h | 197 +-
include/linux/configfs.h | 2 +-
include/linux/cpufreq.h | 7 +-
include/linux/cpuidle.h | 5 +-
include/linux/hwmon-sysfs.h | 6 +-
include/linux/i2c.h | 1 +
include/linux/if_pppox.h | 2 +-
- include/linux/init.h | 12 +-
+ include/linux/init.h | 10 +-
include/linux/init_task.h | 7 +
include/linux/interrupt.h | 6 +-
include/linux/iommu.h | 2 +-
include/linux/kobject_ns.h | 2 +-
include/linux/kref.h | 2 +-
include/linux/libata.h | 2 +-
- include/linux/linkage.h | 12 +
+ include/linux/linkage.h | 22 +-
include/linux/list.h | 15 +
include/linux/lockd/xdr.h | 34 +-
include/linux/lockd/xdr4.h | 34 +-
include/linux/lockref.h | 26 +-
include/linux/math64.h | 10 +-
include/linux/memcontrol.h | 2 +-
+ include/linux/memory.h | 2 +-
include/linux/mempolicy.h | 7 +
- include/linux/mm.h | 97 +-
+ include/linux/mm.h | 98 +-
include/linux/mm_types.h | 20 +
include/linux/mmiotrace.h | 4 +-
include/linux/mmzone.h | 2 +-
include/linux/moduleloader.h | 16 +
include/linux/moduleparam.h | 12 +-
include/linux/net.h | 2 +-
- include/linux/netdevice.h | 7 +-
+ include/linux/netdevice.h | 11 +-
include/linux/netfilter.h | 2 +-
include/linux/netfilter/ipset/ip_set_comment.h | 3 +-
include/linux/netfilter/nfnetlink.h | 2 +-
include/linux/rio.h | 2 +-
include/linux/rmap.h | 4 +-
include/linux/sched.h | 76 +-
- include/linux/sched/sysctl.h | 1 +
include/linux/scif.h | 2 +-
include/linux/semaphore.h | 2 +-
+ include/linux/seq_buf.h | 4 +-
include/linux/seq_file.h | 1 +
include/linux/seqlock.h | 10 +
include/linux/signal.h | 2 +-
include/linux/sonet.h | 2 +-
include/linux/spinlock.h | 17 +-
include/linux/srcu.h | 5 +-
+ include/linux/string.h | 70 +-
include/linux/sunrpc/addr.h | 8 +-
include/linux/sunrpc/clnt.h | 2 +-
include/linux/sunrpc/svc.h | 2 +-
include/linux/sunrpc/svcauth.h | 2 +-
include/linux/swapops.h | 10 +-
include/linux/swiotlb.h | 3 +-
- include/linux/syscalls.h | 34 +-
+ include/linux/syscalls.h | 36 +-
include/linux/syscore_ops.h | 2 +-
include/linux/sysctl.h | 3 +-
- include/linux/sysfs.h | 9 +-
+ include/linux/sysfs.h | 11 +-
include/linux/sysrq.h | 3 +-
include/linux/tcp.h | 14 +-
include/linux/thread_info.h | 7 +
include/linux/tty.h | 4 +-
include/linux/tty_driver.h | 2 +-
include/linux/tty_ldisc.h | 2 +-
- include/linux/types.h | 16 +
+ include/linux/types.h | 18 +
include/linux/uaccess.h | 2 +-
include/linux/uio_driver.h | 2 +-
include/linux/unaligned/access_ok.h | 24 +-
include/net/tcp.h | 8 +-
include/net/xfrm.h | 15 +-
include/rdma/ib_cm.h | 8 +-
- include/rdma/iw_cm.h | 2 +-
include/scsi/libfc.h | 3 +-
include/scsi/scsi_device.h | 6 +-
include/scsi/scsi_driver.h | 2 +-
include/sound/seq_kernel.h | 2 +-
include/sound/soc.h | 4 +-
include/trace/events/irq.h | 4 +-
+ include/trace/events/mmflags.h | 7 +
include/uapi/linux/a.out.h | 8 +
include/uapi/linux/bcache.h | 5 +-
include/uapi/linux/byteorder/little_endian.h | 28 +-
include/uapi/linux/elf.h | 28 +
include/uapi/linux/screen_info.h | 2 +-
include/uapi/linux/swab.h | 6 +-
- include/uapi/linux/xattr.h | 4 +
+ include/uapi/linux/xattr.h | 5 +
include/video/udlfb.h | 8 +-
include/video/uvesafb.h | 1 +
init/Kconfig | 2 +-
- init/Makefile | 3 +
init/do_mounts.c | 16 +-
init/do_mounts.h | 8 +-
init/do_mounts_initrd.c | 30 +-
ipc/mq_sysctl.c | 4 +-
ipc/sem.c | 4 +-
ipc/shm.c | 8 +-
- kernel/audit.c | 8 +-
+ kernel/audit.c | 10 +-
kernel/auditsc.c | 4 +-
kernel/bpf/core.c | 28 +-
kernel/capability.c | 3 +
kernel/compat.c | 38 +-
kernel/debug/debug_core.c | 16 +-
kernel/debug/kdb/kdb_main.c | 4 +-
- kernel/events/core.c | 38 +-
+ kernel/events/core.c | 36 +-
kernel/events/internal.h | 10 +-
kernel/events/uprobes.c | 2 +-
kernel/exit.c | 27 +-
kernel/locking/mutex-debug.c | 12 +-
kernel/locking/mutex-debug.h | 4 +-
kernel/locking/mutex.c | 6 +-
- kernel/module.c | 403 +-
+ kernel/module.c | 405 +-
kernel/notifier.c | 17 +-
kernel/padata.c | 4 +-
kernel/panic.c | 11 +-
- kernel/pid.c | 6 +-
+ kernel/pid.c | 8 +-
kernel/pid_namespace.c | 2 +-
kernel/power/process.c | 12 +-
kernel/profile.c | 14 +-
kernel/rcu/tree_trace.c | 14 +-
kernel/resource.c | 4 +-
kernel/sched/auto_group.c | 4 +-
- kernel/sched/core.c | 49 +-
+ kernel/sched/core.c | 8 +-
+ kernel/sched/deadline.c | 4 +-
+ kernel/sched/debug.c | 43 +-
kernel/sched/fair.c | 2 +-
kernel/sched/rt.c | 4 +-
kernel/sched/sched.h | 13 +-
kernel/signal.c | 28 +-
kernel/smp.c | 2 +-
- kernel/smpboot.c | 4 +-
+ kernel/smpboot.c | 7 +-
kernel/softirq.c | 12 +-
kernel/stop_machine.c | 2 +-
kernel/sys.c | 10 +-
lib/decompress_unlzma.c | 4 +-
lib/div64.c | 4 +-
lib/dma-debug.c | 4 +-
+ lib/extable.c | 11 +-
lib/inflate.c | 2 +-
lib/ioremap.c | 4 +-
lib/irq_poll.c | 2 +-
lib/radix-tree.c | 2 +-
lib/random32.c | 2 +-
lib/rhashtable.c | 4 +-
+ lib/seq_buf.c | 4 +-
lib/show_mem.c | 2 +-
lib/strncpy_from_user.c | 2 +-
lib/strnlen_user.c | 2 +-
lib/vsprintf.c | 12 +-
mm/Kconfig | 6 +-
mm/backing-dev.c | 4 +-
- mm/debug.c | 3 +
- mm/filemap.c | 10 +-
+ mm/fadvise.c | 2 +-
+ mm/filemap.c | 8 +-
mm/gup.c | 13 +-
mm/highmem.c | 6 +-
mm/hugetlb.c | 125 +-
mm/mempolicy.c | 25 +
mm/mlock.c | 18 +-
mm/mm_init.c | 2 +-
- mm/mmap.c | 573 +-
+ mm/mmap.c | 572 +-
mm/mprotect.c | 137 +-
mm/mremap.c | 39 +-
mm/nommu.c | 21 +-
mm/page-writeback.c | 2 +-
- mm/page_alloc.c | 53 +-
+ mm/page_alloc.c | 61 +-
mm/percpu.c | 2 +-
mm/process_vm_access.c | 14 +-
mm/readahead.c | 2 +-
mm/rmap.c | 43 +-
- mm/shmem.c | 37 +-
- mm/slab.c | 111 +-
- mm/slab.h | 22 +-
- mm/slab_common.c | 86 +-
- mm/slob.c | 218 +-
+ mm/shmem.c | 35 +-
+ mm/slab.c | 113 +-
+ mm/slab.h | 37 +-
+ mm/slab_common.c | 79 +-
+ mm/slob.c | 220 +-
mm/slub.c | 111 +-
mm/sparse-vmemmap.c | 4 +-
mm/sparse.c | 2 +-
- mm/swap.c | 2 +
+ mm/swap.c | 7 +
mm/swapfile.c | 12 +-
- mm/util.c | 6 +
+ mm/util.c | 7 +
mm/vmalloc.c | 116 +-
mm/vmstat.c | 12 +-
net/8021q/vlan.c | 5 +-
net/batman-adv/fragmentation.c | 2 +-
net/batman-adv/routing.c | 4 +-
net/batman-adv/soft-interface.c | 12 +-
- net/batman-adv/sysfs.c | 40 +-
+ net/batman-adv/sysfs.c | 48 +-
net/batman-adv/sysfs.h | 4 +-
net/batman-adv/translation-table.c | 14 +-
net/batman-adv/types.h | 8 +-
net/bluetooth/l2cap_sock.c | 12 +-
net/bluetooth/rfcomm/sock.c | 4 +-
net/bluetooth/rfcomm/tty.c | 4 +-
+ net/bridge/br_netfilter_hooks.c | 4 +-
net/bridge/br_netlink.c | 2 +-
net/bridge/netfilter/ebtables.c | 6 +-
net/caif/cfctrl.c | 11 +-
net/ceph/messenger.c | 4 +-
net/compat.c | 26 +-
net/core/datagram.c | 2 +-
- net/core/dev.c | 16 +-
+ net/core/dev.c | 24 +-
net/core/filter.c | 2 +-
- net/core/flow.c | 6 +-
+ net/core/flow.c | 8 +-
net/core/neighbour.c | 18 +-
+ net/core/net-procfs.c | 4 +-
net/core/net-sysfs.c | 2 +-
- net/core/net_namespace.c | 8 +-
+ net/core/net_namespace.c | 10 +-
net/core/netpoll.c | 4 +-
net/core/rtnetlink.c | 17 +-
net/core/scm.c | 12 +-
net/core/skbuff.c | 11 +-
- net/core/sock.c | 28 +-
+ net/core/sock.c | 30 +-
net/core/sock_diag.c | 15 +-
net/core/sysctl_net_core.c | 22 +-
net/decnet/af_decnet.c | 1 +
net/hsr/hsr_netlink.c | 2 +-
net/ieee802154/6lowpan/core.c | 2 +-
net/ieee802154/6lowpan/reassembly.c | 14 +-
- net/ipv4/af_inet.c | 2 +-
+ net/ieee802154/core.c | 6 +-
+ net/ipv4/af_inet.c | 6 +-
net/ipv4/arp.c | 2 +-
- net/ipv4/devinet.c | 18 +-
+ net/ipv4/devinet.c | 20 +-
net/ipv4/fib_frontend.c | 6 +-
net/ipv4/fib_semantics.c | 2 +-
+ net/ipv4/icmp.c | 2 +-
net/ipv4/inet_connection_sock.c | 4 +-
net/ipv4/inet_diag.c | 4 +-
net/ipv4/inet_timewait_sock.c | 2 +-
net/ipv4/inetpeer.c | 2 +-
- net/ipv4/ip_fragment.c | 15 +-
+ net/ipv4/ip_fragment.c | 17 +-
net/ipv4/ip_gre.c | 6 +-
net/ipv4/ip_sockglue.c | 2 +-
net/ipv4/ip_vti.c | 4 +-
net/ipv4/netfilter/arp_tables.c | 12 +-
net/ipv4/netfilter/ip_tables.c | 12 +-
net/ipv4/ping.c | 14 +-
- net/ipv4/proc.c | 8 +-
- net/ipv4/raw.c | 14 +-
- net/ipv4/route.c | 32 +-
- net/ipv4/sysctl_net_ipv4.c | 22 +-
+ net/ipv4/proc.c | 10 +-
+ net/ipv4/raw.c | 16 +-
+ net/ipv4/route.c | 40 +-
+ net/ipv4/sysctl_net_ipv4.c | 24 +-
net/ipv4/tcp_input.c | 6 +-
+ net/ipv4/tcp_ipv4.c | 2 +-
+ net/ipv4/tcp_metrics.c | 2 +-
net/ipv4/tcp_probe.c | 2 +-
net/ipv4/udp.c | 10 +-
net/ipv4/xfrm4_mode_transport.c | 2 +-
- net/ipv4/xfrm4_policy.c | 17 +-
+ net/ipv4/xfrm4_policy.c | 19 +-
net/ipv4/xfrm4_state.c | 4 +-
net/ipv6/addrconf.c | 24 +-
net/ipv6/af_inet6.c | 2 +-
net/l2tp/l2tp_eth.c | 40 +-
net/l2tp/l2tp_ip.c | 2 +-
net/l2tp/l2tp_ip6.c | 2 +-
- net/mac80211/cfg.c | 10 +-
+ net/mac80211/cfg.c | 12 +-
net/mac80211/debugfs.c | 2 +-
- net/mac80211/debugfs_key.c | 4 +-
+ net/mac80211/debugfs_key.c | 6 +-
net/mac80211/ieee80211_i.h | 3 +-
net/mac80211/iface.c | 20 +-
- net/mac80211/key.c | 4 +-
net/mac80211/main.c | 2 +-
net/mac80211/pm.c | 4 +-
net/mac80211/rate.c | 2 +-
net/mac80211/sta_info.c | 2 +-
net/mac80211/tx.c | 2 +-
net/mac80211/util.c | 8 +-
- net/mac80211/wpa.c | 10 +-
+ net/mac80211/wpa.c | 12 +-
net/mac802154/iface.c | 6 +-
net/mpls/af_mpls.c | 10 +-
net/netfilter/ipset/ip_set_core.c | 7 +-
net/netfilter/ipvs/ip_vs_sync.c | 6 +-
net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
net/netfilter/nf_conntrack_acct.c | 2 +-
- net/netfilter/nf_conntrack_core.c | 2 +-
+ net/netfilter/nf_conntrack_core.c | 6 +-
net/netfilter/nf_conntrack_ecache.c | 2 +-
net/netfilter/nf_conntrack_helper.c | 2 +-
net/netfilter/nf_conntrack_netlink.c | 22 +-
net/netfilter/nft_compat.c | 9 +-
net/netfilter/xt_IDLETIMER.c | 12 +-
net/netfilter/xt_statistic.c | 8 +-
- net/netlink/af_netlink.c | 14 +-
+ net/netlink/af_netlink.c | 16 +-
net/netlink/diag.c | 2 +-
net/netlink/genetlink.c | 14 +-
net/openvswitch/vport-geneve.c | 7 +-
net/rds/ib.h | 2 +-
net/rds/ib_cm.c | 2 +-
net/rds/ib_recv.c | 4 +-
- net/rds/iw.h | 2 +-
- net/rds/iw_cm.c | 2 +-
- net/rds/iw_recv.c | 4 +-
net/rds/rds.h | 2 +-
- net/rds/tcp.c | 2 +-
+ net/rds/tcp.c | 6 +-
net/rds/tcp.h | 6 +-
net/rds/tcp_send.c | 2 +-
net/rxrpc/af_rxrpc.c | 2 +-
net/rxrpc/rxkad.c | 4 +-
net/sched/sch_generic.c | 4 +-
net/sched/sch_tbf.c | 9 +-
- net/sctp/ipv6.c | 6 +-
- net/sctp/protocol.c | 10 +-
+ net/sctp/ipv6.c | 4 +-
+ net/sctp/protocol.c | 8 +-
net/sctp/sm_sideeffect.c | 4 +-
net/sctp/socket.c | 21 +-
net/sctp/sysctl.c | 10 +-
net/sunrpc/xprtrdma/svc_rdma.c | 44 +-
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
- net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
+ net/sunrpc/xprtrdma/svc_rdma_transport.c | 2 +-
net/tipc/netlink_compat.c | 12 +-
net/tipc/subscr.c | 2 +-
net/unix/diag.c | 2 +-
net/wireless/wext-compat.h | 8 +-
net/wireless/wext-core.c | 19 +-
net/wireless/wext-sme.c | 5 +-
- net/xfrm/xfrm_policy.c | 16 +-
+ net/xfrm/xfrm_policy.c | 18 +-
net/xfrm/xfrm_state.c | 37 +-
net/xfrm/xfrm_sysctl.c | 2 +-
net/xfrm/xfrm_user.c | 2 +-
- scripts/Kbuild.include | 2 +-
+ scripts/Kbuild.include | 12 +-
+ scripts/Makefile | 2 +-
scripts/Makefile.build | 2 +-
- scripts/Makefile.clean | 3 +-
+ scripts/Makefile.clean | 4 +-
scripts/Makefile.extrawarn | 4 +
- scripts/Makefile.gcc-plugins | 69 +
- scripts/Makefile.host | 68 +-
+ scripts/Makefile.gcc-plugins | 93 +
+ scripts/Makefile.host | 73 +-
scripts/basic/fixdep.c | 12 +-
scripts/dtc/checks.c | 14 +-
scripts/dtc/data.c | 6 +-
scripts/dtc/flattree.c | 8 +-
scripts/dtc/livetree.c | 4 +-
- scripts/gcc-plugin.sh | 51 +
+ scripts/gcc-plugin.sh | 65 +
+ scripts/gcc-plugins/Makefile | 25 +
+ scripts/gcc-plugins/checker_plugin.c | 496 +
+ scripts/gcc-plugins/colorize_plugin.c | 162 +
+ scripts/gcc-plugins/constify_plugin.c | 583 +
+ scripts/gcc-plugins/gcc-common.h | 893 +
+ scripts/gcc-plugins/gcc-generate-gimple-pass.h | 175 +
+ scripts/gcc-plugins/gcc-generate-ipa-pass.h | 289 +
+ scripts/gcc-plugins/gcc-generate-rtl-pass.h | 175 +
+ scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | 175 +
+ scripts/gcc-plugins/initify_plugin.c | 536 +
+ scripts/gcc-plugins/kallocstat_plugin.c | 135 +
+ scripts/gcc-plugins/kernexec_plugin.c | 407 +
+ scripts/gcc-plugins/latent_entropy_plugin.c | 613 +
+ scripts/gcc-plugins/rap_plugin/Makefile | 6 +
+ scripts/gcc-plugins/rap_plugin/rap.h | 36 +
+ scripts/gcc-plugins/rap_plugin/rap_fptr_pass.c | 220 +
+ scripts/gcc-plugins/rap_plugin/rap_hash.c | 382 +
+ scripts/gcc-plugins/rap_plugin/rap_plugin.c | 511 +
+ scripts/gcc-plugins/rap_plugin/sip.c | 96 +
+ .../gcc-plugins/size_overflow_plugin/.gitignore | 3 +
+ scripts/gcc-plugins/size_overflow_plugin/Makefile | 30 +
+ .../disable_size_overflow_hash.data | 12445 +++++++++++
+ .../generate_size_overflow_hash.sh | 103 +
+ .../insert_size_overflow_asm.c | 369 +
+ .../size_overflow_plugin/intentional_overflow.c | 1166 +
+ .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
+ .../size_overflow_plugin/size_overflow.h | 331 +
+ .../size_overflow_plugin/size_overflow_debug.c | 194 +
+ .../size_overflow_plugin/size_overflow_hash.data | 21503 +++++++++++++++++++
+ .../size_overflow_hash_aux.data | 97 +
+ .../size_overflow_plugin/size_overflow_ipa.c | 1163 +
+ .../size_overflow_plugin/size_overflow_misc.c | 505 +
+ .../size_overflow_plugin/size_overflow_plugin.c | 290 +
+ .../size_overflow_plugin_hash.c | 352 +
+ .../size_overflow_plugin/size_overflow_transform.c | 743 +
+ .../size_overflow_transform_core.c | 1025 +
+ scripts/gcc-plugins/stackleak_plugin.c | 350 +
+ scripts/gcc-plugins/structleak_plugin.c | 239 +
scripts/headers_install.sh | 1 +
scripts/kallsyms.c | 4 +-
scripts/kconfig/lkc.h | 5 +-
scripts/pnmtologo.c | 6 +-
scripts/sortextable.h | 6 +-
scripts/tags.sh | 2 +-
- security/Kconfig | 703 +-
+ security/Kconfig | 710 +-
security/apparmor/include/policy.h | 2 +-
security/apparmor/lsm.c | 16 +-
security/apparmor/policy.c | 4 +-
sound/soc/intel/skylake/skl-sst-dsp.h | 4 +-
sound/soc/soc-ac97.c | 6 +-
sound/soc/xtensa/xtfpga-i2s.c | 2 +-
- tools/gcc/Makefile | 46 +
- tools/gcc/checker_plugin.c | 496 +
- tools/gcc/colorize_plugin.c | 162 +
- tools/gcc/constify_plugin.c | 521 +
- tools/gcc/gcc-common.h | 858 +
- tools/gcc/gcc-generate-gimple-pass.h | 175 +
- tools/gcc/gcc-generate-ipa-pass.h | 289 +
- tools/gcc/gcc-generate-rtl-pass.h | 175 +
- tools/gcc/gcc-generate-simple_ipa-pass.h | 175 +
- tools/gcc/initify_plugin.c | 536 +
- tools/gcc/kallocstat_plugin.c | 135 +
- tools/gcc/kernexec_plugin.c | 407 +
- tools/gcc/latent_entropy_plugin.c | 422 +
- tools/gcc/randomize_layout_seed.h | 1 +
- tools/gcc/rap_plugin/Makefile | 4 +
- tools/gcc/rap_plugin/rap.h | 36 +
- tools/gcc/rap_plugin/rap_fptr_pass.c | 220 +
- tools/gcc/rap_plugin/rap_hash.c | 381 +
- tools/gcc/rap_plugin/rap_plugin.c | 477 +
- tools/gcc/rap_plugin/sip.c | 96 +
- tools/gcc/size_overflow_plugin/.gitignore | 3 +
- tools/gcc/size_overflow_plugin/Makefile | 28 +
- .../disable_size_overflow_hash.data | 12440 +++++++++++
- .../generate_size_overflow_hash.sh | 103 +
- .../insert_size_overflow_asm.c | 369 +
- .../size_overflow_plugin/intentional_overflow.c | 1118 +
- .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
- tools/gcc/size_overflow_plugin/size_overflow.h | 329 +
- .../gcc/size_overflow_plugin/size_overflow_debug.c | 194 +
- .../size_overflow_plugin/size_overflow_hash.data | 21508 +++++++++++++++++++
- .../size_overflow_hash_aux.data | 92 +
- tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 1163 +
- .../gcc/size_overflow_plugin/size_overflow_misc.c | 505 +
- .../size_overflow_plugin/size_overflow_plugin.c | 290 +
- .../size_overflow_plugin_hash.c | 352 +
- .../size_overflow_plugin/size_overflow_transform.c | 745 +
- .../size_overflow_transform_core.c | 1015 +
- tools/gcc/stackleak_plugin.c | 350 +
- tools/gcc/structleak_plugin.c | 239 +
tools/include/linux/compiler.h | 8 +
tools/perf/util/include/asm/alternative-asm.h | 3 +
tools/virtio/linux/uaccess.h | 2 +-
virt/kvm/kvm_main.c | 42 +-
- 2639 files changed, 76327 insertions(+), 13888 deletions(-)
+ 2730 files changed, 77381 insertions(+), 14195 deletions(-)
commit 5988c8dba8a5da45e35d71f4a8fec34c267258c5
Author: Brad Spengler <spender@grsecurity.net>
Date: Mon Apr 25 20:40:53 2016 -0400