Does this need a syscall? At least if you only need to access this
stuff (a) long before a crash (to control its operations) and (b)
after a reboot (to get crash data) a character device should do the
job fine. The ioctl() interface is inelegant but registering a misc
device should be easier than a syscall, and if everything else fails
you can always change the device number while remaining binary
compatible.
A device is also easier to implement via a module, since the hooks are
already there.
Olaf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/