1. 18 6月, 2020 4 次提交
  2. 15 6月, 2020 6 次提交
  3. 11 6月, 2020 7 次提交
  4. 10 6月, 2020 2 次提交
  5. 09 6月, 2020 4 次提交
  6. 08 6月, 2020 2 次提交
  7. 05 6月, 2020 5 次提交
  8. 03 6月, 2020 1 次提交
    • J
      io_uring: disallow close of ring itself · fd2206e4
      Jens Axboe 提交于
      A previous commit enabled this functionality, which also enabled O_PATH
      to work correctly with io_uring. But we can't safely close the ring
      itself, as the file handle isn't reference counted inside
      io_uring_enter(). Instead of jumping through hoops to enable ring
      closure, add a "soft" ->needs_file option, ->needs_file_no_error. This
      enables O_PATH file descriptors to work, but still catches the case of
      trying to close the ring itself.
      Reported-by: NJann Horn <jannh@google.com>
      Fixes: 904fbcb1 ("io_uring: remove 'fd is io_uring' from close path")
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      fd2206e4
  9. 30 5月, 2020 3 次提交
  10. 27 5月, 2020 6 次提交