Re: The disappearing sys_call_table export.

Terje Malmedal
2003-05-09T08:43:46Z

[Alan Cox]
> On Iau, 2003-05-08 at 13:25, Terje Malmedal wrote:
>> How about a
>>
>> EXPORT_SYMBOL_GPL_AND_DONT_EVEN_THINK_ABOUT_SENDING_A_BUG_REPORT(sys_call_table);

> Its in read only space nowdays anyway

>> A server for an online internet game had several months of uptime and
>> I needed to rotate the log-files so I made a module which trapped
>> sys_write and closed and reopened the file with a new name before
>> continuing[1].

> man ptrace

Did not work on multi-threaded programs at the time(at least strace
didn't), nowadays I'd use gdb as I explained in the original mail.

The point is that I used to get a convenient mechanism for working
around or fixing bugs in the kernel and applications without any
downtime. This is are very useful capability to have even if it is
only needed rarely.

Is there any reasonable way to be able to do modify a running kernel
like this? I assume I can't count on the method from Phrack working
forever...

--
- Terje
malmedal@usit.uio.no