Re: What is __KERNEL_SYSCALLS__ for?

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

 



On Tue, 2004-11-16 at 15:36 -0600, Timur Tabi wrote:
> > 
> > that was used for creating kernel threads, by calling int 0x80 for
> > fork/clone.
> 
> Shouldn't that be the other way around?  

yes that's why it's gone now


> So can I use this mechanism to call any system call from kernel space? 
> In which file is this mechanism prototyped?

only in very careful circumstances. Basically: DON'T DO IT.

-- 


--
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