summaryrefslogtreecommitdiffstats
path: root/sys/compat (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* regenrobert2011-12-144-10/+18
|
* implement prctl() for COMPAT_LINUXrobert2011-12-145-7/+104
| | | | ok pirofti@
* add support for MSG_NOSIGNAL.fgsch2011-12-032-9/+46
| | | | linux bits compiled on i386 by sebastia@, mikeb@ ok
* implement chown(2) in compat_linux which is needed by some antivirus softwarerobert2011-11-257-18/+39
| | | | ok pirofti@
* Allow segments to be used even after they were marked for deletion withrobert2011-10-271-3/+1
| | | | | | | | | | | | the IPC_RMID flag. This is permitted as an extension beyond the standards and this is similar to what other operating systems like linux do. Because compat_linux(8) was emulating this already, remove that code since now this is the default. input from oga@, guenther@, jmc@, deraadt@ ok deraadt@
* Gah, no cookie for me.pirofti2011-09-191-2/+2
|
* Fix comments, they really made sense before splitting them.pirofti2011-09-191-3/+3
| | | | Noticed by fgs@, thanks!
* Regenerate after pipe2.pirofti2011-09-194-11/+20
|
* Add pipe2. Okay miod@pirofti2011-09-192-3/+21
|
* Fix Unix socket handling when the length is too large by trimming.pirofti2011-09-191-2/+6
| | | | Okay claudio@
* Regenerate after syscall expansion.pirofti2011-09-194-9/+84
|
* Expand syscall awareness in preparation for pipe2 implementation.pirofti2011-09-191-1/+26
|
* Regenerate after the futex commit.pirofti2011-09-184-13/+45
|
* Add futex support for compat/linux.pirofti2011-09-186-7/+791
| | | | | | | | Based on Emmanuel Dreyfus work with additions, tricks and adaptations by me. Lots of help and reviewing by guenther@ and oga@. Okay guenther@.
* Fix linux compat breakage: can't copyin() from kernel-space, soguenther2011-08-031-4/+3
| | | | | | | | move that out of i386_set_threadbase(), and have clone() pass NULL to fork1() for the child func argument so that it gets the child proc pointer. Report and verification by pirofti@, heavy lifting by matthew@
* syncmatthew2011-07-144-9/+9
|
* Fix entry 84 to use the same prototype for linux_sys_lstat() as entrymatthew2011-07-141-2/+2
| | | | | | | | 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.
* begone, fucking rotten appletalk shit. ok roomhenning2011-07-091-2/+2
|
* syncderaadt2011-07-094-11/+15
|
* Remove COMPAT_25. The one piece moved by COMPAT_LINUX moves there.deraadt2011-07-094-59/+20
| | | | ok guenther
* regen syscallstedu2011-07-084-11/+16
|
* remove all traces of COMPAT_09 and COMPAT_10. ok deraadttedu2011-07-083-96/+16
|
* vm_43.c somehow escaped when its coconspirators were rounded up.tedu2011-07-081-132/+0
|
* syncmatthew2011-07-084-15/+11
|
* Remove the sys_opipe() kernel entry point. sys_pipe() is the future.matthew2011-07-082-49/+3
| | | | | | | While here, switch compat_linux to just use sys_pipe() rather than incorrectly wrapping sys_opipe(). ok tedu@, miod@
* Regenerate.pirofti2011-07-074-9/+144
|
* Add more syscalls to the list.pirofti2011-07-071-1/+46
| | | | | | | | 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@.
* remove old filestedu2011-07-076-1527/+0
|
* regen syscallstedu2011-07-074-20/+36
|
* remove all the old COMPAT_43 syscalls. The option itself remains fortedu2011-07-075-19/+182
| | | | | | the other things it enables. Move a few old wrappers into linux compat where they are still being used. ok deraadt guenther
* Add linux_to_native_timespec() for future futex use. Okay tedu@.pirofti2011-07-052-2/+10
|
* Recommit the reverted sigacts change now that the NFS use-after-freeguenther2011-07-051-15/+16
| | | | | | | | 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@
* remove all the compat svr4 filestedu2011-07-0456-13553/+0
|
* move the specfs code to a place people can see it; ok guenther thib krwderaadt2011-07-042-6/+4
|
* remove compat_35 filestedu2011-06-302-496/+0
|
* compat_vax1k goes to the attictedu2011-06-274-289/+0
|
* Move the bufcachepercent setting code to MI locations -- set it to 42%deraadt2011-06-051-2/+2
| | | | | | | 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
* Fix possible NULL dereference for emul data. Okay miod@.pirofti2011-04-201-3/+6
|
* Revert the sigacts diff: NFS can apparently retain pointers to processesguenther2011-04-182-18/+17
| | | | | | 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
* Correct the sharing of the signal handling state: stuff that shouldguenther2011-04-152-17/+18
| | | | | | | | | | | | 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@
* Unify header sentinel names.pirofti2011-04-0521-84/+84
|
* Move timespec utility functions to a header file.pirofti2011-04-052-7/+30
| | | | | | 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.
* Regenerate -- linux_sys_set_tid_address().pirofti2011-04-054-13/+24
|
* Add set_tid_address() syscall. Lots of help from and okay guenther@.pirofti2011-04-054-20/+119
| | | | | | | | | | 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.
* Fix PID fetching -- noticed last night by guenther@.pirofti2011-04-052-5/+5
|
* Push COMPAT_FREEBSD in front of a whale. Buggy, out of date, noguenther2011-04-0523-5953/+3
| | | | | | one has been weeding it, and it makes life harder. Toasts of Brennivin for its passing from many; diff ok henning@
* Fix function argument list.pirofti2011-04-051-45/+16
|
* Fix function argument list -- 1989 is long gone!pirofti2011-04-041-33/+9
|
* Regenerate -- linux_sys_[g|s]et_thread_area().pirofti2011-04-044-10/+26
|
* Add linux_sys_[g|s]et_set_thread_area() support. Okay guenther@.pirofti2011-04-041-3/+5
|