NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/40126: signal(9) is out of date



>Number:         40126
>Category:       kern
>Synopsis:       signal(9) is out of date
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 07 05:45:00 +0000 2008
>Originator:     Tetsuya Isaki
>Release:        NetBSD 5.99.3
>Organization:
>Environment:
Here is output of my uname, but this PR is for current src.
NetBSD XXXXXX 4.0_RC3 NetBSD 4.0_RC3 (XXXXXX) #3: Sun Oct 21 12:29:52 JST 2007  
root@XXXXXX:/usr/src/sys/arch/i386/compile/XXXXXX i386
>Description:
signal(9) is out of date.

1. struct proc * -> struct lwp * on some function's argument.
   ex. sigaction1(), sigprocmask1(),  trapsignal(), ...

2. sigactsinit(), sigactsfree() has changed its prototype.

3. some arguments are const-ify.

I can report about prototype difference, but I'm not sure
about its description (whether it is right or not).
>How-To-Repeat:
see signal(9) and sys/sys/signalvar.h (or sys/kern/kern_sig.c)
>Fix:



Home | Main Index | Thread Index | Old Index