Subject: Re: finding where is errno
To: None <firstname.lastname@example.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
Date: 04/13/2002 17:29:31
> Anyone has an idea about how the kernel can learn the position of
> errno? I assume I can walk through the symbol table,
Uh, that'll break on stripped executables.
There's also a strong tradition that the symbol table does not affect
executability, so strong that dynamic linkers have separate symbol
tables of their own for their purposes. Breaking this would most
certainly violate least surprise.
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML email@example.com
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B