summaryrefslogtreecommitdiff
path: root/sys/compat
AgeCommit message (Collapse)Author
2011-07-14syncMatthew Dempsky
2011-07-14Fix entry 84 to use the same prototype for linux_sys_lstat() as entryMatthew Dempsky
107 does (i.e., using a pointer to "struct linux_stat" rather than a pointer to "struct stat43"). No binary change: entry 84 is "NOARGS" so the prototype only goes into a comment in linux_syscall.h.
2011-07-09begone, fucking rotten appletalk shit. ok roomHenning Brauer
2011-07-09syncTheo de Raadt
2011-07-09Remove COMPAT_25. The one piece moved by COMPAT_LINUX moves there.Theo de Raadt
ok guenther
2011-07-08regen syscallsTed Unangst
2011-07-08remove all traces of COMPAT_09 and COMPAT_10. ok deraadtTed Unangst
2011-07-08vm_43.c somehow escaped when its coconspirators were rounded up.Ted Unangst
2011-07-08syncMatthew Dempsky
2011-07-08Remove the sys_opipe() kernel entry point. sys_pipe() is the future.Matthew Dempsky
While here, switch compat_linux to just use sys_pipe() rather than incorrectly wrapping sys_opipe(). ok tedu@, miod@
2011-07-07Regenerate.Paul Irofti
2011-07-07Add more syscalls to the list.Paul Irofti
This is in preparation of the robust syscalls, number 311 and 312, which create a gap (between the syscall numbers we currently have) that the script genearating the files doesn't allow. Okay guenther@.
2011-07-07remove old filesTed Unangst
2011-07-07regen syscallsTed Unangst
2011-07-07remove all the old COMPAT_43 syscalls. The option itself remains forTed Unangst
the other things it enables. Move a few old wrappers into linux compat where they are still being used. ok deraadt guenther
2011-07-05Add linux_to_native_timespec() for future futex use. Okay tedu@.Paul Irofti
2011-07-05Recommit the reverted sigacts change now that the NFS use-after-freePhilip Guenthe
problem has been tracked down. This fixes the sharing of the signal handling state: shared bits go in sigacts, per-rthread bits goes in struct proc. ok deraadt@
2011-07-04remove all the compat svr4 filesTed Unangst
2011-07-04move the specfs code to a place people can see it; ok guenther thib krwTheo de Raadt
2011-06-30remove compat_35 filesTed Unangst
2011-06-27compat_vax1k goes to the atticTed Unangst
2011-06-05Move the bufcachepercent setting code to MI locations -- set it to 42%Theo de Raadt
for now; that is unlikely to hit some of the remaining starvation bugs. Repair the bufpages calculation too; i386 was doing it ahead of time (incorrectly) and then re-calculating it. ok thib
2011-04-20Fix possible NULL dereference for emul data. Okay miod@.Paul Irofti
2011-04-18Revert the sigacts diff: NFS can apparently retain pointers to processesPhilip Guenthe
until they're zombies and then send them signals (for intr mounts). Until that is untangled, the sigacts change is unsafe. sthen@ was the victim for this one
2011-04-15Correct the sharing of the signal handling state: stuff that shouldPhilip Guenthe
be shared (p_sigignore, p_sigcatch, P_NOCLDSTOP, P_NOCLDWAIT) moves to struct sigacts, wihle stuff that should be per rthread (ps_oldmask, SAS_OLDMASK, ps_sigstk) moves to struct proc. Treat the coredumping state bits (ps_sig, ps_code, ps_type, ps_sigval) as per-rthread until our locking around coredumping is better. Oh, and remove the old SunOS-compat ps_usertramp member. "I like the sound of this" tedu@
2011-04-05Unify header sentinel names.Paul Irofti
2011-04-05Move timespec utility functions to a header file.Paul Irofti
Iinitially I wanted to just lose the static for ddb, but then I realised they will be needed for the futex implementation as well so its better to have them in a separate header file.
2011-04-05Regenerate -- linux_sys_set_tid_address().Paul Irofti
2011-04-05Add set_tid_address() syscall. Lots of help from and okay guenther@.Paul Irofti
This is more than a simple syscall.This expands TLS support quite a bit. Also linux_sys_clone() handles CLONE_CHILD_CLEARTID, CLONE_CHILD_SETTID, CLONE_PARENT_SETTID flags as well as the CLONE_SETTLS by doing what set_thread_area() is doing. Next on the list is futex support which should allow compat to cope with newer Linux kernels.
2011-04-05Fix PID fetching -- noticed last night by guenther@.Paul Irofti
2011-04-05Push COMPAT_FREEBSD in front of a whale. Buggy, out of date, noPhilip Guenthe
one has been weeding it, and it makes life harder. Toasts of Brennivin for its passing from many; diff ok henning@
2011-04-05Fix function argument list.Paul Irofti
2011-04-04Fix function argument list -- 1989 is long gone!Paul Irofti
2011-04-04Regenerate -- linux_sys_[g|s]et_thread_area().Paul Irofti
2011-04-04Add linux_sys_[g|s]et_set_thread_area() support. Okay guenther@.Paul Irofti
2011-03-12Replace the old, broken KERN_PROC ABI and its matching functionsPhilip Guenthe
in libkvm with the stable-ABI versions that are currently named KERN_PROC2, kvm_get{proc,argv,envv}2(). The latter names and symbols will continue to be supported for a few releases. Committing now that they ports people have had a couple releases to update pkgs that usd the old functions
2011-02-11Regenerate.Paul Irofti
2011-02-11Add linux_mprotect() syscall. Okay otto@.Paul Irofti
2011-02-10Regenerate.Paul Irofti
2011-02-10Add time related syscalls clock_gettime() and clock_getres().Paul Irofti
Okay miod@.
2011-01-03Remove the old COMPAT_23 SysV IPC structures and the never implementedPhilip Guenthe
semconfig() declaration. Move the COMPAT_35 SysV IPC structures into the only source files that uses them ok millert@, kettenis@, deraadt@
2010-12-15add a BRKSIZ define and use it for the heap gap constant, decouplingTed Unangst
heap gap from max data size. nothing else changes yet. ok deraadt
2010-07-26Correct the links between threads, processes, pgrps, and sessions,Philip Guenthe
so that the process-level stuff is to/from struct process and not struct proc. This fixes a bunch of problem cases in rthreads. Based on earlier work by blambert and myself, but mostly written at c2k10. Tested by many: deraadt, sthen, krw, ray, and in snapshots
2010-07-05remove compat_bsdos supportTed Unangst
2010-07-02remove sunos compat filesTed Unangst
2010-07-013.5 compat is old, but relied upon by other compats still in tree. theTed Unangst
fhstat syscall, however, isn't needed and can go away. ok deraadt
2010-07-01another day, another compat gets removed. today is ibcs2's turnTed Unangst
2010-07-01compat_o43 and compat_23 can dieTheo de Raadt
2010-06-30Merge from NetBSD: "Linux's getsid(2) does in fact return a pid,Philip Guenthe
not a pointer." So just use the native implementation. ok deraadt@
2010-06-30delete osf1 compat filesTed Unangst