Re: [PATCH 1/1] um: fix error return code in winch_tramp()

2022-05-19 Thread Thorsten Leemhuis
On 11.04.22 20:45, Richard Weinberger wrote: > - Ursprüngliche Mail - >> Von: "Nathan Chancellor" >> I attempted to print out the error code but it seems like there is no >> output in the console after "reboot: System halted". If I add an >> unconditional print right before the call to os_

Re: [PATCH 03/16] kdb: Use real_parent when displaying a list of processes

2022-05-19 Thread Eric W. Biederman
Doug Anderson writes: > Hi, > > On Wed, May 18, 2022 at 3:54 PM Eric W. Biederman > wrote: >> >> kdb has a bug that when using the ps command to display a list of >> processes, if a process is being debugged the debugger as the parent >> process. >> >> This is silly, and I expect it never comes

Re: [PATCH 24/30] panic: Refactor the panic path

2022-05-19 Thread Baoquan He
On 05/15/22 at 07:47pm, Guilherme G. Piccoli wrote: > On 12/05/2022 11:03, Petr Mladek wrote: .. > > OK, the question is how to make it better. Let's start with > > a clear picture of the problem: > > > > 1. panic() has basically two funtions: > > > > + show/store debug information (op

Re: [PATCH 03/16] kdb: Use real_parent when displaying a list of processes

2022-05-19 Thread Doug Anderson
Hi, On Wed, May 18, 2022 at 3:54 PM Eric W. Biederman wrote: > > kdb has a bug that when using the ps command to display a list of > processes, if a process is being debugged the debugger as the parent > process. > > This is silly, and I expect it never comes up in ptractice. As there > is very

Re: [PATCH 03/16] kdb: Use real_parent when displaying a list of processes

2022-05-19 Thread Eric W. Biederman
Peter Zijlstra writes: > On Wed, May 18, 2022 at 05:53:42PM -0500, Eric W. Biederman wrote: >> kdb has a bug that when using the ps command to display a list of >> processes, if a process is being debugged the debugger as the parent >> process. >> >> This is silly, and I expect it never comes up

Re: [PATCH 00/16] ptrace: cleanups and calling do_cldstop with only siglock

2022-05-19 Thread Eric W. Biederman
Sebastian Andrzej Siewior writes: > On 2022-05-18 20:26:05 [-0700], Kyle Huey wrote: >> Is there a git branch somewhere I can pull to test this? It doesn't apply >> cleanly to Linus's tip. > > https://kernel.googlesource.com/pub/scm/linux/kernel/git/ebiederm/user-namespace.git > ptrace_stop-clea

Re: [PATCH 19/30] panic: Add the panic hypervisor notifier list

2022-05-19 Thread Guilherme G. Piccoli
On 18/05/2022 19:17, Scott Branden wrote: > Hi Guilherme, > > +Desmond > [...] I'm afraid it breaks kdump if this device is not reset beforehand - it's a doorbell write, so not high risk I think... But in case the not-reset device can be probed normally in kdump kernel, t

Re: [PATCH 19/30] panic: Add the panic hypervisor notifier list

2022-05-19 Thread Guilherme G. Piccoli
On 19/05/2022 04:03, Petr Mladek wrote: > [...] > I would ignore it for now. If anyone would want to safe the log > then they would need to read it. They will most likely use > the existing kmsg_dump() infastructure. In fact, they should > use it to avoid a code duplication. > > Best Regards, > Pe

Re: [PATCH 03/16] kdb: Use real_parent when displaying a list of processes

2022-05-19 Thread Peter Zijlstra
On Wed, May 18, 2022 at 05:53:42PM -0500, Eric W. Biederman wrote: > kdb has a bug that when using the ps command to display a list of > processes, if a process is being debugged the debugger as the parent > process. > > This is silly, and I expect it never comes up in ptractice. As there