Source-Changes archive

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

CVS commit: [netbsd-9] src/sys



Module Name:    src
Committed By:   martin
Date:           Tue Oct 15 19:23:09 UTC 2019

Modified Files:
        src/sys/kern [netbsd-9]: kern_sig.c
        src/sys/sys [netbsd-9]: signalvar.h

Log Message:
Pull up following revision(s) (requested by kamil in ticket #328):

        sys/kern/kern_sig.c: revision 1.369
        sys/sys/signalvar.h: revision 1.97

Refactor sigswitch()

Make the function static as it is now local to kern_sig.c.
Rename the 'relock' argument to 'proc_lock_held' as it is more verbose.

This was suggested by mjg@freebsd. While there this flips the users between
true<->false.

Add additional KASSERT(9) calls here to validate whethe proc_lock is used
accordingly.


To generate a diff of this commit:
cvs rdiff -u -r1.364.2.3 -r1.364.2.4 src/sys/kern/kern_sig.c
cvs rdiff -u -r1.93.2.1 -r1.93.2.2 src/sys/sys/signalvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index