summaryrefslogtreecommitdiffstats
path: root/sys/i386/ibcs2/syscalls.xenix
Commit message (Collapse)AuthorAgeFilesLines
* Now that all system calls are MPSAFE, retire the SYF_MPSAFE flag used tojhb2006-07-281-20/+20
| | | | | | | | | 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.
* - Split ioctl() up into ioctl() and kern_ioctl(). The kern_ioctl() assumesjhb2006-07-081-1/+1
| | | | | | | | | that the 'data' pointer is already setup to point to a valid KVM buffer or contains the copied-in data from userland as appropriate (ioctl(2) still does this). kern_ioctl() takes care of looking up a file pointer, implementing FIONCLEX and FIOCLEX, and calling fi_ioctl(). - Use kern_ioctl() to implement xenix_rdchk() instead of using the stackgap and mark xenix_rdchk() MPSAFE.
* Add kern_setgroups() and kern_getgroups() and use them to implementjhb2006-07-061-2/+2
| | | | | | | | | ibcs2_[gs]etgroups() rather than using the stackgap. This also makes ibcs2_[gs]etgroups() MPSAFE. Also, it cleans up one bit of weirdness in the old setgroups() where it allocated an entire credential just so it had a place to copy the group list into. Now setgroups just allocates a NGROUPS_MAX array on the stack that it copies into and then passes to kern_setgroups().
* Assign audit event identfiers to Xenix system calls. Note: AUE_EACCESSrwatson2006-02-051-10/+10
| | | | | | | | | is assigned to xenix_eaccess() instead of AUE_ACCESS, as that is the intended meaning of the system call. xenix_eaccess() should be reimplemented using our native eaccess() implementation so that it works as intended. Obtained from: TrustedBSD Project
* Make a pass through all the compat ABIs sychronizing the MP safe flagsjhb2005-07-131-16/+16
| | | | | | | with the master syscall table as well as marking several ABI wrapper functions safe. MFC after: 1 week
* During the system call table format change adding audit record eventrwatson2005-06-291-61/+68
| | | | | | | | | fields for each system call, I missed two system call files because they weren't named syscalls.master. Catch up with this last two, mapping the system calls to the NULL event for now. Spotted by: jhb Approved by: re (scottl)
* The following compat syscalls are now mpsafe: linux_getrlimit(),jhb2004-02-041-1/+1
| | | | | | | linux_setrlimit(), linux_old_getrlimit(), osf1_getrlimit(), osf1_setrlimit(), svr4_sys_ulimit(), svr4_sys_setrlimit(), svr4_sys_getrlimit(), svr4_sys_setrlimit64(), svr4_sys_getrlimit64(), ibcs2_sysconf(), and ibcs2_ulimit().
* GC namespc column and unwrap long lines that now fit.peter2003-12-241-64/+61
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Removed unused #includes.bde1997-04-091-3/+1
|
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Implement ioctl's IBCS2_TCFLSH and IBCS2_TCXONC. Improve termios conversion.swallace1996-03-281-2/+2
| | | | | | Implement xenix_eaccess() system call. Obtained from: NetBSD
* Remove old files no longer needed.swallace1995-10-101-0/+75
Add new files created for emulator. Modify NetBSD import to work with FreeBSD and add new features and code. The complete emulator is essentially a combination of work/code implemented by Sean Eric Fagan, Soren Schmidt, Scott Bartram, and myself, Steven Wallace. Features of this new emulator system include: o "clean" code, including strict prototyping. o Auto-generation of ibcs2 system calls, xenix system calls, isc system calls. Generation includes system tables, structure definitions, and prototyping of function calls. o ibcs2 emulator does not rely on any COMPAT_43 system calls. o embedded socksys support o ibcs2 msgsys, semsys, shmsys calls supported if supported in kernel o alternate /emul/ibcs2 namespace searched first for files in ibcs2 system. Usefull to keep sysv libraries, binaries in /emul/ibcs2. o many other finer details and functions fixed or implemented.
OpenPOWER on IntegriCloud