Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@ev5.linux.S.xgw.FI>
Subject: set_program_attributes()
Date: Thu, 23 Jan 1997 14:03:34 +0200 (EET)	[thread overview]
Message-ID: <761ee0199340af51c74d88fc6bd266dd.axp-list@archive.invalid> (raw)
In-Reply-To: <199701221514.KAA09995@linux03.amt.tay1.dec.com>

Hi everyone,
    It looks like Digital UNIX 4.0 has this new system call: 
set_program_attributes() (syscall number 43), and I'm having problems
figuring out what it actually does in order to emulate it.. (Actually, it
looks like the system call might be there already in 3.2, but nothing uses
it until the 4.0 /sbin/loader).

My current guess is that it sets a new base for the text and BSS sections
or something like that. It should be simple enough to emulate, but I just
want to find out what it actually should do. Unlike the other system calls
that we have no problems emulating, I can find no manual-pages for this
thing, nor even a function declaration to find out what the argument types
actually are.. It looks like it is used only inside the /sbin/loader, and
as usual the loader functionality is totally undocumented.

My detective work has so far uncovered that it has 4 arguments: that's
from looking at the Digital Unix sysent structure for the damn thing.
Looking at the use of this system call, it _looks_ like the third and
fourth argument is the base and length of the new BSS section, and the
first and second argument just _might_ be the base and length of where the
text should be loaded, but that's pure speculation. 

Anybody have any information on this thing? 

		Linus

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

      reply	other threads:[~1997-01-23 12:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.95.970122083258.6875A-100000@naphta.mb.jhu.edu>
1997-01-22 15:14 ` xdm hanging jestabro
1997-01-23 12:03   ` Linus Torvalds [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox