Re: Article Announcement - Sysenter Based System Call Mechanism in Linux 2.6

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

 



On 8/14/06, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:

> > The kernel places the AT_SYSINFO value on the stack of the process at
> > start time! (same with the other AT_ values)
> >
> > glibc knows how to parse these values (and you can do it yourself as
> > well, although having glibc do it is better)...
> >

they are there for the kernel to pass certain "key system parameters" to
the program;
$ LD_SHOW_AUXV=1 /bin/true
AT_SYSINFO:      0x9dc400
AT_SYSINFO_EHDR: 0x9dc000
AT_HWCAP:    fpu vme de pse tsc msr mce cx8 mtrr pge mca cmov pat
clflush dts acpi mmx fxsr sse sse2 ss tm pbe
AT_PAGESZ:       4096
AT_CLKTCK:       100
AT_PHDR:         0x8048034
AT_PHENT:        32
AT_PHNUM:        8
AT_BASE:         0x0
AT_FLAGS:        0x0
AT_ENTRY:        0x8048b30
AT_UID:          500
AT_EUID:         500
AT_GID:          500
AT_EGID:         500
AT_SECURE:       0
AT_PLATFORM:     i686


Thanks a lot Arjan for your valuable inputs. I have modified the
document to include some information about AT_SYSINFO. I have also
removed the direct references to 0xffffe400. The modified document can
be found at the same location.

Manu

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