summaryrefslogtreecommitdiffstats
path: root/sys/i386/ibcs2/ibcs2_xenix.c
Commit message (Collapse)AuthorAgeFilesLines
* Use __FBSDID().obrien2003-06-021-2/+3
|
* Split the global timezone structure into two integer fields tophk2003-02-031-2/+2
| | | | | | | | | | prevent the compiler from optimizing assignments into byte-copy operations which might make access to the individual fields non-atomic. Use the individual fields throughout, and don't bother locking them with Giant: it is no longer needed. Inspired by: tjr
* SCARGS removal take II.alfred2002-12-141-16/+16
|
* Backout removal SCARGS, the code freeze is only "selectively" over.alfred2002-12-131-16/+16
|
* Remove SCARGS.alfred2002-12-131-16/+16
| | | | Reviewed by: md5
* use __packed.alfred2002-09-231-1/+1
|
* Fix typo in the BSD copyright: s/withough/without/schweikh2002-06-021-1/+1
| | | | | Spotted and suggested by: des MFC after: 3 weeks
* Simple p_ucred -> td_ucred changes to start using the per-thread ucredjhb2002-02-271-1/+1
| | | | reference.
* Use the updated getcredhostname() function.robert2002-02-271-1/+1
|
* - Use the new getcredhostname function in xenix_utsname(),robert2002-02-271-2/+3
| | | | | | ibcs2_getipdomainname(), and ibcs2_utssys(). Reviewed by: phk
* KSE Milestone 2julian2001-09-121-21/+21
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* Add a new MI pointer to the process' trapframe p_frame instead of usingjhb2001-06-291-1/+1
| | | | | | various differently named pointers buried under p_md. Reviewed by: jake (in principle)
* Remove unneeded #include <vm/vm_zone.h>phk2000-04-301-1/+0
| | | | Generated by: src/tools/tools/kerninclude
* Introduce NDFREE (and remove VOP_ABORTOP)eivind1999-12-151-0/+3
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-281-3/+3
| | | | kernel compile
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()archie1998-12-041-9/+17
| | | | | | | | | | | | | | for possible buffer overflow problems. Replaced most sprintf()'s with snprintf(); for others cases, added terminating NUL bytes where appropriate, replaced constants like "16" with sizeof(), etc. These changes include several bug fixes, but most changes are for maintainability's sake. Any instance where it wasn't "immediately obvious" that a buffer overflow could not occur was made safer. Reviewed by: Bruce Evans <bde@zeta.org.au> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Reviewed by: Mike Spengler <mks@networkcs.com>
* Use [u]intptr_t instead of [u_]long for casts between pointers andbde1998-08-161-2/+3
| | | | integers. Don't forget to cast to (void *) as well.
* Correct sleep priority.dyson1998-06-021-2/+2
|
* Move the "retval" (3rd) parameter from all syscall functions and putphk1997-11-061-17/+14
| | | | | | | | | | | | it in struct proc instead. This fixes a boatload of compiler warning, and removes a lot of cruft from the sources. I have not removed the /*ARGSUSED*/, they will require some looking at. libkvm, ps and other userland struct proc frobbing programs will need recompiled.
* Removed unused #includes.bde1997-07-201-10/+1
|
* For the xenix_ftime() routine, don't use the native version of the struct --sef1997-06-221-3/+8
| | | | | | | | | | | | | the XENIX version is packed, and two bytes smaller than ours. So, define the structure, and have it packed. I used the __attribte__((packed)) modifier for this; I could also have surrounded the struct definition with #pragma pack(2) -- but that would have meant making ibcs2_timeb's definition outside the function. This may need to be revisited if we ever want to compile with a compiler other than gcc. (I also used 'unsigned long' instead of 'time_t' because I am writing to match an external specification -- and the definition of time_t could change.) Reviewed by: Steven Wallace
* md_regs is a struct trapframe * now, not int []peter1997-05-071-2/+2
|
* Don't include <sys/ioctl.h> in the kernel. Stage 3: includebde1997-03-241-2/+2
| | | | <sys/filio.h> instead of <sys/ioctl.h> in non-network non-tty files.
* 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-3/+38
| | | | | | Implement xenix_eaccess() system call. Obtained from: NetBSD
* Remove old files no longer needed.swallace1995-10-101-274/+93
| | | | | | | | | | | | | | | | | | | | | 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.
* Remove trailing whitespace.rgrimes1995-05-301-53/+53
|
* Back out incorrect jkh's fix and apply correct oneache1995-05-021-4/+8
| | | | (POSIX_SAVED_IDS,POSIX_JOB_CONTROL)
* The handling of _SC_SAVED_IDS was wrong; _POSIX_SAVED_IDS has no valuejkh1995-05-021-5/+1
| | | | to assign this way!
* Don't depend on namespace pollution in <machine/limits.h> for thebde1995-02-031-2/+2
| | | | | definition of CLK_TCK. Use _BSD_CLK_TCK_ instead of CLK_TCK so that we don't have to include the user header <time.h>.
* iBCS2 emulator core files.sos1994-10-141-0/+367
This is the main files for the iBCS2 emulator. It can be use compiled into the kernel by using: options IBCS2 options COMPAT_IBCS2 or as a lkm module using: options COMPAT_IBCS2 and then loading it via the ibcs2 script in /usr/bin REMEMBER: this code is still experimental ! NO WARRENTY ! Submitted by: sef@kithrup.com, mostyn@mrl.com, sos@kmd-ac.dk
OpenPOWER on IntegriCloud