public inbox for [email protected]
 help / color / mirror / Atom feed
* IORING_OP_CLOSE fails on fd opened with O_PATH
@ 2020-05-31 12:47 Clay Harris
  2020-05-31 14:46 ` Jens Axboe
  0 siblings, 1 reply; 13+ messages in thread
From: Clay Harris @ 2020-05-31 12:47 UTC (permalink / raw)
  To: io-uring

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-06-10  1:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-31 12:47 IORING_OP_CLOSE fails on fd opened with O_PATH Clay Harris
2020-05-31 14:46 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox