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
GRUB-FILE(1)                                                       User Commands                                                      GRUB-FILE(1)

NAME
grub-file - check file type SYNOPSIS
file OPTIONS FILE DESCRIPTION
Check if FILE is of specified type. --is-i386-xen-pae-domu Check if FILE can be booted as i386 PAE Xen unprivileged guest kernel --is-x86_64-xen-domu Check if FILE can be booted as x86_64 Xen unprivileged guest kernel --is-x86-xen-dom0 Check if FILE can be used as Xen x86 privileged guest kernel --is-x86-multiboot Check if FILE can be used as x86 multiboot kernel --is-x86-multiboot2 Check if FILE can be used as x86 multiboot2 kernel --is-arm-linux Check if FILE is ARM Linux --is-arm64-linux Check if FILE is ARM64 Linux --is-ia64-linux Check if FILE is IA64 Linux --is-mips-linux Check if FILE is MIPS Linux --is-mipsel-linux Check if FILE is MIPSEL Linux --is-sparc64-linux Check if FILE is SPARC64 Linux --is-powerpc-linux Check if FILE is POWERPC Linux --is-x86-linux Check if FILE is x86 Linux --is-x86-linux32 Check if FILE is x86 Linux supporting 32-bit protocol --is-x86-kfreebsd Check if FILE is x86 kFreeBSD --is-i386-kfreebsd Check if FILE is i386 kFreeBSD --is-x86_64-kfreebsd Check if FILE is x86_64 kFreeBSD --is-x86-knetbsd Check if FILE is x86 kNetBSD --is-i386-knetbsd Check if FILE is i386 kNetBSD --is-x86_64-knetbsd Check if FILE is x86_64 kNetBSD --is-i386-efi Check if FILE is i386 EFI file --is-x86_64-efi Check if FILE is x86_64 EFI file --is-ia64-efi Check if FILE is IA64 EFI file --is-arm64-efi Check if FILE is ARM64 EFI file --is-arm-efi Check if FILE is ARM EFI file --is-hibernated-hiberfil Check if FILE is hiberfil.sys in hibernated state --is-x86_64-xnu Check if FILE is x86_64 XNU (Mac OS X kernel) --is-i386-xnu Check if FILE is i386 XNU (Mac OS X kernel) --is-xnu-hibr Check if FILE is XNU (Mac OS X kernel) hibernated image --is-x86-bios-bootsector Check if FILE is BIOS bootsector -h, --help Display this help and exit. -u, --usage Display the usage of this command and exit. SEE ALSO
The full documentation for grub-file is maintained as a Texinfo manual. If the info and grub-file programs are properly installed at your site, the command info grub-file should give you access to the complete manual. grub-file (GRUB) 2.02-2ubuntu8.3 July 2018 GRUB-FILE(1)