public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] man/man2/sigaction.2: Update si_code list with Linux v6.16
@ 2025-09-09 19:13 Thiago Jung Bauermann
  2025-09-09 19:44 ` Carlos O'Donell
  0 siblings, 1 reply; 4+ messages in thread
From: Thiago Jung Bauermann @ 2025-09-09 19:13 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: linux-man, Carlos O'Donell

Update with missing si_code values from Linux v6.16's
include/uapi/asm-generic/siginfo.h.

Signed-off-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
---

Changes in v2:
- Make all the entries added by this patch that have parenthesized notes
  use .BR. Some were erroneously using .B in v1.
- Add "... and glibc 2.43" note to TRAP_PERF, SYS_SECCOMP and
  SYS_USER_DISPATCH (suggested by Carlos and Alejandro).

 man/man2/sigaction.2 | 51 ++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 49 insertions(+), 2 deletions(-)

diff --git a/man/man2/sigaction.2 b/man/man2/sigaction.2
index 8d08a8c409d9..d6eced0761d7 100644
--- a/man/man2/sigaction.2
+++ b/man/man2/sigaction.2
@@ -652,6 +652,9 @@ or
 .\" SI_DETHREAD is defined in Linux 2.6.9 sources, but isn't implemented
 .\" It appears to have been an idea that was tried during 2.5.6
 .\" through to Linux 2.5.24 and then was backed out.
+.TP
+.B SI_ASYNCNL
+Async name lookup completion.
 .RE
 .P
 The following values can be placed in
@@ -716,6 +719,12 @@ Floating-point invalid operation.
 .TP
 .B FPE_FLTSUB
 Subscript out of range.
+.TP
+.BR FPE_FLTUNK " (since Linux 4.17)"
+Undiagnosed floating-point exception.
+.TP
+.BR FPE_CONDTRAP " (PARISC only)"
+Trap on condition.
 .RE
 .P
 The following values can be placed in
@@ -742,6 +751,24 @@ See
 .BR pkeys (7).
 The protection key which applied to this access is available via
 .IR si_pkey .
+.TP
+.BR SEGV_ACCADI " (since Linux 4.17, SPARC only)"
+Application Data Integrity not enabled for mapped object.
+.TP
+.BR SEGV_ADIDERR " (since Linux 4.17, SPARC only)"
+Disrupting Memory Corruption Detection error.
+.TP
+.BR SEGV_ADIPERR " (since Linux 4.17, SPARC only)"
+Precise Memory Corruption Detection exception.
+.TP
+.BR SEGV_MTEAERR " (since Linux 5.10, ARM only)"
+Asynchronous Memory Tagging Extension error.
+.TP
+.BR SEGV_MTESERR " (since Linux 5.10, ARM only)"
+Synchronous Memory Tagging Extension exception.
+.TP
+.BR SEGV_CPERR " (since Linux 6.10)"
+Control protection fault.
 .RE
 .P
 The following values can be placed in
@@ -785,6 +812,12 @@ Process taken branch trap.
 .TP
 .BR TRAP_HWBKPT " (since Linux 2.4, IA64 only)"
 Hardware breakpoint/watchpoint.
+.TP
+.BR TRAP_UNK " (since Linux 4.18)"
+Undiagnosed trap.
+.TP
+.BR TRAP_PERF " (since Linux 5.13 and glibc 2.43)"
+Perf event with sigtrap=1.
 .RE
 .P
 The following values can be placed in
@@ -839,17 +872,31 @@ High priority input available.
 Device disconnected.
 .RE
 .P
-The following value can be placed in
+The following values can be placed in
 .I si_code
 for a
 .B SIGSYS
 signal:
 .RS 4
 .TP
-.BR SYS_SECCOMP " (since Linux 3.5)"
+.BR SYS_SECCOMP " (since Linux 3.5 and glibc 2.43)"
 Triggered by a
 .BR seccomp (2)
 filter rule.
+.TP
+.BR SYS_USER_DISPATCH  " (since Linux 5.11 and glibc 2.43)"
+Syscall user dispatch triggered.
+.RE
+.P
+The following value can be placed in
+.I si_code
+for a
+.B SIGEMT
+signal:
+.RS 4
+.TP
+.BR EMT_TAGOVF " (SPARC only)"
+Tag overflow.
 .RE
 .SS Dynamically probing for flag bit support
 The

base-commit: e86f9fd0c279f593242969a2fbb5ef379272d89d

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

* Re: [PATCH v2] man/man2/sigaction.2: Update si_code list with Linux v6.16
  2025-09-09 19:13 [PATCH v2] man/man2/sigaction.2: Update si_code list with Linux v6.16 Thiago Jung Bauermann
@ 2025-09-09 19:44 ` Carlos O'Donell
  2025-09-14 11:31   ` Alejandro Colomar
  0 siblings, 1 reply; 4+ messages in thread
From: Carlos O'Donell @ 2025-09-09 19:44 UTC (permalink / raw)
  To: Thiago Jung Bauermann, Alejandro Colomar; +Cc: linux-man

On 9/9/25 3:13 PM, Thiago Jung Bauermann wrote:
> Update with missing si_code values from Linux v6.16's
> include/uapi/asm-generic/siginfo.h.

LGTM.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>

> Signed-off-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
> ---
> 
> Changes in v2:
> - Make all the entries added by this patch that have parenthesized notes
>    use .BR. Some were erroneously using .B in v1.
> - Add "... and glibc 2.43" note to TRAP_PERF, SYS_SECCOMP and
>    SYS_USER_DISPATCH (suggested by Carlos and Alejandro).
> 
>   man/man2/sigaction.2 | 51 ++++++++++++++++++++++++++++++++++++++++++--
>   1 file changed, 49 insertions(+), 2 deletions(-)
> 
> diff --git a/man/man2/sigaction.2 b/man/man2/sigaction.2
> index 8d08a8c409d9..d6eced0761d7 100644
> --- a/man/man2/sigaction.2
> +++ b/man/man2/sigaction.2
> @@ -652,6 +652,9 @@ or
>   .\" SI_DETHREAD is defined in Linux 2.6.9 sources, but isn't implemented
>   .\" It appears to have been an idea that was tried during 2.5.6
>   .\" through to Linux 2.5.24 and then was backed out.
> +.TP
> +.B SI_ASYNCNL
> +Async name lookup completion.
>   .RE
>   .P
>   The following values can be placed in
> @@ -716,6 +719,12 @@ Floating-point invalid operation.
>   .TP
>   .B FPE_FLTSUB
>   Subscript out of range.
> +.TP
> +.BR FPE_FLTUNK " (since Linux 4.17)"
> +Undiagnosed floating-point exception.
> +.TP
> +.BR FPE_CONDTRAP " (PARISC only)"
> +Trap on condition.
>   .RE
>   .P
>   The following values can be placed in
> @@ -742,6 +751,24 @@ See
>   .BR pkeys (7).
>   The protection key which applied to this access is available via
>   .IR si_pkey .
> +.TP
> +.BR SEGV_ACCADI " (since Linux 4.17, SPARC only)"
> +Application Data Integrity not enabled for mapped object.
> +.TP
> +.BR SEGV_ADIDERR " (since Linux 4.17, SPARC only)"
> +Disrupting Memory Corruption Detection error.
> +.TP
> +.BR SEGV_ADIPERR " (since Linux 4.17, SPARC only)"
> +Precise Memory Corruption Detection exception.
> +.TP
> +.BR SEGV_MTEAERR " (since Linux 5.10, ARM only)"
> +Asynchronous Memory Tagging Extension error.
> +.TP
> +.BR SEGV_MTESERR " (since Linux 5.10, ARM only)"
> +Synchronous Memory Tagging Extension exception.
> +.TP
> +.BR SEGV_CPERR " (since Linux 6.10)"
> +Control protection fault.
>   .RE
>   .P
>   The following values can be placed in
> @@ -785,6 +812,12 @@ Process taken branch trap.
>   .TP
>   .BR TRAP_HWBKPT " (since Linux 2.4, IA64 only)"
>   Hardware breakpoint/watchpoint.
> +.TP
> +.BR TRAP_UNK " (since Linux 4.18)"
> +Undiagnosed trap.
> +.TP
> +.BR TRAP_PERF " (since Linux 5.13 and glibc 2.43)"
> +Perf event with sigtrap=1.

OK.

>   .RE
>   .P
>   The following values can be placed in
> @@ -839,17 +872,31 @@ High priority input available.
>   Device disconnected.
>   .RE
>   .P
> -The following value can be placed in
> +The following values can be placed in
>   .I si_code
>   for a
>   .B SIGSYS
>   signal:
>   .RS 4
>   .TP
> -.BR SYS_SECCOMP " (since Linux 3.5)"
> +.BR SYS_SECCOMP " (since Linux 3.5 and glibc 2.43)"

OK.

>   Triggered by a
>   .BR seccomp (2)
>   filter rule.
> +.TP
> +.BR SYS_USER_DISPATCH  " (since Linux 5.11 and glibc 2.43)"
> +Syscall user dispatch triggered.

OK.

> +.RE
> +.P
> +The following value can be placed in
> +.I si_code
> +for a
> +.B SIGEMT
> +signal:
> +.RS 4
> +.TP
> +.BR EMT_TAGOVF " (SPARC only)"
> +Tag overflow.
>   .RE
>   .SS Dynamically probing for flag bit support
>   The
> 
> base-commit: e86f9fd0c279f593242969a2fbb5ef379272d89d
> 


-- 
Cheers,
Carlos.


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

* Re: [PATCH v2] man/man2/sigaction.2: Update si_code list with Linux v6.16
  2025-09-09 19:44 ` Carlos O'Donell
