linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 14449] New: Ambiguity in SIGSYS <-> SIGUNUSED portion of signal(7)
@ 2009-10-21  5:34 bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
       [not found] ` <bug-14449-11311-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
  0 siblings, 1 reply; 6+ messages in thread
From: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2009-10-21  5:34 UTC (permalink / raw)
  To: linux-man-u79uwXL29TY76Z2rM5mHXA

http://bugzilla.kernel.org/show_bug.cgi?id=14449

               URL: http://www.nabble.com/New-test-%3A-sniperkill---killin
                    g-processes-from-a-distance-td25986571.html
           Summary: Ambiguity in SIGSYS <-> SIGUNUSED portion of signal(7)
           Product: Documentation
           Version: unspecified
    Kernel Version: Linux orangebox 2.6.30-gentoo-r4 #1 SMP PREEMPT Sat
                    Aug 8 19:31:26 PDT 2009 x86_64 Intel(R) Core(TM)2 Quad
                    CPU Q9400 @ 2.66GHz GenuineIntel GNU/Linux
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: man-pages
        AssignedTo: documentation_man-pages-ztI5WcYan/vQLgFONoPN62D2FQJk+8+b@public.gmane.org
        ReportedBy: yaneurabeya-/E1597aS9LQAvxtiuMwx3w@public.gmane.org
        Regression: No


Created an attachment (id=23482)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=23482)
Application driven by the sniperkill script.

signal(7) states that signal # 31 for ppc, *86, etc should result in
termination only, in the 3rd column, but the `will be SIGSYS' comment is
unnecessarily ambiguous:

       SIGUNUSED    -,31,-     Term    Unused signal (will be SIGSYS)

       SIGSYS      12,-,12     Core    Bad argument to routine (SVID)

The behavior as shown in my log for the `sniperkill' test I've recommended
adding to LTP demonstrates that the behavior for SIGUNUSED matches SIGSYS.

The documentation for SIGUNUSED should either clearly state a) that the process
will `Core'-dump, and/or the indirection should be changed such that SIGUNUSED
directly maps to SIGSYS.

I've attached the logs and test. The email to ltp-list is in the URL field.

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
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] 6+ messages in thread

