]> bbs.cooldavid.org Git - net-next-2.6.git/commit - kernel/signal.c
[PATCH] Unify sys_tkill() and sys_tgkill()
authorVadim Lobanov <vlobanov@speakeasy.net>
Sun, 30 Oct 2005 23:02:18 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:19 +0000 (17:37 -0800)
commit6dd69f1061bfdeca230509b173438e0731bff767
tree66094a2fdf02fd808b0661cc2a26c6ff64d1c590
parent19a4fcb531659f2f7d18b5d04cee039176e9540d
[PATCH] Unify sys_tkill() and sys_tgkill()

The majority of the sys_tkill() and sys_tgkill() function code is
duplicated between the two of them.  This patch pulls the duplication out
into a separate function -- do_tkill() -- and lets sys_tkill() and
sys_tgkill() be simple wrappers around it.  This should make it easier to
maintain in light of future changes.

Signed-off-by: Vadim Lobanov <vlobanov@speakeasy.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/signal.c