> 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/