tokio-rs / tokio-uring

An io_uring backed runtime for Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

missing openat2

FrankReh opened this issue · comments

We provide access to the io-uring openat command through the OpenOptions builder and related commands.

Refer to the man page for openat2(2), https://man.archlinux.org/man/openat2.2. Besides being more strict on supported bits from the flags and mode fields, it introduces a resolve set of bits which are not available through the older openat(2) call.

My first thought is the OpenOptions builder could take a new method, but what to name it? (Maybe openat2_resolve(u64)).