![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lots of questions about linux. | Methal | Linux | 1 | 04-25-2008 08:06 AM |
| Questions about Unix/Linux | Vallzi | What's on Your Mind? | 5 | 01-22-2007 10:09 AM |
| General Linux Questions | randy.moretz | UNIX for Dummies Questions & Answers | 1 | 02-23-2006 06:24 PM |
| Linux questions | Enigma777 | Linux | 3 | 09-10-2003 09:11 PM |
| RedHat linux questions?? | BAM | UNIX for Dummies Questions & Answers | 2 | 07-31-2002 11:58 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
linux-gate - x86 - a few questions
I'm aware of the linux-gate VDSO used to implement the sysenter mechanism for system calls. On older kernels this was mapped to a static location in the address space of each process. Newer kernels allow this to be dynamically located (though I don't think it's used by any distribution yet).
How do you detect, at runtime, where this is located so I can make system calls from assembly language? There's some mention of the ELF auxiliary vector but I have no idea how to access this. Also AFAIK the sysenter instruction does not exist on AMD processors. Do AMD processors still use the linux-gate mechanism? Does a statically linked application still have access to the linux-gate? ldd gives me 'not a dynamic executable'. |
|||
| Google The UNIX and Linux Forums |
| Forum Sponsor | ||
|
|