linux-gate - x86 - a few questions


 
Thread Tools Search this Thread
Operating Systems Linux linux-gate - x86 - a few questions
# 1  
Old 05-31-2008
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'.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. SuSE

Upgrading from Suse Linux 10.1(x86-64)

Hi I don't know if this is good place for this post. I`m using a laptop whit suse Linux 10.1 installed on it (since I bought it) and its only Importance is one industrial 3d scan software installed on it. its an old laptop whit an old version of Linux is it possible to backup this installed... (1 Reply)
Discussion started by: mkhb75
1 Replies

2. Shell Programming and Scripting

[ask]gate date in different name file

hlow all, i have case with different name file tto filter name date only example file BDG.20110627.653212.txt 3GSMG.21.32.20110620.34112.3211.txt MDN.000.234.123.20110619.2313.3.txt output 20110627.txt 20110620.txt 20110619.txt how can i filtering to get the date if they dinamic... (5 Replies)
Discussion started by: zvtral
5 Replies

3. UNIX for Dummies Questions & Answers

Unix (not Linux) on x86 chips?

Hi everyone- I'm creating an asset database for our company and the previous person who worked on this began categorizing servers in this manner: Hardware Server Windows (or Unix) I stated that Windows and Unix are software, not hardware and don't describe the physical box in any way.... (4 Replies)
Discussion started by: robywar
4 Replies

4. Solaris

Sparc or x86 - General questions

Hi all, Now Sun provides a large range of x86 servers and Solaris is running fine on both x86/sparc. For new projects mainly running Oracle DB on SAN, I am wondering which architecture is best for our new projets. As we won't go for high end servers (using around 4 or 8 Cpu's par host is... (6 Replies)
Discussion started by: manifesto
6 Replies

5. Solaris

x86.miniroot questions

Hi everybody :) I am trying to setup a solaris x86 pxeboot enviroment at my work, but i am haveing quite a few problems... I have got it to work, almost.. just need someone smart to help me out with the rest :p as you can see in the attached image, it fails when it tries to contact the... (8 Replies)
Discussion started by: Skovsen
8 Replies

6. Linux

Linux ES 4 Update 4 (x86)

I have cdrom with the following files which I copieed on my hard drive. RHEL4-U4-i386-ES-disc1.iso RHEL4-U4-i386-ES-disc4.iso RHEL4-U4-i386-ES-disc2.iso RHEL4-U4-i386-ES-disc5.iso RHEL4-U4-i386-ES-disc3.iso What shell I do now to upgrade linux version. :o Thank you zam (6 Replies)
Discussion started by: zam
6 Replies
Login or Register to Ask a Question