summaryrefslogtreecommitdiffstats
path: root/sys/compat/freebsd32
Commit message (Collapse)AuthorAgeFilesLines
* Regen.jkim2006-12-204-10/+27
|
* MFP4: (part of) 110058jkim2006-12-202-6/+58
| | | | Fix 32-bit msgsnd(3) and msgrcv(3) emulations for amd64.
* Regen.ru2006-11-111-1/+1
| | | | Forgotten by: trhodes
* Regen.ru2006-11-034-43/+4
|
* Fix build breakage introduced in previous commit (redeclatationru2006-11-031-6/+6
| | | | of sctp functions).
* This commits the remake in kern/ make sysent to getrrs2006-11-034-5/+56
| | | | | | | the correct syscalls.master's $FreeBSD$ tag record and a make sysent in sys/compat/freebsd32. Thanks Ruslan for pointing out the steps I missed :-0 Approved by: gnn
* Ok, here it is, we finally add SCTP to current. Note that thisrrs2006-11-031-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | work is not just mine, but it is also the works of Peter Lei and Michael Tuexen. They both are my two key other developers working on the project.. and they need ata-boy's too: **** peterlei@cisco.com tuexen@fh-muenster.de **** I did do a make sysent which updated the syscall's and sysproto.. I hope that is correct... without it you don't build since we have new syscalls for SCTP :-0 So go out and look at the NOTES, add option SCTP (make sure inet and inet6 are present too) and play with SCTP. I will see about comitting some test tools I have after I figure out where I should place them. I also have a lib (libsctp.a) that adds some of the missing socketapi functions that I need to put into lib's.. I will talk to George about this :-) There may still be some 64 bit issues in here, none of us have a 64 bit processor to test with yet.. Michael may have a MAC but thats another beast too.. If you have a mac and want to use SCTP contact Michael he maintains a web site with a loadable module with this code :-) Reviewed by: gnn Approved by: gnn
* Regen.sobomax2006-10-244-54/+4
|
* Fix kernel breakage introduced in the previous commit (redeclatationsobomax2006-10-241-9/+9
| | | | of the audit functions).
* Regenerate.rwatson2006-10-244-22/+81
|
* Hook up audit functions in the freebsd32 compatibility code. It isrwatson2006-10-241-9/+15
| | | | | | | believed these likely don't require wrappers. Reported by: sobomax MFC after: 3 days
* Regenerate.davidxu2006-10-174-5/+5
|
* Sync with master.davidxu2006-10-171-1/+1
|
* Regenerate.davidxu2006-10-064-6/+16
|
* Implement 32bit umtx_lock and umtx_unlock system calls, these two systemdavidxu2006-10-061-2/+2
| | | | | | | calls are not used by libthr in RELENG_6 and HEAD, it is only used by the libthr in RELENG-5, the _umtx_op system call can do more incremental dirty works than these two system calls without having to introduce new system calls or throw away old system calls when things are going on.
* Regenerate.davidxu2006-10-054-8/+23
|
* Oops, add the missing file.davidxu2006-10-051-0/+75
|
* Move some declaration of 32-bit signal structures into filedavidxu2006-10-052-10/+89
| | | | freebsd32-signal.h, implement sigtimedwait and sigwaitinfo system calls.
* Regenerate.rwatson2006-10-034-4/+4
|
* Change getpagesize() system call audit event to more clearly indicaterwatson2006-10-031-1/+1
| | | | | | | that we don't audit it. MFC after: 3 days Obtained from: TrustedBSD Project
* First part of a little cleanup in the calendar/timezone/RTC handling.phk2006-10-021-0/+1
| | | | | | Move relevant variables to <sys/clock.h> and fix #includes as necessary. Use libkern's much more time- & spamce-efficient BCD routines.
* Regenerate.davidxu2006-09-234-6/+7
|
* Enable sigwait.davidxu2006-09-231-1/+2
|
* Regenerate.davidxu2006-09-224-12/+23
|
* Add compatible code to let 32bit libthr work on 64bit kernel.davidxu2006-09-223-5/+76
|
* Regenerate.davidxu2006-09-224-6/+16
|
* Add umtx support for 32bit process on AMD64 machine.davidxu2006-09-221-1/+3
|
* Regenerate.davidxu2006-09-213-9/+7
|
* sync with master.davidxu2006-09-211-9/+4
|
* Regenerate.rwatson2006-09-174-6/+6
|
* AUE_SIGALTSTACK instead of AUE_SIGPENDING for sigaltstack().rwatson2006-09-171-1/+1
| | | | | Obtained from: TrustedBSD Project MFC after: 3 days
* The following functions need not to be reimplemented, reuse 64bitdavidxu2006-09-094-15/+27
| | | | | | syscalls instead: sigqueue, thr_set_name, thr_setscheduler, thr_getscheduler, thr_setschedparam.
* Regenerate.rwatson2006-09-034-29/+29
|
* Set freebsd32 system call event identifiers for:rwatson2006-09-031-47/+49
| | | | | | | | | | | | | | | | | | | | | | | - old truncate, ftruncate - old getpeername, gethostid, sethostid, getrlimit, setrlimit, killpg. - old quota, getsockname, getdirentries. - lgetfh - old getdomainname, setdomainname - sysarch, rtprio, __getcwd, jail, sigtimedwait - extattrctl, extattr_{get,set,delete,list}_{file,fd,link} - getresgid, getresuid, kqueue, eaccess, nmount, sendfile - fhstatfs, kldunloadf Right identifiers for: - nfssvc Remove incorrect identifier for: - __acl_get_file Compile tested with help of: sam Obtained from: TrustedBSD Project
* Regenerate. Looks like someone missed doing this previously as more thanrwatson2006-09-034-6/+10
| | | | just the audit event change appears in the diff.
* Use AUE_NTP_ADJTIME instead of AUE_ADJTIME for ntp_adjtime().rwatson2006-09-031-1/+1
| | | | Obtained from: TrustedBSD Project
* while (0); -> while (0) in multi-line macrosimp2006-08-171-1/+1
|
* Grab two syscall numbers. One is used to emulate functionality that linuxpeter2006-08-161-0/+2
| | | | | | has in its procfs (do a readlink of /proc/self/fd/<nn> to find the pathname that corresponds to a given file descriptor). Valgrind-3.x needs this functionality. This is a placeholder only at this time.
* Include sys/limits.h for INT_MAX. freebsd32_proto.h 1.58 does not includejkim2006-08-161-0/+1
| | | | sys/umtx.h any more and previously it was included from there.
* Regen to propogate <prefix>_AUE_<mumble> changes as well as the earlierjhb2006-08-152-472/+518
| | | | systrace changes.
* - Remove unused sysvec variables from various syscalls.conf.jhb2006-08-151-1/+1
| | | | | | | | | - Send the systrace_args files for all the compat ABIs to /dev/null for now. Right now makesyscalls.sh generates a file with a hardcoded function name, so it wouldn't work for any of the ABIs anyway. Probably the function name should be configurable via a 'systracename' variable and the functions should be stored in a function pointer in the sysvec structure.
* Regen for MPSAFE flag removal.jhb2006-07-284-283/+293
|
* Now that all system calls are MPSAFE, retire the SYF_MPSAFE flag used tojhb2006-07-281-273/+269
| | | | | | | | | mark system calls as being MPSAFE: - Stop conditionally acquiring Giant around system call invocations. - Remove all of the 'M' prefixes from the master system call files. - Remove support for the 'M' prefix from the script that generates the syscall-related files from the master system call files. - Don't explicitly set SYF_MPSAFE when registering nfssvc.
* Various fixes to comments in the syscall master files including removingjhb2006-07-281-3/+4
| | | | cruft from the audit import and adding mention of COMPAT4 to freebsd32.
* sync with master.davidxu2006-07-141-6/+11
|
* - Split out kern_accept(), kern_getpeername(), and kern_getsockname() forjhb2006-07-101-3/+5
| | | | | | | | | | | | | | | | | | | | use by ABI emulators. - Alter the interface of kern_recvit() somewhat. Specifically, go ahead and hard code UIO_USERSPACE in the uio as that's what all the callers specify. In place, add a new uioseg to indicate what type of pointer is in mp->msg_name. Previously it was always a userland address, but ABI emulators may pass in kernel-side sockaddrs. Also, remove the namelenp field and instead require the two places that used it to explicitly copy mp->msg_namelen out to userland. - Use the patched kern_recvit() to replace svr4_recvit() and the stock kern_sendit() to replace svr4_sendit(). - Use kern_bind() instead of stackgap use in ti_bind(). - Use kern_getpeername() and kern_getsockname() instead of stackgap in svr4_stream_ti_ioctl(). - Use kern_connect() instead of stackgap in svr4_do_putmsg(). - Use kern_getpeername() and kern_accept() instead of stackgap in svr4_do_getmsg(). - Retire the stackgap from SVR4 compat as it is no longer used.
* Unexpand PTRIN() in several places and fix one instance where 0 was beingjhb2006-07-101-13/+13
| | | | used instead of NULL.
* Regen.jhb2006-06-274-7/+7
|
* - Expand the scope of Giant some in mount(2) to protect the vfsp structurejhb2006-06-271-3/+3
| | | | | | | | from going away. mount(2) is now MPSAFE. - Expand the scope of Giant some in unmount(2) to protect the mp structure (or rather, to handle concurrent unmount races) from going away. umount(2) is now MPSAFE, as well as linux_umount() and linux_oldumount(). - nmount(2) and linux_mount() were already MPSAFE.
* Regen.jhb2006-06-264-14/+14
|
OpenPOWER on IntegriCloud