Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | regen | 2011-12-14 | 4 | -10/+18 | ||
| | ||||||
* | implement prctl() for COMPAT_LINUX | 2011-12-14 | 5 | -7/+104 | ||
| | | | | ok pirofti@ | |||||
* | add support for MSG_NOSIGNAL. | 2011-12-03 | 2 | -9/+46 | ||
| | | | | linux bits compiled on i386 by sebastia@, mikeb@ ok | |||||
* | implement chown(2) in compat_linux which is needed by some antivirus software | 2011-11-25 | 7 | -18/+39 | ||
| | | | | ok pirofti@ | |||||
* | Allow segments to be used even after they were marked for deletion with | 2011-10-27 | 1 | -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. | 2011-09-19 | 1 | -2/+2 | ||
| | ||||||
* | Fix comments, they really made sense before splitting them. | 2011-09-19 | 1 | -3/+3 | ||
| | | | | Noticed by fgs@, thanks! | |||||
* | Regenerate after pipe2. | 2011-09-19 | 4 | -11/+20 | ||
| | ||||||
* | Add pipe2. Okay miod@ | 2011-09-19 | 2 | -3/+21 | ||
| | ||||||
* | Fix Unix socket handling when the length is too large by trimming. | 2011-09-19 | 1 | -2/+6 | ||
| | | | | Okay claudio@ | |||||
* | Regenerate after syscall expansion. | 2011-09-19 | 4 | -9/+84 | ||
| | ||||||
* | Expand syscall awareness in preparation for pipe2 implementation. | 2011-09-19 | 1 | -1/+26 | ||
| | ||||||
* | Regenerate after the futex commit. | 2011-09-18 | 4 | -13/+45 | ||
| | ||||||
* | Add futex support for compat/linux. | 2011-09-18 | 6 | -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, so | 2011-08-03 | 1 | -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@ | |||||
* | sync | 2011-07-14 | 4 | -9/+9 | ||
| | ||||||
* | Fix entry 84 to use the same prototype for linux_sys_lstat() as entry | 2011-07-14 | 1 | -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 room | 2011-07-09 | 1 | -2/+2 | ||
| | ||||||
* | sync | 2011-07-09 | 4 | -11/+15 | ||
| | ||||||
* | Remove COMPAT_25. The one piece moved by COMPAT_LINUX moves there. | 2011-07-09 | 4 | -59/+20 | ||
| | | | | ok guenther | |||||
* | regen syscalls | 2011-07-08 | 4 | -11/+16 | ||
| | ||||||
* | remove all traces of COMPAT_09 and COMPAT_10. ok deraadt | 2011-07-08 | 3 | -96/+16 | ||
| | ||||||
* | vm_43.c somehow escaped when its coconspirators were rounded up. | 2011-07-08 | 1 | -132/+0 | ||
| | ||||||
* | sync | 2011-07-08 | 4 | -15/+11 | ||
| | ||||||
* | Remove the sys_opipe() kernel entry point. sys_pipe() is the future. | 2011-07-08 | 2 | -49/+3 | ||
| | | | | | | | While here, switch compat_linux to just use sys_pipe() rather than incorrectly wrapping sys_opipe(). ok tedu@, miod@ | |||||
* | Regenerate. | 2011-07-07 | 4 | -9/+144 | ||
| | ||||||
* | Add more syscalls to the list. | 2011-07-07 | 1 | -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 files | 2011-07-07 | 6 | -1527/+0 | ||
| | ||||||
* | regen syscalls | 2011-07-07 | 4 | -20/+36 | ||
| | ||||||
* | remove all the old COMPAT_43 syscalls. The option itself remains for | 2011-07-07 | 5 | -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@. | 2011-07-05 | 2 | -2/+10 | ||
| | ||||||
* | Recommit the reverted sigacts change now that the NFS use-after-free | 2011-07-05 | 1 | -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 files | 2011-07-04 | 56 | -13553/+0 | ||
| | ||||||
* | move the specfs code to a place people can see it; ok guenther thib krw | 2011-07-04 | 2 | -6/+4 | ||
| | ||||||
* | remove compat_35 files | 2011-06-30 | 2 | -496/+0 | ||
| | ||||||
* | compat_vax1k goes to the attic | 2011-06-27 | 4 | -289/+0 | ||
| | ||||||
* | Move the bufcachepercent setting code to MI locations -- set it to 42% | 2011-06-05 | 1 | -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@. | 2011-04-20 | 1 | -3/+6 | ||
| | ||||||
* | Revert the sigacts diff: NFS can apparently retain pointers to processes | 2011-04-18 | 2 | -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 should | 2011-04-15 | 2 | -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. | 2011-04-05 | 21 | -84/+84 | ||
| | ||||||
* | Move timespec utility functions to a header file. | 2011-04-05 | 2 | -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(). | 2011-04-05 | 4 | -13/+24 | ||
| | ||||||
* | Add set_tid_address() syscall. Lots of help from and okay guenther@. | 2011-04-05 | 4 | -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@. | 2011-04-05 | 2 | -5/+5 | ||
| | ||||||
* | Push COMPAT_FREEBSD in front of a whale. Buggy, out of date, no | 2011-04-05 | 23 | -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. | 2011-04-05 | 1 | -45/+16 | ||
| | ||||||
* | Fix function argument list -- 1989 is long gone! | 2011-04-04 | 1 | -33/+9 | ||
| | ||||||
* | Regenerate -- linux_sys_[g|s]et_thread_area(). | 2011-04-04 | 4 | -10/+26 | ||
| | ||||||
* | Add linux_sys_[g|s]et_set_thread_area() support. Okay guenther@. | 2011-04-04 | 1 | -3/+5 | ||
| |