<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/i386/linux/linux_sysvec.c, branch release/2.2.1_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>1997-03-27T03:07:27+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>1997-03-27T03:07:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1784d64eb85eb63599204bb31b826970b6661e65'/>
<id>1784d64eb85eb63599204bb31b826970b6661e65</id>
<content type='text'>
'RELENG_2_2_1_RELEASE'.

This commit was manufactured to restore the state of the 2.2.1-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_2_2_1_RELEASE'.

This commit was manufactured to restore the state of the 2.2.1-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare kernel to take advantage of "branded" ELF binaries.</title>
<updated>1996-10-16T17:51:08+00:00</updated>
<author>
<name>Søren Schmidt</name>
<email>sos@FreeBSD.org</email>
</author>
<published>1996-10-16T17:51:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ea5a2b2e00fd60ac2fa3424e2b18e04f29bbd344'/>
<id>ea5a2b2e00fd60ac2fa3424e2b18e04f29bbd344</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed nested include of &lt;sys/proc.h&gt; from &lt;vm/vm_object.h&gt; and fixed</title>
<updated>1996-10-15T18:24:34+00:00</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1996-10-15T18:24:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=aad9af2ba3fb10cf1f80ac6117e37f97d38ccee0'/>
<id>aad9af2ba3fb10cf1f80ac6117e37f97d38ccee0</id>
<content type='text'>
the one place that depended on it.  wakeup() is now prototyped in
&lt;sys/systm.h&gt; so that it is normally visible.

Added nested include of &lt;sys/queue.h&gt; in &lt;vm/vm_object.h&gt;.  The queue
macros are a more fundamental prerequisite for &lt;vm/vm_object.h&gt; than
the wakeup prototype and previously happened to be included by
namespace pollution from &lt;sys/proc.h&gt; or elsewhere.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the one place that depended on it.  wakeup() is now prototyped in
&lt;sys/systm.h&gt; so that it is normally visible.

Added nested include of &lt;sys/queue.h&gt; in &lt;vm/vm_object.h&gt;.  The queue
macros are a more fundamental prerequisite for &lt;vm/vm_object.h&gt; than
the wakeup prototype and previously happened to be included by
namespace pollution from &lt;sys/proc.h&gt; or elsewhere.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean-up the new VM map procfs code, and also add support for executable</title>
<updated>1996-06-18T05:16:00+00:00</updated>
<author>
<name>John Dyson</name>
<email>dyson@FreeBSD.org</email>
</author>
<published>1996-06-18T05:16:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6ead3edd9ce9ce4e9af72602993d905031c450b1'/>
<id>6ead3edd9ce9ce4e9af72602993d905031c450b1</id>
<content type='text'>
format file "etype".  It contains a description of the binary type for
a process.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
format file "etype".  It contains a description of the binary type for
a process.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up -Wunused warnings.</title>
<updated>1996-06-12T05:11:41+00:00</updated>
<author>
<name>Gary Palmer</name>
<email>gpalmer@FreeBSD.org</email>
</author>
<published>1996-06-12T05:11:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c23670e2949d9e72d99006b4f3be147c712f2f89'/>
<id>c23670e2949d9e72d99006b4f3be147c712f2f89</id>
<content type='text'>
Reviewed by:		bde
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:		bde
</pre>
</div>
</content>
</entry>
<entry>
<title>Include &lt;sys/buf.h&gt; so that this does't blow up with B_WRITE undefined.</title>
<updated>1996-05-01T06:31:18+00:00</updated>
<author>
<name>Jordan K. Hubbard</name>
<email>jkh@FreeBSD.org</email>
</author>
<published>1996-05-01T06:31:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5e26fb6fdf46965fedb4f7ebdecf13f42c80a424'/>
<id>5e26fb6fdf46965fedb4f7ebdecf13f42c80a424</id>
<content type='text'>
I fully updated my src tree and did a `make includes' in /usr/src before
trying this fix, so I can only presume that Bruce missed something.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I fully updated my src tree and did a `make includes' in /usr/src before
trying this fix, so I can only presume that Bruce missed something.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update the linux_sendsig() handler to the new type of the 4th</title>
<updated>1996-03-17T14:31:58+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1996-03-17T14:31:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b36546f69af873439d9b72e6bfd1db036c2da0b6'/>
<id>b36546f69af873439d9b72e6bfd1db036c2da0b6</id>
<content type='text'>
arg, now unsigned long.  This was (harmlessly on i386) conflicting
with the recent 4.4Lite2 changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
arg, now unsigned long.  This was (harmlessly on i386) conflicting
with the recent 4.4Lite2 changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move the elf linux_interp structure from the lkm stub to here so that it</title>
<updated>1996-03-10T22:42:16+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1996-03-10T22:42:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5cf588eb8b22a737c433d032e1683cacf83190fa'/>
<id>5cf588eb8b22a737c433d032e1683cacf83190fa</id>
<content type='text'>
can be referenced when the linux emulator is statically compiled into the
kernel.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
can be referenced when the linux emulator is statically compiled into the
kernel.
</pre>
</div>
</content>
</entry>
<entry>
<title>First attempt at FreeBSD &amp; Linux ELF support.</title>
<updated>1996-03-10T08:42:54+00:00</updated>
<author>
<name>Søren Schmidt</name>
<email>sos@FreeBSD.org</email>
</author>
<published>1996-03-10T08:42:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e1743d02cd14069f69a50bb8a6c626c1c6f47ddd'/>
<id>e1743d02cd14069f69a50bb8a6c626c1c6f47ddd</id>
<content type='text'>
Compile and link a new kernel, that will give native ELF support, and
provide the hooks for other ELF interpreters as well.

