[lug] insight as gdb frontend?

Tom Tromey tromey at redhat.com
Fri Apr 13 14:01:02 MDT 2001


>>>>> "D" == D Stimits <stimits at idcomm.com> writes:

D> But as far as the reboot thing, it does on two different chipsets,
D> 3 different 2.2.x kernels, and 2 different 2.4.x kernels. I think
D> it has a weakness in SMP, that isn't entirely the kernel's fault,
D> unless there is some long-standing and unknown bug that has
D> traversed through all the kernels since several years back.

All I'm saying is that if the kernel crashes due to the actions of
*any* userland program, then that is a kernel bug.  Period.  Sure, you
might be able to work around the kernel bug by changing the userland
program (in this case gdb).  But maybe you can't.  And anyway, it is
still a bug in the kernel.

Look at it this way: gdb isn't doing anything special.  Unusual, maybe
(not many programs use ptrace or whatever), but not special.  gdb
doesn't run as root.  gdb doesn't install kernel modules.  If gdb can
make a sequence of system calls which crashes your system, then so can
any program.  This is a security hole.

Tom



More information about the LUG mailing list