RE: synchronisation question

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

 



-----Original Message-----
From: Gaurav Dhiman [mailto:gaurav4lkg@xxxxxxxxx] 
Sent: Sunday, August 28, 2005 12:17 PM
To: Yagnavarahan
Cc: Hemant Mohapatra; kernelnewbies
Subject: Re: synchronisation question

>How can you get hold of a system call by modifing the IDT. AFAIK, IDT
>is the entry point for interrupts routines not for system call
>functions.

Well, because the syscall table is no longer exported, I'm trying to catch
the syscall at the trap handler level (vector 128), perform what I want to,
and then transfer control to the actual int 128 vector.

But does the linux kernel still use this mechanism or SYSENTER to trap into
the kernel?

>Well in anycase if you want to modify the IDT, do use some mechanisum
>thru which you can disable the interrupts on all CPUs. Well I dont
>know if there is some kernel function which can do this or not.

Good point. I never gave it a thought. But for a start I guess I can support
only single processor machines. 

Thanks,
YV


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