Re: how to call system call from kernelspace

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

 



On Tue, Apr 27, 2010 at 09:25, rahul patil
<rahul.deshmukhpatil@xxxxxxxxx> wrote:
> Though it is bad idea to call a system call from kernel space
> is it possible any how to call a system call from kernel space?

IIRC, don't forget to set the code and data segment. I forgot the
function names, sorry. You'll need it to avoid error checking knowing
that these syscalls are called from outside user space virtual memory
segment.

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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