Re: [PATCH v1] rust: error: add ERESTARTSYS error code

From: Miguel Ojeda
Date: Wed May 03 2023 - 05:51:55 EST


On Wed, May 3, 2023 at 10:40 AM Alice Ryhl <aliceryhl@xxxxxxxxxx> 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