1. 11 Jun, 2020 34 commits
  2. 10 Jun, 2020 6 commits
    • Linus Torvalds's avatar
      Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 4dbb29fe
      Linus Torvalds authored
      Pull vfs fixes from Al Viro:
       "A couple of trivial patches that fell through the cracks last cycle"
      
      * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        fs: fix indentation in deactivate_super()
        vfs: Remove duplicated d_mountpoint check in __is_local_mountpoint
      4dbb29fe
    • Linus Torvalds's avatar
      Merge branch 'work.sysctl' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 1c383726
      Linus Torvalds authored
      Pull sysctl fixes from Al Viro:
       "Fixups to regressions in sysctl series"
      
      * 'work.sysctl' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        sysctl: reject gigantic reads/write to sysctl files
        cdrom: fix an incorrect __user annotation on cdrom_sysctl_info
        trace: fix an incorrect __user annotation on stack_trace_sysctl
        random: fix an incorrect __user annotation on proc_do_entropy
        net/sysctl: remove leftover __user annotations on neigh_proc_dointvec*
        net/sysctl: use cpumask_parse in flow_limit_cpu_sysctl
      1c383726
    • Linus Torvalds's avatar
      Merge branch 'uaccess.i915' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 3a8557e1
      Linus Torvalds authored
      Pull i915 uaccess updates from Al Viro:
       "Low-hanging fruit in i915; there are several trickier followups, but
        that'll wait for the next cycle"
      
      * 'uaccess.i915' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        i915:get_engines(): get rid of pointless access_ok()
        i915: alloc_oa_regs(): get rid of pointless access_ok()
        i915 compat ioctl(): just use drm_ioctl_kernel()
        i915: switch copy_perf_config_registers_or_number() to unsafe_put_user()
        i915: switch query_{topology,engine}_info() to copy_to_user()
      3a8557e1
    • Linus Torvalds's avatar
      Merge branch 'uaccess.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 4382a79b
      Linus Torvalds authored
      Pull misc uaccess updates from Al Viro:
       "Assorted uaccess patches for this cycle - the stuff that didn't fit
        into thematic series"
      
      * 'uaccess.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        bpf: make bpf_check_uarg_tail_zero() use check_zeroed_user()
        x86: kvm_hv_set_msr(): use __put_user() instead of 32bit __clear_user()
        user_regset_copyout_zero(): use clear_user()
        TEST_ACCESS_OK _never_ had been checked anywhere
        x86: switch cp_stat64() to unsafe_put_user()
        binfmt_flat: don't use __put_user()
        binfmt_elf_fdpic: don't use __... uaccess primitives
        binfmt_elf: don't bother with __{put,copy_to}_user()
        pselect6() and friends: take handling the combined 6th/7th args into helper
      4382a79b
    • Linus Torvalds's avatar
      Merge branch 'proc-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace · 79ca035d
      Linus Torvalds authored
      Pull proc fix from Eric Biederman:
       "Syzbot found a NULL pointer dereference if kzalloc of s_fs_info fails"
      
      * 'proc-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
        proc: s_fs_info may be NULL when proc_kill_sb is called
      79ca035d
    • Linus Torvalds's avatar
      Merge branch 'rwonce/rework' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux · 4152d146
      Linus Torvalds authored
      Pull READ/WRITE_ONCE rework from Will Deacon:
       "This the READ_ONCE rework I've been working on for a while, which
        bumps the minimum GCC version and improves code-gen on arm64 when
        stack protector is enabled"
      
      [ Side note: I'm _really_ tempted to raise the minimum gcc version to
        4.9, so that we can just say that we require _Generic() support.
      
        That would allow us to more cleanly handle a lot of the cases where we
        depend on very complex macros with 'sizeof' or __builtin_choose_expr()
        with __builtin_types_compatible_p() etc.
      
        This branch has a workaround for sparse not handling _Generic(),
        either, but that was already fixed in the sparse development branch,
        so it's really just gcc-4.9 that we'd require.   - Linus ]
      
      * 'rwonce/rework' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux:
        compiler_types.h: Use unoptimized __unqual_scalar_typeof for sparse
        compiler_types.h: Optimize __unqual_scalar_typeof compilation time
        compiler.h: Enforce that READ_ONCE_NOCHECK() access size is sizeof(long)
        compiler-types.h: Include naked type in __pick_integer_type() match
        READ_ONCE: Fix comment describing 2x32-bit atomicity
        gcov: Remove old GCC 3.4 support
        arm64: barrier: Use '__unqual_scalar_typeof' for acquire/release macros
        locking/barriers: Use '__unqual_scalar_typeof' for load-acquire macros
        READ_ONCE: Drop pointer qualifiers when reading from scalar types
        READ_ONCE: Enforce atomicity for {READ,WRITE}_ONCE() memory accesses
        READ_ONCE: Simplify implementations of {READ,WRITE}_ONCE()
        arm64: csum: Disable KASAN for do_csum()
        fault_inject: Don't rely on "return value" from WRITE_ONCE()
        net: tls: Avoid assigning 'const' pointer to non-const pointer
        netfilter: Avoid assigning 'const' pointer to non-const pointer
        compiler/gcc: Raise minimum GCC version for kernel builds to 4.8
      4152d146