Re: Syscall number allocation

From: Olaf Titz (olaf@bigred.inka.de)
Date: Sun Jun 04 2000 - 06:15:15 EST


> Is there some sort of precedent/procedure for reserving syscall table
> entries? I'm working on getting a new version of our crash dump system
> ready, and binary compatibility for the user-space part between kernel
> versions would be a big plus for users.

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/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:18 EST