]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r241855,r241859:
authoreadler <eadler@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 29 Oct 2012 03:52:18 +0000 (03:52 +0000)
committereadler <eadler@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 29 Oct 2012 03:52:18 +0000 (03:52 +0000)
commit6d127f28053cd04e45bf53843f53f11c206ad3aa
treebe20d0c6812ca22b686ba663f66c2b20d406be1a
parent30ddf7e54cc3d65a5ca4e29b171a04eaf190680a
MFC r241855,r241859:
Update the kill(2) and killpg(2) man pages to the modern permission
checks. Also indicate killpg(2) is POSIX compliant.

Correct the killpg(2) return values:

Return EPERM if processes were found but they
were unable to be signaled.

Return the first error from p_cansignal if no signal was successful.

Discussed with: jilles
Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@242283 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/kern_sig.c