Commit:     27b0b2f44adffe0193a695bb528a83b550b8e54b
Parent:     9f57a54b6cf3f626334d97e93b5b917ad11e1efc
Author:     Eric W. Biederman <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 12 00:53:02 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Feb 12 09:48:32 2007 -0800

    [PATCH] pid: remove the now unused kill_pg kill_pg_info and __kill_pg_info
    Now that I have changed all of the in-tree users remove the old version of
    these functions.  This should make it clear to any out of tree users that 
    should be using kill_pgrp kill_pgrp_info or __kill_pgrp_info instead.
    Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]>
    Cc: Alan Cox <[EMAIL PROTECTED]>
    Cc: Oleg Nesterov <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 include/linux/sched.h |    3 ---
 kernel/signal.c       |   27 ---------------------------
 2 files changed, 0 insertions(+), 30 deletions(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index 39d40c5..5053dc0 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1329,14 +1329,11 @@ extern int kill_pid_info(int sig, struct siginfo *info, 
struct pid *pid);
 extern int kill_pid_info_as_uid(int, struct siginfo *, struct pid *, uid_t, 
uid_t, u32);
 extern int kill_pgrp(struct pid *pid, int sig, int priv);
 extern int kill_pid(struct pid *pid, int sig, int priv);
-extern int __kill_pg_info(int sig, struct siginfo *info, pid_t pgrp);
-extern int kill_pg_info(int, struct siginfo *, pid_t);
 extern void do_notify_parent(struct task_struct *, int);
 extern void force_sig(int, struct task_struct *);
 extern void force_sig_specific(int, struct task_struct *);
 extern int send_sig(int, struct task_struct *, int);
 extern void zap_other_threads(struct task_struct *p);
-extern int kill_pg(pid_t, int, int);
 extern int kill_proc(pid_t, int, int);
 extern struct sigqueue *sigqueue_alloc(void);
 extern void sigqueue_free(struct sigqueue *);
diff --git a/kernel/signal.c b/kernel/signal.c
index a9b679e..8072e56 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -1096,26 +1096,6 @@ int kill_pgrp_info(int sig, struct siginfo *info, struct 
pid *pgrp)
        return retval;
-int __kill_pg_info(int sig, struct siginfo *info, pid_t pgrp)
-       if (pgrp <= 0)
-               return -EINVAL;
-       return __kill_pgrp_info(sig, info, find_pid(pgrp));
-kill_pg_info(int sig, struct siginfo *info, pid_t pgrp)
-       int retval;
-       read_lock(&tasklist_lock);
-       retval = __kill_pg_info(sig, info, pgrp);
-       read_unlock(&tasklist_lock);
-       return retval;
 int kill_pid_info(int sig, struct siginfo *info, struct pid *pid)
        int error;
@@ -1315,12 +1295,6 @@ int kill_pid(struct pid *pid, int sig, int priv)
-kill_pg(pid_t pgrp, int sig, int priv)
-       return kill_pg_info(sig, __si_special(priv), pgrp);
 kill_proc(pid_t pid, int sig, int priv)
        return kill_proc_info(sig, __si_special(priv), pid);
@@ -1959,7 +1933,6 @@ EXPORT_SYMBOL(recalc_sigpending);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to