The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-31-2008
Registered User
 

Join Date: May 2008
Posts: 6
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'.
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0