public inbox for [email protected]
 help / color / mirror / Atom feed
From: Clay Harris <[email protected]>
To: [email protected]
Subject: IORING_OP_CLOSE fails on fd opened with O_PATH
Date: Sun, 31 May 2020 07:47:40 -0500	[thread overview]
Message-ID: <[email protected]> (raw)

Tested on kernel 5.6.14

$ ./closetest closetest.c

path closetest.c open on fd 3 with O_RDONLY
 ---- io_uring close(3)
 ---- ordinary close(3)
ordinary close(3) failed, errno 9: Bad file descriptor


$ ./closetest closetest.c opath

path closetest.c open on fd 3 with O_PATH
 ---- io_uring close(3)
io_uring close() failed, errno 9: Bad file descriptor
 ---- ordinary close(3)
ordinary close(3) returned 0

             reply	other threads:[~2020-05-31 12:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-31 12:47 Clay Harris [this message]
2020-05-31 14:46 ` IORING_OP_CLOSE fails on fd opened with O_PATH Jens Axboe
2020-05-31 20:19   ` Jens Axboe
2020-06-02 18:22     ` Jann Horn
2020-06-02 18:42       ` Jens Axboe
2020-06-02 19:16         ` Jann Horn
2020-06-02 21:39           ` Jens Axboe
2020-06-08 11:21   ` Clay Harris
2020-06-08 20:19     ` Jens Axboe
2020-06-09  1:40       ` Clay Harris
2020-06-09  2:14         ` Jens Axboe
2020-06-09  5:16           ` Clay Harris
2020-06-10  1:52             ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200531124740.vbvc6ms7kzw447t2@ps29521.dreamhostps.com \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox