| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
can unload. Doing so leaves the linuxulator in a crippled
state (no ioctl support) when Linux binaries are run at
unload time.
While here, consistently spell ELF in capitals and perform
some minor style improvements.
ELF spelling submitted by: asmodai
|
|
|
|
|
|
|
|
|
|
| |
to our native connect(). This is required to deal with the differences
in the way linux handles connects on non-blocking sockets.
This gets the private beta of the Compaq Linux/alpha JDK working
on FreeBSD/alpha
Approved by: marcel
|
|
|
|
| |
what linux/i386 uses
|
|
|
|
|
|
|
|
| |
mainly cut-n-pasted from the i386 port, except for the method of setting
the child's stack which is the only MD part of this function.
I've tested with the example apps shipped with the linux threads source
code (ex1-ex6) and with several binary builds of Mozilla.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
syscall compare against a variable sv_minsigstksz in struct
sysentvec as to properly take the size of the machine- and
ABI dependent struct sigframe into account.
The SVR4 and iBCS2 modules continue to have a minsigstksz of
8192 to preserve behavior. The real values (if different) are
not known at this time. Other ABI modules use the real
values.
The native MINSIGSTKSZ is now defined as follows:
Arch MINSIGSTKSZ
---- -----------
alpha 4096
i386 2048
ia64 12288
Reviewed by: mjacob
Suggested by: bde
|
|
|
|
| |
in -current
|
|
|
|
| |
Approved by: JKH
|
| |
|
| |
|
|
|
|
|
| |
its own syscall rather than going through a demux function like
linux_ipc() on i386
|
| |
|
|
|
|
| |
syscall generation method
|
|
|
|
|
| |
are in the termios struct (probably because linux wants to be compatible
with the osf/1 termios struct), not the termio struct.
|
| |
|
|
|
|
| |
(based on a patch to sys/i386/linux/linux_dummy.c by gallatin)
|
|
|
|
| |
submitted by: gallatin
|
| |
|
|
|
|
| |
linux_sigcontext seems to have changed and some members are gone.
|
| |
|
| |
|
|
|
|
| |
(best I could)
|
| |
|
| |
|
| |
|
|
|
|
| |
that use the same args struct as their non-COMPAT counter parts.
|
| |
|
| |
|
|
|
|
| |
Submitted by: gallatin (content, minimization by me)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and associated user-level signal trampoline glue.
Without this patch, an SA_SIGINFO style handler can be installed by a linux
app, but if the handler accesses its sip argument, it will get a garbage
pointer and likely segfault.
We currently supply a valid pointer, but its contents are mainly
garbage. Filling this in properly is future work.
This is the second of 3 commits that will get IBM's JDK 1.3 working with
FreeBSD ...
|
|
|
|
| |
Submitted by: gallatin (content, minimization by me)
|
|
|
|
| |
Submitted by: gallatin (content, minimization by me)
|
|
|
|
| |
Submitted by: gallatin
|
|
|
|
|
|
| |
the old files before Marcel lost the history on them.
Requested by: obrien
|
|
|
|
|
|
|
| |
than LINUX_MINSIGSTKSZ but smaller than MINSIGSTKSZ, cheat and
pass MINSIGSTKSZ to the kernel. This is a workaround.
Submitted through: nate
|
| |
|
|
|
|
|
|
|
|
|
| |
In summary:
o This file has been moved to sys/compat/linux,
o Any MD syscalls in this file are moved to
linux_machdep.c in sys/i386/linux,
o Include directives, makefiles and config files
have been updated.
|
|
|
|
| |
MD/MI split.
|
|
|
|
| |
is a new file, fix most of the style bugs at the same time.
|
|
|
|
| |
trailing options.
|
|
|
|
|
|
| |
gcc's internal exit() prototypes and the (futile) hackery that we did to
try and avoid warnings. main() was renamed for similar reasons.
Remove an exit related hack from makesyscalls.sh.
|
| |
|
|
|
|
|
|
|
| |
issues.
Requested by: rwatson
Backed by: kris
|
|
|
|
|
| |
PR: 17991
Submitted by: Geoffrey Speicher <geoff@caribbean.sea-incorporated.com>
|
|
|
|
|
| |
PR: 17991
Submitted by: Geoffrey Speicher <geoff@caribbean.sea-incorporated.com>
|
|
|
|
|
|
|
| |
in PR.
PR: 16993
Submitted by: Bjoern Groenvall <bg@sics.se>
|
|
|
|
|
|
| |
syscalls including exit(). These entries were unused, so the bugs had no
effect, but the the args struct tag will be used to calculate sy_nargs
correctly. exit() was wrong in all emulators.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
program running under linux emulation, the script binary is checked for
in /compat/linux first. Without this patch the wrong script binary
(i.e. the FreeBSD binary) will be run instead of the linux binary.
For example, #!/bin/sh, thus breaking out of linux compatibility mode.
This solves a number of problems people have had installing linux
software on FreeBSD boxes.
|