1. 09 Nov, 2017 1 commit
  2. 26 Oct, 2017 3 commits
  3. 26 Sep, 2017 1 commit
  4. 02 Sep, 2017 1 commit
  5. 01 Sep, 2017 1 commit
  6. 28 Jun, 2017 1 commit
  7. 19 Jun, 2017 2 commits
  8. 25 Apr, 2017 3 commits
  9. 03 Apr, 2017 2 commits
  10. 02 Mar, 2017 1 commit
  11. 31 Jan, 2017 1 commit
  12. 09 Dec, 2016 1 commit
  13. 30 Nov, 2016 1 commit
  14. 08 Nov, 2016 1 commit
  15. 10 Oct, 2016 1 commit
  16. 05 Oct, 2016 3 commits
  17. 22 Sep, 2016 1 commit
    • Jan Kara's avatar
      xfs: Propagate dentry down to inode_change_ok() · 69bca807
      Jan Kara authored
      To avoid clearing of capabilities or security related extended
      attributes too early, inode_change_ok() will need to take dentry instead
      of inode. Propagate dentry down to functions calling inode_change_ok().
      This is rather straightforward except for xfs_set_mode() function which
      does not have dentry easily available. Luckily that function does not
      call inode_change_ok() anyway so we just have to do a little dance with
      function prototypes.
      Acked-by: default avatarDave Chinner <dchinner@redhat.com>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
  18. 07 Aug, 2016 1 commit
  19. 03 Aug, 2016 1 commit
  20. 20 Jul, 2016 2 commits
  21. 15 Jul, 2016 1 commit
    • Jann Horn's avatar
      xfs: fix type confusion in xfs_ioc_swapext · 3e0a3965
      Jann Horn authored
      Without this check, the following XFS_I invocations would return bad
      pointers when used on non-XFS inodes (perhaps pointers into preceding
      allocator chunks).
      This could be used by an attacker to trick xfs_swap_extents into
      performing locking operations on attacker-chosen structures in kernel
      memory, potentially leading to code execution in the kernel.  (I have
      not investigated how likely this is to be usable for an attack in
      Signed-off-by: default avatarJann Horn <jann@thejh.net>
      Cc: Andy Lutomirski <luto@amacapital.net>
      Cc: Dave Chinner <david@fromorbit.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
  22. 05 Apr, 2016 2 commits
  23. 29 Feb, 2016 3 commits
  24. 09 Feb, 2016 2 commits
  25. 04 Jan, 2016 2 commits
    • Dave Chinner's avatar
      xfs: introduce per-inode DAX enablement · 58f88ca2
      Dave Chinner authored
      Rather than just being able to turn DAX on and off via a mount
      option, some applications may only want to enable DAX for certain
      performance critical files in a filesystem.
      This patch introduces a new inode flag to enable DAX in the v3 inode
      di_flags2 field. It adds support for setting and clearing flags in
      the di_flags2 field via the XFS_IOC_FSSETXATTR ioctl, and sets the
      S_DAX inode flag appropriately when it is seen.
      When this flag is set on a directory, it acts as an "inherit flag".
      That is, inodes created in the directory will automatically inherit
      the on-disk inode DAX flag, enabling administrators to set up
      directory heirarchies that automatically use DAX. Setting this flag
      on an empty root directory will make the entire filesystem use DAX
      by default.
      Signed-off-by: default avatarDave Chinner <dchinner@redhat.com>
    • Dave Chinner's avatar
      xfs: use FS_XFLAG definitions directly · e7b89481
      Dave Chinner authored
      Now that the ioctls have been hoisted up to the VFS level, use
      the VFs definitions directly and remove the XFS specific definitions
      completely. Userspace is going to have to handle the change of this
      interface separately, so removing the definitions from xfs_fs.h is
      not an issue here at all.
      Signed-off-by: default avatarDave Chinner <dchinner@redhat.com>
  26. 03 Nov, 2015 1 commit