Re: Suggestion: LKM should be able to add system call for itself

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jan Engelhardt
Date: Monday, July 7, 2008 - 2:35 am

On Monday 2008-07-07 07:09, Jinkai Gao wrote:


And that is good -- I certainly do not want something to step out of
bounds by accident or intention.


I do not see what a syscall will buy over a "switch file" in procfs or
sysfs.


And the point is? Why cannot it use, say, a character device?


It is. You do not know what number your syscall will get. And if
you knew, it might just happen that this specific number is taken
in the next iteration in the Linux kernel.


Letting the user know does not help you. Binaries are already compiled
with the syscall numbers in, and recompiling is not feasible even
if you could.

It is pointless.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Suggestion: LKM should be able to add system call for ..., Arjan van de Ven, (Mon Jul 7, 12:01 am)
Re: Suggestion: LKM should be able to add system call for ..., Jan Engelhardt, (Mon Jul 7, 2:35 am)
Re: Suggestion: LKM should be able to add system call for ..., Eduard - Gabriel Mun ..., (Mon Jul 7, 9:33 am)