1. 22 Feb, 2015 10 commits
  2. 20 Feb, 2015 9 commits
  3. 18 Feb, 2015 11 commits
  4. 17 Feb, 2015 10 commits
    • Linus Torvalds's avatar
      Merge branch 'iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 66dc830d
      Linus Torvalds authored
      Pull iov_iter updates from Al Viro:
       "More iov_iter work - missing counterpart of iov_iter_init() for
        bvec-backed ones and vfs_read_iter()/vfs_write_iter() - wrappers for
        sync calls of ->read_iter()/->write_iter()"
      
      * 'iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        fs: add vfs_iter_{read,write} helpers
        new helper: iov_iter_bvec()
      66dc830d
    • Linus Torvalds's avatar
      Merge branch 'getname2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 05016b0f
      Linus Torvalds authored
      Pull getname/putname updates from Al Viro:
       "Rework of getname/getname_kernel/etc., mostly from Paul Moore.  Gets
        rid of quite a pile of kludges between namei and audit..."
      
      * 'getname2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        audit: replace getname()/putname() hacks with reference counters
        audit: fix filename matching in __audit_inode() and __audit_inode_child()
        audit: enable filename recording via getname_kernel()
        simpler calling conventions for filename_mountpoint()
        fs: create proper filename objects using getname_kernel()
        fs: rework getname_kernel to handle up to PATH_MAX sized filenames
        cut down the number of do_path_lookup() callers
      05016b0f
    • Linus Torvalds's avatar
      Merge branch 'debugfs_automount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · c6b1de1b
      Linus Torvalds authored
      Pull debugfs patches from Al Viro:
       "debugfs patches, mostly to make it possible for something like tracefs
        to be transparently automounted on given directory in debugfs.
      
        New primitive in there is debugfs_create_automount(name, parent, func,
        arg), which creates a directory and makes its ->d_automount() return
        func(arg).  Another missing primitive was debugfs_create_file_size() -
        open-coded in quite a few places.  Dave's patch adds it and converts
        the open-code instances to calling it"
      
      * 'debugfs_automount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        debugfs: Provide a file creation function that also takes an initial size
        new primitive: debugfs_create_automount()
        debugfs: split end_creating() into success and failure cases
        debugfs: take mode-dependent parts of debugfs_get_inode() into callers
        fold debugfs_mknod() into callers
        fold debugfs_create() into caller
        fold debugfs_mkdir() into caller
        debugfs_mknod(): get rid useless arguments
        fold debugfs_link() into caller
        debugfs: kill __create_file()
        debugfs: split the beginning and the end of __create_file() off
        debugfs_{mkdir,create,link}(): get rid of redundant argument
      c6b1de1b
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 50652963
      Linus Torvalds authored
      Pull misc VFS updates from Al Viro:
       "This cycle a lot of stuff sits on topical branches, so I'll be sending
        more or less one pull request per branch.
      
        This is the first pile; more to follow in a few.  In this one are
        several misc commits from early in the cycle (before I went for
        separate branches), plus the rework of mntput/dput ordering on umount,
        switching to use of fs_pin instead of convoluted games in
        namespace_unlock()"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        switch the IO-triggering parts of umount to fs_pin
        new fs_pin killing logics
        allow attaching fs_pin to a group not associated with some superblock
        get rid of the second argument of acct_kill()
        take count and rcu_head out of fs_pin
        dcache: let the dentry count go down to zero without taking d_lock
        pull bumping refcount into ->kill()
        kill pin_put()
        mode_t whack-a-mole: chelsio
        file->f_path.dentry is pinned down for as long as the file is open...
        get rid of lustre_dump_dentry()
        gut proc_register() a bit
        kill d_validate()
        ncpfs: get rid of d_validate() nonsense
        selinuxfs: don't open-code d_genocide()
      50652963
    • Linus Torvalds's avatar
      Merge branch 'akpm' (patches from Andrew) · e2b74f23
      Linus Torvalds authored
      Merge yet more updates from Andrew Morton:
      
       - a pile of minor fs fixes and cleanups
      
       - kexec updates
      
       - random misc fixes in various places: vmcore, rbtree, eventfd, ipc, seccomp.
      
       - a series of python-based kgdb helper scripts
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (58 commits)
        seccomp: cap SECCOMP_RET_ERRNO data to MAX_ERRNO
        samples/seccomp: improve label helper
        ipc,sem: use current->state helpers
        scripts/gdb: disable pagination while printing from breakpoint handler
        scripts/gdb: define maintainer
        scripts/gdb: convert CpuList to generator function
        scripts/gdb: convert ModuleList to generator function
        scripts/gdb: use a generator instead of iterator for task list
        scripts/gdb: ignore byte-compiled python files
        scripts/gdb: port to python3 / gdb7.7
        scripts/gdb: add basic documentation
        scripts/gdb: add lx-lsmod command
        scripts/gdb: add class to iterate over CPU masks
        scripts/gdb: add lx_current convenience function
        scripts/gdb: add internal helper and convenience function for per-cpu lookup
        scripts/gdb: add get_gdbserver_type helper
        scripts/gdb: add internal helper and convenience function to retrieve thread_info
        scripts/gdb: add is_target_arch helper
        scripts/gdb: add helper and convenience function to look up tasks
        scripts/gdb: add task iteration class
        ...
      e2b74f23
    • Kees Cook's avatar
      seccomp: cap SECCOMP_RET_ERRNO data to MAX_ERRNO · 580c57f1
      Kees Cook authored
      The value resulting from the SECCOMP_RET_DATA mask could exceed MAX_ERRNO
      when setting errno during a SECCOMP_RET_ERRNO filter action.  This makes
      sure we have a reliable value being set, so that an invalid errno will not
      be ignored by userspace.
      Signed-off-by: default avatarKees Cook <keescook@chromium.org>
      Reported-by: default avatarDmitry V. Levin <ldv@altlinux.org>
      Cc: Andy Lutomirski <luto@amacapital.net>
      Cc: Will Drewry <wad@chromium.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      580c57f1
    • Kees Cook's avatar
      samples/seccomp: improve label helper · 3a9af0bd
      Kees Cook authored
      Fixes a potential corruption with uninitialized stack memory in the
      seccomp BPF sample program.
      
      [akpm@linux-foundation.org: coding-style fixlet]
      Signed-off-by: default avatarKees Cook <keescook@chromium.org>
      Reported-by: default avatarRobert Swiecki <swiecki@google.com>
      Tested-by: default avatarRobert Swiecki <swiecki@google.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      3a9af0bd
    • Davidlohr Bueso's avatar
      ipc,sem: use current->state helpers · 52644c9a
      Davidlohr Bueso authored
      Call __set_current_state() instead of assigning the new state directly.
      These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments, keeping
      track of who changed the state.
      Signed-off-by: default avatarDavidlohr Bueso <dbueso@suse.de>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      52644c9a
    • Jan Kiszka's avatar
      scripts/gdb: disable pagination while printing from breakpoint handler · a9c5bcfa
      Jan Kiszka authored
      While reporting the (refreshed) list of modules on automatic updates we
      may hit the page boundary of the output console and cause a stop if
      pagination is enabled.  However, gdb does not accept user input while
      running over the breakpoint handler.  So we get stuck, and the user is
      forced to interrupt gdb.
      
      Resolve this by disabling pagination during automatic symbol updates.  We
      restore the user's configuration once done.
      Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Jason Wessel <jason.wessel@windriver.com>
      Cc: Andi Kleen <andi@firstfloor.org>
      Cc: Ben Widawsky <ben@bwidawsk.net>
      Cc: Borislav Petkov <bp@suse.de>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a9c5bcfa
    • Jan Kiszka's avatar
      scripts/gdb: define maintainer · 158daf16
      Jan Kiszka authored
      I'm proposing myself for keeping an eye on these scripts and integrating
      contributions.
      Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Jason Wessel <jason.wessel@windriver.com>
      Cc: Andi Kleen <andi@firstfloor.org>
      Cc: Ben Widawsky <ben@bwidawsk.net>
      Cc: Borislav Petkov <bp@suse.de>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      158daf16