login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
17
Re: [PATCH 1/1] signal: Introduce kill_pid_ns_info
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Daniel Hokka Zakrisson <daniel@...>
Cc: <ebiederm@...>, <xemul@...>, <sukadev@...>, <linux-kernel@...>, <containers@...>, <oleg@...>
Subject:
Re: [PATCH 1/1] signal: Introduce kill_pid_ns_info
Date: Thursday, July 17, 2008 - 5:10 pm
On Thu, 17 Jul 2008 21:37:36 +0200 (CEST) "Daniel Hokka Zakrisson" <daniel@hozac.com> wrote:
quoted text
> Author: Eric W. Biederman <ebiederm@xmission.com> > > Implement the basic helper function that walks all of the processes in a > pid namespace and sends them all a signal. > > Both locations that could use this functions are also updated to use this > function. > > I use find_ge_pid instead of for_each_process because it has a chance of > not touching every process in the system. > > [daniel@hozac.com: Optimize away nr <= 1 check, against latest Linus tree] > Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> > Signed-off-by: Daniel Hokka Zakrisson <daniel@hozac.com> > > diff --git a/include/linux/sched.h b/include/linux/sched.h > index ba2f859..83597f8 100644 > --- a/include/linux/sched.h > +++ b/include/linux/sched.h > @@ -1778,6 +1778,8 @@ extern void release_task(struct task_struct * p); > extern int send_sig_info(int, struct siginfo *, struct task_struct *); > extern int force_sigsegv(int, struct task_struct *);
Space-stuffed
quoted text
> extern int force_sig_info(int, struct siginfo *, struct task_struct *); > +extern int __kill_pid_ns_info(int sig, struct siginfo *info, struct > pid_namespace *ns);
word-wrapped
quoted text
> +extern int kill_pid_ns_info(int sig, struct siginfo *info, struct > pid_namespace *ns); > extern int __kill_pgrp_info(int sig, struct siginfo *info, struct pid > *pgrp); > 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); > diff --git a/kernel/pid_namespace.c b/kernel/pid_namespace.c > index 98702b4..9226423 100644 > --- a/kernel/pid_namespace.c > +++ b/kernel/pid_namespace.c > @@ -153,29 +153,14 @@ void free_pid_ns(struct kref *kref) > > void zap_pid_ns_processes(struct pid_namespace *pid_ns) > { > - int nr; > int rc;
but at least the tabs weren't replaced with spaces! Fix and resend, please. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 1/1] signal: Introduce kill_pid_ns_info
, Daniel Hokka Zakrisson
, (Thu Jul 17, 3:37 pm)
Re: [PATCH 1/1] signal: Introduce kill_pid_ns_info
, Andrew Morton
, (Thu Jul 17, 5:10 pm)
[PATCH] signal: Introduce kill_pid_ns_info
, Daniel Hokka Zakrisson
, (Thu Jul 17, 5:54 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Newall
Re: Slow DOWN, please!!!
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Fernando Luis
[PATCH] affinity is not defined in non-smp kernels - x86_64
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 28/37] dccp: Integration of dynamic feature activation - part 3 (client side)
Jean-Louis Dupond
tg3 driver not advertising 1000mbit
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
801 guests
online.
Online users
samgreen
Syndicate