Re: [Bug 200447] infinite loop in fork syscall

2018-07-11 Thread Oleg Nesterov
On 07/10, Eric W. Biederman wrote: > > > 2. To simplify, lets suppose we add the new PF_INFORK flag. Yes, this is > > bad, > >we can do better. I think we can simply add "struct hlist_head > > forking_threads" > >into signal_struct, so complete_signal() can just do > > hlist_for_each_ent

Re: [Bug 200447] infinite loop in fork syscall

2018-07-10 Thread Eric W. Biederman
Oleg Nesterov writes: > On 07/09, Linus Torvalds wrote: >> >> But the patch was written for testing and feedback more than anything >> else. Comments? > > see my reply on bugzilla. Can't we add lkml? Done. > Perhaps we can do another change? Not sure it is actually better, but I think > it is al