1. 03 Jul, 2020 5 commits
  2. 02 Jul, 2020 9 commits
  3. 01 Jul, 2020 2 commits
  4. 30 Jun, 2020 5 commits
    • Linus Torvalds's avatar
      Merge tag 'exfat-for-5.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat · edb543cf
      Linus Torvalds authored
      Pull exfat fixes from Namjae Jeon:
      
       - Zero out unused characters of FileName field to avoid a complaint
         from some fsck tool.
      
       - Fix memory leak on error paths.
      
       - Fix unnecessary VOL_DIRTY set when calling rmdir on non-empty
         directory.
      
       - Call sync_filesystem() for read-only remount (Fix generic/452 test in
         xfstests)
      
       - Add own fsync() to flush dirty metadata.
      
      * tag 'exfat-for-5.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat:
        exfat: flush dirty metadata in fsync
        exfat: move setting VOL_DIRTY over exfat_remove_entries()
        exfat: call sync_filesystem for read-only remount
        exfat: add missing brelse() calls on error paths
        exfat: Set the unused characters of FileName field to the value 0000h
      edb543cf
    • Linus Torvalds's avatar
      Merge tag 'fixes-v5.8-rc3-a' of... · 615bc218
      Linus Torvalds authored
      Merge tag 'fixes-v5.8-rc3-a' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
      
      Pull security subsystem fixes from James Morris:
       "Two simple fixes for v5.8:
      
         - Fix hook iteration and default value for inode_copy_up_xattr
           (KP Singh)
      
         - Fix the key_permission LSM hook function type (Sami Tolvanen)"
      
      * tag 'fixes-v5.8-rc3-a' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        security: Fix hook iteration and default value for inode_copy_up_xattr
        security: fix the key_permission LSM hook function type
      615bc218
    • Linus Torvalds's avatar
      Merge tag 'integrity-v5.8-fix-2' of... · b13f40bc
      Linus Torvalds authored
      Merge tag 'integrity-v5.8-fix-2' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity
      
      Pull integrity updates from Mimi Zohar:
       "Include PCRs 8 & 9 in per TPM 2.0 bank boot_aggregate calculation.
      
        Prior to Linux 5.8 the SHA1 "boot_aggregate" value was padded with 0's
        and extended into the other TPM 2.0 banks.
      
        Included in the Linux 5.8 open window, TPM 2.0 PCR bank specific
        "boot_aggregate" values (PCRs 0  - 7) are calculated and extended into the TPM banks.
      
        Distro releases are now shipping grub2 with TPM support, which extend
        PCRs 8 & 9. I'd like for PCRs 8 & 9 to be included in the new
        "boot_aggregate" calculations.
      
        For backwards compatibility, if the hash is SHA1, these new PCRs are
        not included in the boot aggregate"
      
      * tag 'integrity-v5.8-fix-2' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity:
        ima: extend boot_aggregate with kernel measurements
      b13f40bc
    • Jens Axboe's avatar
      io_uring: use signal based task_work running · ce593a6c
      Jens Axboe authored
      Since 5.7, we've been using task_work to trigger async running of
      requests in the context of the original task. This generally works
      great, but there's a case where if the task is currently blocked
      in the kernel waiting on a condition to become true, it won't process
      task_work. Even though the task is woken, it just checks whatever
      condition it's waiting on, and goes back to sleep if it's still false.
      
      This is a problem if that very condition only becomes true when that
      task_work is run. An example of that is the task registering an eventfd
      with io_uring, and it's now blocked waiting on an eventfd read. That
      read could depend on a completion event, and that completion event
      won't get trigged until task_work has been run.
      
      Use the TWA_SIGNAL notification for task_work, so that we ensure that
      the task always runs the work when queued.
      
      Cc: stable@vger.kernel.org # v5.7
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      ce593a6c
    • Oleg Nesterov's avatar
      task_work: teach task_work_add() to do signal_wake_up() · e91b4816
      Oleg Nesterov authored
      So that the target task will exit the wait_event_interruptible-like
      loop and call task_work_run() asap.
      
      The patch turns "bool notify" into 0,TWA_RESUME,TWA_SIGNAL enum, the
      new TWA_SIGNAL flag implies signal_wake_up().  However, it needs to
      avoid the race with recalc_sigpending(), so the patch also adds the
      new JOBCTL_TASK_WORK bit included in JOBCTL_PENDING_MASK.
      
      TODO: once this patch is merged we need to change all current users
      of task_work_add(notify = true) to use TWA_RESUME.
      
      Cc: stable@vger.kernel.org # v5.7
      Acked-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
      Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      e91b4816
  5. 29 Jun, 2020 19 commits