* [PATCH] sigprocmask.2: do not specify an exact value of rt_sigprocmask's 4th argument
@ 2017-02-19 21:13 Dmitry V. Levin
[not found] ` <20170219211302.GA30235-u2l5PoMzF/Vg9hUCZPvPmw@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Dmitry V. Levin @ 2017-02-19 21:13 UTC (permalink / raw)
To: Michael Kerrisk; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
As sizeof(kernel_sigset_t) is not the same for all architectures,
it would be better not to mention any numbers as its value.
Signed-off-by: Dmitry V. Levin <ldv-u2l5PoMzF/Vg9hUCZPvPmw@public.gmane.org>
---
man2/sigprocmask.2 | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2
index 8388340..6379a4d 100644
--- a/man2/sigprocmask.2
+++ b/man2/sigprocmask.2
@@ -202,10 +202,11 @@ which specifies the size in bytes of the signal sets in
.IR set
and
.IR oldset .
-This argument is currently required to have the value 8
-(
-.IR sizeof(kernel_sigset_t)
-).
+This argument is currently required to have a fixed value
+(equal to
+.IR sizeof(kernel_sigset_t) ).
+.\" sizeof(kernel_sigset_t) == _NSIG / 8,
+.\" which equals to 8 on most architectures, but e.g. on MIPS it's 16.
The glibc
.BR sigprocmask ()
--
ldv
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 5+ messages in thread[parent not found: <20170219211302.GA30235-u2l5PoMzF/Vg9hUCZPvPmw@public.gmane.org>]
* Re: [PATCH] sigprocmask.2: do not specify an exact value of rt_sigprocmask's 4th argument [not found] ` <20170219211302.GA30235-u2l5PoMzF/Vg9hUCZPvPmw@public.gmane.org> @ 2017-02-20 8:17 ` walter harms [not found] ` <58AAA603.6020400-fPG8STNUNVg@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: walter harms @ 2017-02-20 8:17 UTC (permalink / raw) To: Dmitry V. Levin; +Cc: Michael Kerrisk, linux-man-u79uwXL29TY76Z2rM5mHXA Am 19.02.2017 22:13, schrieb Dmitry V. Levin: > As sizeof(kernel_sigset_t) is not the same for all architectures, > it would be better not to mention any numbers as its value. > > Signed-off-by: Dmitry V. Levin <ldv-u2l5PoMzF/Vg9hUCZPvPmw@public.gmane.org> > --- > man2/sigprocmask.2 | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2 > index 8388340..6379a4d 100644 > --- a/man2/sigprocmask.2 > +++ b/man2/sigprocmask.2 > @@ -202,10 +202,11 @@ which specifies the size in bytes of the signal sets in > .IR set > and > .IR oldset . > -This argument is currently required to have the value 8 > -( > -.IR sizeof(kernel_sigset_t) > -). > +This argument is currently required to have a fixed value > +(equal to > +.IR sizeof(kernel_sigset_t) ). > +.\" sizeof(kernel_sigset_t) == _NSIG / 8, > +.\" which equals to 8 on most architectures, but e.g. on MIPS it's 16. > > The glibc > .BR sigprocmask () why not add this information like: Note: sizeof(kernel_sigset_t) is not the same for all architectures re, wh -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <58AAA603.6020400-fPG8STNUNVg@public.gmane.org>]
* [PATCH v2] sigprocmask.2: do not specify an exact value of rt_sigprocmask's 4th argument [not found] ` <58AAA603.6020400-fPG8STNUNVg@public.gmane.org> @ 2017-02-20 15:43 ` Dmitry V. Levin [not found] ` <20170220154327.GA9511-u2l5PoMzF/Vg9hUCZPvPmw@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Dmitry V. Levin @ 2017-02-20 15:43 UTC (permalink / raw) To: Michael Kerrisk, walter harms; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA As sizeof(kernel_sigset_t) is not the same for all architectures, it would be better not to mention any numbers as its value. Signed-off-by: Dmitry V. Levin <ldv-u2l5PoMzF/Vg9hUCZPvPmw@public.gmane.org> --- v2: mention that sizeof(kernel_sigset_t) is architecture specific. man2/sigprocmask.2 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2 index 8388340..499fd0c 100644 --- a/man2/sigprocmask.2 +++ b/man2/sigprocmask.2 @@ -202,10 +202,11 @@ which specifies the size in bytes of the signal sets in .IR set and .IR oldset . -This argument is currently required to have the value 8 -( -.IR sizeof(kernel_sigset_t) -). +This argument is currently required to have a fixed architecture specific value +(equal to +.IR sizeof(kernel_sigset_t) ). +.\" sizeof(kernel_sigset_t) == _NSIG / 8, +.\" which equals to 8 on most architectures, but e.g. on MIPS it's 16. The glibc .BR sigprocmask () -- ldv -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 5+ messages in thread
[parent not found: <20170220154327.GA9511-u2l5PoMzF/Vg9hUCZPvPmw@public.gmane.org>]
* [PING] [PATCH v2] sigprocmask.2: do not specify an exact value of rt_sigprocmask's 4th argument [not found] ` <20170220154327.GA9511-u2l5PoMzF/Vg9hUCZPvPmw@public.gmane.org> @ 2017-03-15 9:49 ` Dmitry V. Levin 2017-03-24 14:40 ` Michael Kerrisk (man-pages) 1 sibling, 0 replies; 5+ messages in thread From: Dmitry V. Levin @ 2017-03-15 9:49 UTC (permalink / raw) To: Michael Kerrisk; +Cc: walter harms, linux-man-u79uwXL29TY76Z2rM5mHXA As sizeof(kernel_sigset_t) is not the same for all architectures, it would be better not to mention any numbers as its value. Signed-off-by: Dmitry V. Levin <ldv-u2l5PoMzF/Vg9hUCZPvPmw@public.gmane.org> --- v2: mention that sizeof(kernel_sigset_t) is architecture specific. man2/sigprocmask.2 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2 index 8388340..499fd0c 100644 --- a/man2/sigprocmask.2 +++ b/man2/sigprocmask.2 @@ -202,10 +202,11 @@ which specifies the size in bytes of the signal sets in .IR set and .IR oldset . -This argument is currently required to have the value 8 -( -.IR sizeof(kernel_sigset_t) -). +This argument is currently required to have a fixed architecture specific value +(equal to +.IR sizeof(kernel_sigset_t) ). +.\" sizeof(kernel_sigset_t) == _NSIG / 8, +.\" which equals to 8 on most architectures, but e.g. on MIPS it's 16. The glibc .BR sigprocmask () -- ldv -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2] sigprocmask.2: do not specify an exact value of rt_sigprocmask's 4th argument [not found] ` <20170220154327.GA9511-u2l5PoMzF/Vg9hUCZPvPmw@public.gmane.org> 2017-03-15 9:49 ` [PING] " Dmitry V. Levin @ 2017-03-24 14:40 ` Michael Kerrisk (man-pages) 1 sibling, 0 replies; 5+ messages in thread From: Michael Kerrisk (man-pages) @ 2017-03-24 14:40 UTC (permalink / raw) To: Dmitry V. Levin, walter harms Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA Hello Dmitry On 02/20/2017 04:43 PM, Dmitry V. Levin wrote: > As sizeof(kernel_sigset_t) is not the same for all architectures, > it would be better not to mention any numbers as its value. Thanks! Applied. Cheers, Michael > Signed-off-by: Dmitry V. Levin <ldv-u2l5PoMzF/Vg9hUCZPvPmw@public.gmane.org> > --- > v2: mention that sizeof(kernel_sigset_t) is architecture specific. > > man2/sigprocmask.2 | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2 > index 8388340..499fd0c 100644 > --- a/man2/sigprocmask.2 > +++ b/man2/sigprocmask.2 > @@ -202,10 +202,11 @@ which specifies the size in bytes of the signal sets in > .IR set > and > .IR oldset . > -This argument is currently required to have the value 8 > -( > -.IR sizeof(kernel_sigset_t) > -). > +This argument is currently required to have a fixed architecture specific value > +(equal to > +.IR sizeof(kernel_sigset_t) ). > +.\" sizeof(kernel_sigset_t) == _NSIG / 8, > +.\" which equals to 8 on most architectures, but e.g. on MIPS it's 16. > > The glibc > .BR sigprocmask () > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-03-24 14:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-19 21:13 [PATCH] sigprocmask.2: do not specify an exact value of rt_sigprocmask's 4th argument Dmitry V. Levin
[not found] ` <20170219211302.GA30235-u2l5PoMzF/Vg9hUCZPvPmw@public.gmane.org>
2017-02-20 8:17 ` walter harms
[not found] ` <58AAA603.6020400-fPG8STNUNVg@public.gmane.org>
2017-02-20 15:43 ` [PATCH v2] " Dmitry V. Levin
[not found] ` <20170220154327.GA9511-u2l5PoMzF/Vg9hUCZPvPmw@public.gmane.org>
2017-03-15 9:49 ` [PING] " Dmitry V. Levin
2017-03-24 14:40 ` Michael Kerrisk (man-pages)
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).