* [Bug 14449] Ambiguity in SIGSYS <-> SIGUNUSED portion of signal(7)
       [not found] ` <bug-14449-11311-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
@ 2009-10-21  5:35   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
  2009-10-21  5:35   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
                     ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2009-10-21  5:35 UTC (permalink / raw)
  To: linux-man-u79uwXL29TY76Z2rM5mHXA

http://bugzilla.kernel.org/show_bug.cgi?id=14449





--- Comment #1 from Garrett Cooper <yaneurabeya-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>  2009-10-21 05:35:07 ---
Created an attachment (id=23483)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=23483)
Execution log for kernel specified.

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
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] 6+ messages in thread

* [Bug 14449] Ambiguity in SIGSYS <-> SIGUNUSED portion of signal(7)
       [not found] ` <bug-14449-11311-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
  2009-10-21  5:35   ` [Bug 14449] " bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
@ 2009-10-21  5:35   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
  2010-01-25 13:16   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
                     ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2009-10-21  5:35 UTC (permalink / raw)
  To: linux-man-u79uwXL29TY76Z2rM5mHXA

http://bugzilla.kernel.org/show_bug.cgi?id=14449





--- Comment #2 from Garrett Cooper <yaneurabeya-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>  2009-10-21 05:35:34 ---
Created an attachment (id=23484)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=23484)
Driver script for killme application

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
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] 6+ messages in thread

* [Bug 14449] Ambiguity in SIGSYS <-> SIGUNUSED portion of signal(7)
       [not found] ` <bug-14449-11311-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
  2009-10-21  5:35   ` [Bug 14449] " bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
  2009-10-21  5:35   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
@ 2010-01-25 13:16   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
  2010-02-03  5:55   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
  2010-02-08  1:40   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2010-01-25 13:16 UTC (permalink / raw)
  To: linux-man-u79uwXL29TY76Z2rM5mHXA

http://bugzilla.kernel.org/show_bug.cgi?id=14449


Alan <alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org
     Kernel Version|Linux orangebox             |2.6.30-gentoo-r4
                   |2.6.30-gentoo-r4 #1 SMP     |
                   |PREEMPT Sat Aug 8 19:31:26  |
                   |PDT 2009 x86_64 Intel(R)    |
                   |Core(TM)2 Quad CPU Q9400 @  |
                   |2.66GHz GenuineIntel        |
                   |GNU/Linux                   |




-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
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] 6+ messages in thread

* [Bug 14449] Ambiguity in SIGSYS <-> SIGUNUSED portion of signal(7)
       [not found] ` <bug-14449-11311-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
                     ` (2 preceding siblings ...)
  2010-01-25 13:16   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
@ 2010-02-03  5:55   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
  2010-02-08  1:40   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2010-02-03  5:55 UTC (permalink / raw)
  To: linux-man-u79uwXL29TY76Z2rM5mHXA

http://bugzilla.kernel.org/show_bug.cgi?id=14449


Michael Kerrisk <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org




--- Comment #3 from Michael Kerrisk <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>  2010-02-03 05:55:18 ---
Thanks for this report. I applied the patch below. Satisfactory?

--- a/man7/signal.7
+++ b/man7/signal.7
@@ -270,7 +270,7 @@ SIGBUS      10,7,10 Core    Bus error (bad memory access)
 SIGPOLL                Term    Pollable event (Sys V).
                        Synonym for \fBSIGIO\fP
 SIGPROF        27,27,29        Term    Profiling timer expired
-SIGSYS 12,\-,12        Core    Bad argument to routine (SVr4)
+SIGSYS 12,31,12        Core    Bad argument to routine (SVr4)
 SIGTRAP        5       Core    Trace/breakpoint trap
 SIGURG 16,23,21        Ign     Urgent condition on socket (4.2BSD)
 SIGVTALRM      26,26,28        Term    Virtual alarm clock (4.2BSD)
@@ -304,7 +304,7 @@ SIGPWR      29,30,19        Term    Power failure (System
V)
 SIGINFO        29,\-,\-                A synonym for \fBSIGPWR\fP
 SIGLOST        \-,\-,\-        Term    File lock lost
 SIGWINCH       28,28,20        Ign     Window resize signal (4.3BSD, Sun)
-SIGUNUSED      \-,31,\-        Term    Unused signal (will be \fBSIGSYS\fP)
+SIGUNUSED      \-,31,\-        Core    Synonymous with \fBSIGSYS\fP
 .TE

 (Signal 29 is
@@ -328,6 +328,13 @@ by default on those other Unix systems where it appears.
 .B SIGIO
 (which is not specified in POSIX.1-2001) is ignored by default
 on several other Unix systems.
+
+Where defined,
+.B SIGUNUSED
+is synonymous with
+.\" parisc is the only exception: SIGSYS is 12, SIGUNUSED is 31
+.B SIGSYS
+on most architectures.
 .SS "Real-time Signals"
 Linux supports real-time signals as originally defined in the POSIX.1b
 real-time extensions (and now included in POSIX.1-2001).

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
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] 6+ messages in thread

* [Bug 14449] Ambiguity in SIGSYS <-> SIGUNUSED portion of signal(7)
       [not found] ` <bug-14449-11311-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
                     ` (3 preceding siblings ...)
  2010-02-03  5:55   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
@ 2010-02-08  1:40   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2010-02-08  1:40 UTC (permalink / raw)
  To: linux-man-u79uwXL29TY76Z2rM5mHXA

http://bugzilla.kernel.org/show_bug.cgi?id=14449





--- Comment #4 from Garrett Cooper <yaneurabeya-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>  2010-02-08 01:40:43 ---
Sounds good -- thanks!

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
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] 6+ messages in thread

end of thread, other threads:[~2010-02-08  1:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-21  5:34 [Bug 14449] New: Ambiguity in SIGSYS <-> SIGUNUSED portion of signal(7) bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
     [not found] ` <bug-14449-11311-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
2009-10-21  5:35   ` [Bug 14449] " bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
2009-10-21  5:35   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
2010-01-25 13:16   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
2010-02-03  5:55   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
2010-02-08  1:40   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r

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).