Messages in this thread | | | Date | Mon, 16 May 2011 14:17:11 +0200 | From | Jan Kratochvil <> | Subject | Re: getter PTRACE_GETSIGINFO should not modify anything [Re: [PATCH 11/11] ptrace: implement group stop notification for ptracer] |
| |
Hi Tejun,
On Mon, 16 May 2011 10:43:50 +0200, Tejun Heo wrote: > There's distinction between "broken" and "ugly". If it's ugly but > functional, you don't need to "fix" it.
The final goal is the user experience (such as the users of GDB), nothing else matters. If it is so "ugly" the userland developers fail to use it the project as a whole still broken.
> Frankly, I think the biggest disease was this obsession with > perfection.
I try to suggest fixes which seem to be easier on the kernel side than trying to workaround them in all the debugger-like applications. After various strace fixes and for years gdb linux-nat fixes there is a need to move to gdbserver which will mean to reimplement all the ptrace workarounds again.
> So, I'm gonna push back quite a bit unless it actually compromises > functionality or correctness.
With your position "if it is workaroundable in userland let's make the new kernel API broken again" it no longer makes sense to comment on it. Yes, everything is workaroundable but that is usually not the goal of new APIs.
Thanks, Jan
| |