@ 2025-09-14 11:31   ` Alejandro Colomar
  2025-09-15 21:15     ` Thiago Jung Bauermann
  0 siblings, 1 reply; 4+ messages in thread
From: Alejandro Colomar @ 2025-09-14 11:31 UTC (permalink / raw)
  To: Carlos O'Donell; +Cc: Thiago Jung Bauermann, linux-man

[-- Attachment #1: Type: text/plain, Size: 4197 bytes --]

Hi Carlos, Thiago,

On Tue, Sep 09, 2025 at 03:44:06PM -0400, Carlos O'Donell wrote:
> On 9/9/25 3:13 PM, Thiago Jung Bauermann wrote:
> > Update with missing si_code values from Linux v6.16's
> > include/uapi/asm-generic/siginfo.h.
> 
> LGTM.
> 
> Reviewed-by: Carlos O'Donell <carlos@redhat.com>
> 
> > Signed-off-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>

Thanks!  I've applied the patch and the Reviewed-by tag.


Have a lovely day!
Alex

> > ---
> > 
> > Changes in v2:
> > - Make all the entries added by this patch that have parenthesized notes
> >    use .BR. Some were erroneously using .B in v1.
> > - Add "... and glibc 2.43" note to TRAP_PERF, SYS_SECCOMP and
> >    SYS_USER_DISPATCH (suggested by Carlos and Alejandro).
> > 
> >   man/man2/sigaction.2 | 51 ++++++++++++++++++++++++++++++++++++++++++--
> >   1 file changed, 49 insertions(+), 2 deletions(-)
> > 
> > diff --git a/man/man2/sigaction.2 b/man/man2/sigaction.2
> > index 8d08a8c409d9..d6eced0761d7 100644
> > --- a/man/man2/sigaction.2
> > +++ b/man/man2/sigaction.2
> > @@ -652,6 +652,9 @@ or
> >   .\" SI_DETHREAD is defined in Linux 2.6.9 sources, but isn't implemented
> >   .\" It appears to have been an idea that was tried during 2.5.6
> >   .\" through to Linux 2.5.24 and then was backed out.
> > +.TP
> > +.B SI_ASYNCNL
> > +Async name lookup completion.
> >   .RE
> >   .P
> >   The following values can be placed in
> > @@ -716,6 +719,12 @@ Floating-point invalid operation.
> >   .TP
> >   .B FPE_FLTSUB
> >   Subscript out of range.
> > +.TP
> > +.BR FPE_FLTUNK " (since Linux 4.17)"
> > +Undiagnosed floating-point exception.
> > +.TP
> > +.BR FPE_CONDTRAP " (PARISC only)"
> > +Trap on condition.
> >   .RE
> >   .P
> >   The following values can be placed in
> > @@ -742,6 +751,24 @@ See
> >   .BR pkeys (7).
> >   The protection key which applied to this access is available via
> >   .IR si_pkey .
> > +.TP
> > +.BR SEGV_ACCADI " (since Linux 4.17, SPARC only)"
> > +Application Data Integrity not enabled for mapped object.
> > +.TP
> > +.BR SEGV_ADIDERR " (since Linux 4.17, SPARC only)"
> > +Disrupting Memory Corruption Detection error.
> > +.TP
> > +.BR SEGV_ADIPERR " (since Linux 4.17, SPARC only)"
> > +Precise Memory Corruption Detection exception.
> > +.TP
> > +.BR SEGV_MTEAERR " (since Linux 5.10, ARM only)"
> > +Asynchronous Memory Tagging Extension error.
> > +.TP
> > +.BR SEGV_MTESERR " (since Linux 5.10, ARM only)"
> > +Synchronous Memory Tagging Extension exception.
> > +.TP
> > +.BR SEGV_CPERR " (since Linux 6.10)"
> > +Control protection fault.
> >   .RE
> >   .P
> >   The following values can be placed in
> > @@ -785,6 +812,12 @@ Process taken branch trap.
> >   .TP
> >   .BR TRAP_HWBKPT " (since Linux 2.4, IA64 only)"
> >   Hardware breakpoint/watchpoint.
> > +.TP
> > +.BR TRAP_UNK " (since Linux 4.18)"
> > +Undiagnosed trap.
> > +.TP
> > +.BR TRAP_PERF " (since Linux 5.13 and glibc 2.43)"
> > +Perf event with sigtrap=1.
> 
> OK.
> 
> >   .RE
> >   .P
> >   The following values can be placed in
> > @@ -839,17 +872,31 @@ High priority input available.
> >   Device disconnected.
> >   .RE
> >   .P
> > -The following value can be placed in
> > +The following values can be placed in
> >   .I si_code
> >   for a
> >   .B SIGSYS
> >   signal:
> >   .RS 4
> >   .TP
> > -.BR SYS_SECCOMP " (since Linux 3.5)"
> > +.BR SYS_SECCOMP " (since Linux 3.5 and glibc 2.43)"
> 
> OK.
> 
> >   Triggered by a
> >   .BR seccomp (2)
> >   filter rule.
> > +.TP
> > +.BR SYS_USER_DISPATCH  " (since Linux 5.11 and glibc 2.43)"
> > +Syscall user dispatch triggered.
> 
> OK.
> 
> > +.RE
> > +.P
> > +The following value can be placed in
> > +.I si_code
> > +for a
> > +.B SIGEMT
> > +signal:
> > +.RS 4
> > +.TP
> > +.BR EMT_TAGOVF " (SPARC only)"
> > +Tag overflow.
> >   .RE
> >   .SS Dynamically probing for flag bit support
> >   The
> > 
> > base-commit: e86f9fd0c279f593242969a2fbb5ef379272d89d
> > 
> 
> 
> -- 
> Cheers,
> Carlos.
> 
> 

-- 
<https://www.alejandro-colomar.es>
Use port 80 (that is, <...:80/>).

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH v2] man/man2/sigaction.2: Update si_code list with Linux v6.16
  2025-09-14 11:31   ` Alejandro Colomar
@ 2025-09-15 21:15     ` Thiago Jung Bauermann
  0 siblings, 0 replies; 4+ messages in thread
From: Thiago Jung Bauermann @ 2025-09-15 21:15 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Carlos O'Donell, linux-man

Hello Alex,

Alejandro Colomar <alx@kernel.org> writes:

> Hi Carlos, Thiago,
>
> On Tue, Sep 09, 2025 at 03:44:06PM -0400, Carlos O'Donell wrote:
>> On 9/9/25 3:13 PM, Thiago Jung Bauermann wrote:
>> > Update with missing si_code values from Linux v6.16's
>> > include/uapi/asm-generic/siginfo.h.
>> 
>> LGTM.
>> 
>> Reviewed-by: Carlos O'Donell <carlos@redhat.com>
>> 
>> > Signed-off-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
>
> Thanks!  I've applied the patch and the Reviewed-by tag.

Thank you!

-- 
Thiago

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

end of thread, other threads:[~2025-09-15 21:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-09 19:13 [PATCH v2] man/man2/sigaction.2: Update si_code list with Linux v6.16 Thiago Jung Bauermann
2025-09-09 19:44 ` Carlos O'Donell
2025-09-14 11:31   ` Alejandro Colomar
2025-09-15 21:15     ` Thiago Jung Bauermann

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