[root@localhost satan]# proftpd
[root@localhost satan]# netstat -tap | grep ftp
tcp 0 0 *:ftp *:* LISTEN 2503/
[root@localhost satan]# gdb
GNU gdb 5.3-22mdk (Mandrake Linux)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-mandrake-linux-gnu".
(gdb) at 2503
Attaching to process 2503
Couldn't get registers: Operation not permitted.
(gdb)
То же самое с sendmail, postfix.
Говорят, что это во всех новых ядрах (начиная с 2.4.20) и старых, пропатченных от ptrace/kmod. Так вот, что делать? Как дебажить? =)
|