Messages in this thread | | | From | Miguel Ojeda <> | Date | Wed, 3 May 2023 11:50:04 +0200 | Subject | Re: [PATCH v1] rust: error: add ERESTARTSYS error code |
| |
On Wed, May 3, 2023 at 10:40 AM Alice Ryhl <aliceryhl@google.com> wrote: > > This error code was probably excluded here originally because it never > actually reaches user programs when a syscall returns it. However, from
The reason is that commit 266def2a0f5b ("rust: error: add codes from `errno-base.h`") only introduced the ones from `include/uapi/asm-generic/errno-base.h`, but not the ones from `include/linux/errno.h` (or `include/uapi/asm-generic/errno.h`).
Given this is an independent patch, should we introduce the rest too, at once?
Cheers, Miguel
| |