To make native ELF binaries use John Polstras elf-kit-1.0.1..
For the time being also use his ld-elf.so.1 and put it in
/usr/libexec.

The Linux emulator has been enhanced to also run ELF binaries, it
is however in its very first incarnation.
Just get some Linux ELF libs (Slackware-3.0) and put them in the
prober place (/compat/linux/...).
I've ben able to run all the Slackware-3.0 binaries I've tried
so far.
(No it won't run quake yet :)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Compile and link a new kernel, that will give native ELF support, and
provide the hooks for other ELF interpreters as well.

To make native ELF binaries use John Polstras elf-kit-1.0.1..
For the time being also use his ld-elf.so.1 and put it in
/usr/libexec.

The Linux emulator has been enhanced to also run ELF binaries, it
is however in its very first incarnation.
Just get some Linux ELF libs (Slackware-3.0) and put them in the
prober place (/compat/linux/...).
I've ben able to run all the Slackware-3.0 binaries I've tried
so far.
(No it won't run quake yet :)
</pre>
</div>
</content>
</entry>
<entry>
<title>Mega-commit for Linux emulator update..  This has been stress tested under</title>
<updated>1996-03-02T19:38:20+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1996-03-02T19:38:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d66a506616078adf4d266a309f979ffd95fe634f'/>
<id>d66a506616078adf4d266a309f979ffd95fe634f</id>
<content type='text'>
netscape-2.0 for Linux running all the Java stuff.  The scrollbars are now
working, at least on my machine. (whew! :-)

I'm uncomfortable with the size of this commit, but it's too
inter-dependant to easily seperate out.

The main changes:

COMPAT_LINUX is *GONE*.  Most of the code has been moved out of the i386
machine dependent section into the linux emulator itself.  The int 0x80
syscall code was almost identical to the lcall 7,0 code and a minor tweak
allows them to both be used with the same C code.  All kernels can now
just modload the lkm and it'll DTRT without having to rebuild the kernel
first.  Like IBCS2, you can statically compile it in with "options LINUX".

A pile of new syscalls implemented, including getdents(), llseek(),
readv(), writev(), msync(), personality().  The Linux-ELF libraries want
to use some of these.

linux_select() now obeys Linux semantics, ie: returns the time remaining
of the timeout value rather than leaving it the original value.

Quite a few bugs removed, including incorrect arguments being used in
syscalls..  eg:  mixups between passing the sigset as an int, vs passing
it as a pointer and doing a copyin(), missing return values, unhandled
cases, SIOC* ioctls, etc.

The build for the code has changed.  i386/conf/files now knows how
to build linux_genassym and generate linux_assym.h on the fly.

Supporting changes elsewhere in the kernel:

The user-mode signal trampoline has moved from the U area to immediately
below the top of the stack (below PS_STRINGS).  This allows the different
binary emulations to have their own signal trampoline code (which gets rid
of the hardwired syscall 103 (sigreturn on BSD, syslog on Linux)) and so
that the emulator can provide the exact "struct sigcontext *" argument to
the program's signal handlers.

The sigstack's "ss_flags" now uses SS_DISABLE and SS_ONSTACK flags, which
have the same values as the re-used SA_DISABLE and SA_ONSTACK which are
intended for sigaction only.  This enables the support of a SA_RESETHAND
flag to sigaction to implement the gross SYSV and Linux SA_ONESHOT signal
semantics where the signal handler is reset when it's triggered.

makesyscalls.sh no longer appends the struct sysentvec on the end of the
generated init_sysent.c code.  It's a lot saner to have it in a seperate
file rather than trying to update the structure inside the awk script. :-)

At exec time, the dozen bytes or so of signal trampoline code are copied
to the top of the user's stack, rather than obtaining the trampoline code
the old way by getting a clone of the parent's user area.  This allows
Linux and native binaries to freely exec each other without getting
trampolines mixed up.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
netscape-2.0 for Linux running all the Java stuff.  The scrollbars are now
working, at least on my machine. (whew! :-)

I'm uncomfortable with the size of this commit, but it's too
inter-dependant to easily seperate out.

The main changes:

COMPAT_LINUX is *GONE*.  Most of the code has been moved out of the i386
machine dependent section into the linux emulator itself.  The int 0x80
syscall code was almost identical to the lcall 7,0 code and a minor tweak
allows them to both be used with the same C code.  All kernels can now
just modload the lkm and it'll DTRT without having to rebuild the kernel
first.  Like IBCS2, you can statically compile it in with "options LINUX".

A pile of new syscalls implemented, including getdents(), llseek(),
readv(), writev(), msync(), personality().  The Linux-ELF libraries want
to use some of these.

linux_select() now obeys Linux semantics, ie: returns the time remaining
of the timeout value rather than leaving it the original value.

Quite a few bugs removed, including incorrect arguments being used in
syscalls..  eg:  mixups between passing the sigset as an int, vs passing
it as a pointer and doing a copyin(), missing return values, unhandled
cases, SIOC* ioctls, etc.

The build for the code has changed.  i386/conf/files now knows how
to build linux_genassym and generate linux_assym.h on the fly.

Supporting changes elsewhere in the kernel:

The user-mode signal trampoline has moved from the U area to immediately
below the top of the stack (below PS_STRINGS).  This allows the different
binary emulations to have their own signal trampoline code (which gets rid
of the hardwired syscall 103 (sigreturn on BSD, syslog on Linux)) and so
that the emulator can provide the exact "struct sigcontext *" argument to
the program's signal handlers.

The sigstack's "ss_flags" now uses SS_DISABLE and SS_ONSTACK flags, which
have the same values as the re-used SA_DISABLE and SA_ONSTACK which are
intended for sigaction only.  This enables the support of a SA_RESETHAND
flag to sigaction to implement the gross SYSV and Linux SA_ONESHOT signal
semantics where the signal handler is reset when it's triggered.

makesyscalls.sh no longer appends the struct sysentvec on the end of the
generated init_sysent.c code.  It's a lot saner to have it in a seperate
file rather than trying to update the structure inside the awk script. :-)

At exec time, the dozen bytes or so of signal trampoline code are copied
to the top of the user's stack, rather than obtaining the trampoline code
the old way by getting a clone of the parent's user area.  This allows
Linux and native binaries to freely exec each other without getting
trampolines mixed up.
</pre>
</div>
</content>
</entry>
</feed>
