Re: [RFC PATCH] proc: add support detach proccess's autogroup

2020-07-07 Thread Weiping Zhang
On Thu, Jul 2, 2020 at 6:21 PM Weiping Zhang wrote: > > On Thu, Jul 2, 2020 at 4:18 PM Peter Zijlstra wrote: > > > > On Thu, Jul 02, 2020 at 01:20:43PM +0800, Weiping Zhang wrote: > > > Since setid will create a autogroup for that process, there is no > > > way to detach a process from that

Re: [RFC PATCH] proc: add support detach proccess's autogroup

2020-07-02 Thread Weiping Zhang
On Thu, Jul 2, 2020 at 4:18 PM Peter Zijlstra wrote: > > On Thu, Jul 02, 2020 at 01:20:43PM +0800, Weiping Zhang wrote: > > Since setid will create a autogroup for that process, there is no > > way to detach a process from that autogroup, this patch add a new interface > > to detach a process

Re: [RFC PATCH] proc: add support detach proccess's autogroup

2020-07-02 Thread Peter Zijlstra
On Thu, Jul 02, 2020 at 01:20:43PM +0800, Weiping Zhang wrote: > Since setid will create a autogroup for that process, there is no > way to detach a process from that autogroup, this patch add a new interface > to detach a process from its autogroup. You can write anything to >

[RFC PATCH] proc: add support detach proccess's autogroup

2020-07-02 Thread Weiping Zhang
Since setid will create a autogroup for that process, there is no way to detach a process from that autogroup, this patch add a new interface to detach a process from its autogroup. You can write anything to /proc//autogroup_detach to do that. Signed-off-by: Weiping Zhang --- fs/proc/base.c |