Re: __NR_SYSCALL_BASE undefined error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 02, 2002 at 02:36:19AM +0000, krishnan charumathi wrote:
> Hi
> 
> Could you say Why is it not allowed?? Ami not allowed to do "insmod" as 
> super user that will load the module into the kernel and check if the 
> system call can be called, by logging in as an other user??

No, the ability to put a system call into a module is not allowed
currently both by the existing design of the kernel, and because Linus
does not want this to happen.

You can have a syscall call into your module if it is present, if you
register your module with the core after it is loaded.  The LSM patch
(at http://lsm.immunix.org/ ) does this if you want an example.

thanks,

greg k-h
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux