summaryrefslogtreecommitdiff
path: root/sys/compat/svr4
AgeCommit message (Collapse)Author
2001-09-19Unify elf32 and elf64 code with macros. This forced a renamingArtur Grabowski
of a few functions from elf32.
2001-08-28don't reference seminfo if SYSVSEM isn't definedJason Wright
2001-08-26remove duplicate syscallargs() macrosTheo de Raadt
2001-08-26syncTheo de Raadt
2001-08-26there is no need for .bak filesTheo de Raadt
2001-08-22Consolidate svr4_waitsys with our wait4. Fixes gdt_get_slot panic, due to a ↵Niklas Hallqvist
double cpu_wait invocation.
2001-08-11Unnecessary and redundant includes.Artur Grabowski
2001-06-27Remove old vm.Artur Grabowski
2001-06-21Do not FREE() stuff allocated in a poolNiklas Hallqvist
2001-05-16regen after removing compatoptsTodd C. Miller
2001-05-16remove unneeded compatoptsTodd C. Miller
2001-05-14Add a fo_stat member to struct fileops. Used soon.Artur Grabowski
Also add a stat function for kqueue from FreeBSD.
2001-05-05Remove the (vaddr_t) casts inside the round_page and trunc_page macros.Artur Grabowski
We might want to use them on types that are bigger than vaddr_t. Fix all callers that pass pointers without casts.
2001-04-18Declare undeclared variable in #ifdef DEBUG_SVR4Niklas Hallqvist
2001-03-25Don't access user space pointer directly. Thanks to dawson and teamConstantine Sapuntzakis
2001-03-16More copyin bugs.Constantine Sapuntzakis
2001-03-16Fix copyin argument order bug. Thanks to Dawson Engler and team.Constantine Sapuntzakis
2001-03-01port kqueue changes from freebsd, plus all required openbsd glue.Niels Provos
okay deraadt@, millert@ from jlemon@freebsd.org: extend kqueue down to the device layer, backwards compatible approach suggested by peter@freebsd.org
2001-01-23SunOS, IBCS2, Linux, and SVR4 all require translations of directory entriesConstantine Sapuntzakis
from OpenBSD format to their respective native formats. A lot of common code here for interfacing with OpenBSD VOP_READDIR. Most of this code and logic has been moved to common/compat_dir.c When reading a portion of the directory, the compatibility layer registers a callback which is passed an OpenBSD-style dirent and the cookie/offset.
2000-11-10Change the ktrace interface functions from taking the trace vnode to taking theArtur Grabowski
traced proc. The vnode is in the proc and all functions need the proc.
2000-09-07common/compat_util.cEric Jackson
2000-08-30additional range checking; From: NetBSDBrad Smith
2000-08-29remove duplicate inclusion of sys/ioctl.hBrad Smith
2000-08-23regen.Federico G. Schwindt
2000-08-23- Simplify pread and pwrite now that we have a native implementation.Federico G. Schwindt
- Implement pread/pwrite 64. - Add DUP2FD fcntl command, which is nothing else than dup2 (according to solaris manpage). This solves the dup error and the freezing problem on netscape-solaris (DNS still not working, tho). code from NetBSD.
2000-08-23NetBSD RCS idBrad Smith
2000-08-23svr4_error -> native_to_svr4_errnoBrad Smith
2000-08-23svr4_error -> native_to_svr4_errnoBrad Smith
2000-08-23rename to svr4_error.c to svr4_errno.cBrad Smith
2000-06-28syncFederico G. Schwindt
2000-06-28add creat64 and mmap64.Federico G. Schwindt
2000-06-24syncFederico G. Schwindt
2000-06-24Implement getdents64, lstat64 and stat64, basically the same functions ofFederico G. Schwindt
the existing ones using 64bit vars. This makes netscape-solaris works on sparc. Particular note to those who want to try netscape: - netscape 4.73 was used for testing on a ss5 with -current. - apparently solaris uses pipes for communicating with the X server. I've checked the libraries I've installed from a solaris 2.6 box, and although there are references to X11-unix, it fails when it tries to open X11-pipe/X0, so in order to test it you need to specify -display <box ip>:0 or it won't start. - i got some errors when starting, but besides that, it works fine. - it's not slow, but you better have all the requiered files in the correct paths, or it'll take some time to start.
2000-06-15i386 -> __i386__Brad Smith
2000-06-15regenBrad Smith
2000-06-15add more unimplemented syscall name placeholders, from NetBSD.Brad Smith
2000-04-21O_FYNC -> O_SYNCTodd C. Miller
1999-11-10include syscallnames only if compiling w/ SYSCALL_DEBUG.Michael Shalayeff
was already so for native and sunos, the rest was just wasting space on it. niels@ millert@ ok
1999-10-07regenBrad Smith
1999-10-07- fix typo in previous commitBrad Smith
- Implement fstatvfs64 system call
1999-10-07- Fix stat and mknod syscalls to properly disassemble and reassembleBrad Smith
dev_t values to/from emulation dev_t's - Implement fstat64, llseek and open64 system calls; from NetBSD
1999-09-11s/vm_offset_t/vaddr_t/gMichael Shalayeff
1999-09-10include sys/exec.h (which includes machine/exec.h) before sys/exec_elf.hArtur Grabowski
to get the define for _KERN_DO_ELF
1999-07-15oops, wrong type for cpu_classTheo de Raadt
1999-07-14put sub-class of architecture in SVR4_SI_PLATFORMTheo de Raadt
1999-07-13introduce fdremove() to mark a file descriptor as unused. fdremove makesNiels Provos
sure that the fd_freefile hints stay in sync, otherwise free file descriptors might not be overlooked by fdalloc(); ok millert@
1999-07-02more systeminfo() fixes; hal@sdsi.comTheo de Raadt
1999-06-30put non-space names in systeminfo(SI_PLATFORM); hal_snyder@sdsi.comTheo de Raadt
1999-06-07syncTheo de Raadt
1999-06-07replacement pipe() system call; copies data into place inside kernel, soTheo de Raadt
that EFAULT return value is possible