summaryrefslogtreecommitdiffstats
path: root/sys/alpha/linux
Commit message (Collapse)AuthorAgeFilesLines
* Don't auto-generate the syscalls.marcel2000-12-038-7/+1224
|
* Don't auto-generate syscalls.marcel2000-12-031-1/+1
|
* Don't unregister the ioctl handlers before we verified wemarcel2000-11-231-11/+13
| | | | | | | | | | | 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
* Use the linux_connect() on alpha rather than passing directly throughgallatin2000-11-161-1/+2
| | | | | | | | | | 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
* make the fcntl() flags match what the linux/alpha port uses, notgallatin2000-11-161-9/+11
| | | | what linux/i386 uses
* Enable linux thread support on the alpha. The guts of linux_clone wasgallatin2000-11-101-1/+57
| | | | | | | | 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.
* Make MINSIGSTKSZ machine dependent, and have the sigaltstackmarcel2000-11-092-1/+4
| | | | | | | | | | | | | | | | | | | | | | 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
* back out 1.66 -- the Elfxx_Brandinfo compat_3_brand field doesn't existgallatin2000-11-091-2/+0
| | | | in -current
* Fix generated include path.obrien2000-11-041-1/+1
| | | | Approved by: JKH
* Fix the Elf64 branding initialization.obrien2000-11-041-0/+2
|
* Sort.obrien2000-11-021-1/+1
|
* Support for the linux ipc syscalls on the alpha, where each one hasgallatin2000-11-011-11/+19
| | | | | its own syscall rather than going through a demux function like linux_ipc() on i386
* use DUMMY macro and support from linux_util.hgallatin2000-11-011-15/+1
|
* Move the linux abi's alpha md files over to using David's build-timegallatin2000-11-014-4/+4
| | | | syscall generation method
* fix linux_termio and linux_termios structs on alpha. alpha differencesgallatin2000-11-011-1/+1
| | | | | are in the termios struct (probably because linux wants to be compatible with the osf/1 termios struct), not the termio struct.
* Apply style(9).obrien2000-11-011-2/+2
|
* Minimal set of diffs from the i386 bits to the AlphaLinux.obrien2000-11-011-29/+3
| | | | (based on a patch to sys/i386/linux/linux_dummy.c by gallatin)
* Need to dummy-out rt_sigreturn.obrien2000-11-011-0/+3
| | | | submitted by: gallatin
* Need to include sys/proc.h.obrien2000-11-011-1/+2
|
* I don't know why this used to compile for me, but now structobrien2000-11-011-2/+2
| | | | linux_sigcontext seems to have changed and some members are gone.
* Make the target a little bit more generic.obrien2000-11-011-1/+3
|
* Apply style(9). [best I could]obrien2000-10-231-35/+40
|
* Apply style(9).obrien2000-10-231-48/+47
| | | | (best I could)
* Sort the #define's.obrien2000-10-231-38/+38
|
* Minimal set of diffs from the i386 bits to the AlphaLinux.obrien2000-10-231-1/+1
|
* Re-order the #define's into a more logical one.obrien2000-10-231-17/+18
|
* We need to explicitly tell the args struct for COMPAT functions we useobrien2000-10-231-4/+13
| | | | that use the same args struct as their non-COMPAT counter parts.
* Somehow I left out sycall #98obrien2000-10-221-0/+1
|
* Minor whitespace cleanup.obrien2000-10-221-6/+5
|
* Minimal set of diffs from the i386 bits to the AlphaLinux.obrien2000-10-221-234/+408
| | | | Submitted by: gallatin (content, minimization by me)
* A start at an implemention of linux_rt_sendsig & linux_rt_sigreturngallatin2000-10-171-1/+0
| | | | | | | | | | | | | | 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 ...
* Minimal set of diffs from the i386 bits to the AlphaLinux.obrien2000-09-071-406/+127
| | | | Submitted by: gallatin (content, minimization by me)
* Minimal set of diffs from the i386 bits to the AlphaLinux.obrien2000-09-063-499/+217
| | | | Submitted by: gallatin (content, minimization by me)
* Add the AlphaLinux locore support.obrien2000-09-061-0/+50
| | | | Submitted by: gallatin
* Revive these files in their new location. These were repo copied frompeter2000-09-061-0/+437
| | | | | | the old files before Marcel lost the history on them. Requested by: obrien
* When sigaltstack is called with a stack size that's not smallermarcel2000-09-062-1/+5
| | | | | | | than LINUX_MINSIGSTKSZ but smaller than MINSIGSTKSZ, cheat and pass MINSIGSTKSZ to the kernel. This is a workaround. Submitted through: nate
* Fix typo in license.marcel2000-08-251-1/+1
|
* Finish the Linuxulator MD/MI split.marcel2000-08-221-437/+0
| | | | | | | | | 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.
* Update include directives for Linuxulator headers after themarcel2000-08-221-1/+1
| | | | MD/MI split.
* Collect the MD syscalls from /sys/compat/linux here. Since thismarcel2000-08-221-0/+634
| | | | is a new file, fix most of the style bugs at the same time.
* Sigh. Fix SYS_exit problems. I misunderstood the significance of thesepeter2000-07-291-1/+1
| | | | trailing options.
* Change the 'exit()' system call to 'sys_exit()'. This avoids overlappingpeter2000-07-291-1/+1
| | | | | | 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.
* Remove the only use of SCARG and perform dead code elimination.marcel2000-07-271-3/+2
|
* Revert implementation of setfsuid and setfsgid due to securitymarcel2000-07-201-0/+2
| | | | | | | issues. Requested by: rwatson Backed by: kris
* Implement pread and pwrite.marcel2000-07-171-2/+0
| | | | | PR: 17991 Submitted by: Geoffrey Speicher <geoff@caribbean.sea-incorporated.com>
* Add prototypes for linux_pread and linux_pwrite.marcel2000-07-171-2/+4
| | | | | PR: 17991 Submitted by: Geoffrey Speicher <geoff@caribbean.sea-incorporated.com>
* Implement setfsuid and setfsgid. Implementation derived from patchmarcel2000-07-161-2/+0
| | | | | | | in PR. PR: 16993 Submitted by: Bjoern Groenvall <bg@sics.se>
* Fixed the return type for exit() and the args struct tag several NOPROTObde2000-05-091-2/+3
| | | | | | 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.
* Add a version tag for the rtc port to depend on.peter2000-05-061-0/+2
|
* Fix #! script exec under linux emulation. If a script is exec'd from adillon2000-04-262-2/+57
| | | | | | | | | | 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.
OpenPOWER on IntegriCloud