Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-04-22 | Add struct proc * argument to FRELE() and FILE_SET_MATURE() in | Philip Guenthe | |
anticipation of further changes to closef(). No binary change. ok krw@ miod@ deraadt@ | |||
2012-04-12 | rfork cleanup | Philip Guenthe | |
2012-04-10 | Make the KERN_NPROCS and KERN_MAXPROC sysctl()s and the RLIMIT_NPROC rlimit | Philip Guenthe | |
count processes instead of threads. New sysctl()s KERN_NTHREADS and KERN_MAXTHREAD count and limit threads. The nprocs and maxproc kernel variables are replaced by nprocess, maxprocess, nthreads, and maxthread. ok tedu@ mikeb@ | |||
2012-03-23 | Make rusage totals, itimers, and profile settings per-process instead | Philip Guenthe | |
of per-rthread. Handling of per-thread tick and runtime counters inspired by how FreeBSD does it. ok kettenis@ | |||
2011-12-14 | regen | Robert Nagy | |
2011-12-14 | implement prctl() for COMPAT_LINUX | Robert Nagy | |
ok pirofti@ | |||
2011-12-03 | add support for MSG_NOSIGNAL. | Federico G. Schwindt | |
linux bits compiled on i386 by sebastia@, mikeb@ ok | |||
2011-11-25 | implement chown(2) in compat_linux which is needed by some antivirus software | Robert Nagy | |
ok pirofti@ | |||
2011-10-27 | Allow segments to be used even after they were marked for deletion with | Robert Nagy | |
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@ | |||
2011-09-19 | Gah, no cookie for me. | Paul Irofti | |
2011-09-19 | Fix comments, they really made sense before splitting them. | Paul Irofti | |
Noticed by fgs@, thanks! | |||
2011-09-19 | Regenerate after pipe2. | Paul Irofti | |
2011-09-19 | Add pipe2. Okay miod@ | Paul Irofti | |
2011-09-19 | Fix Unix socket handling when the length is too large by trimming. | Paul Irofti | |
Okay claudio@ | |||
2011-09-19 | Regenerate after syscall expansion. | Paul Irofti | |
2011-09-19 | Expand syscall awareness in preparation for pipe2 implementation. | Paul Irofti | |
2011-09-18 | Regenerate after the futex commit. | Paul Irofti | |
2011-09-18 | Add futex support for compat/linux. | Paul Irofti | |
Based on Emmanuel Dreyfus work with additions, tricks and adaptations by me. Lots of help and reviewing by guenther@ and oga@. Okay guenther@. | |||
2011-08-03 | Fix linux compat breakage: can't copyin() from kernel-space, so | Philip Guenthe | |
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@ | |||
2011-07-14 | sync | Matthew Dempsky | |
2011-07-14 | Fix entry 84 to use the same prototype for linux_sys_lstat() as entry | Matthew 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-09 | begone, fucking rotten appletalk shit. ok room | Henning Brauer | |
2011-07-09 | sync | Theo de Raadt | |
2011-07-09 | Remove COMPAT_25. The one piece moved by COMPAT_LINUX moves there. | Theo de Raadt | |
ok guenther | |||
2011-07-08 | regen syscalls | Ted Unangst | |
2011-07-08 | remove all traces of COMPAT_09 and COMPAT_10. ok deraadt | Ted Unangst | |
2011-07-08 | vm_43.c somehow escaped when its coconspirators were rounded up. | Ted Unangst | |
2011-07-08 | sync | Matthew Dempsky | |
2011-07-08 | Remove 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-07 | Regenerate. | Paul Irofti | |
2011-07-07 | Add 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-07 | remove old files | Ted Unangst | |
2011-07-07 | regen syscalls | Ted Unangst | |
2011-07-07 | remove all the old COMPAT_43 syscalls. The option itself remains for | Ted 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-05 | Add linux_to_native_timespec() for future futex use. Okay tedu@. | Paul Irofti | |
2011-07-05 | Recommit the reverted sigacts change now that the NFS use-after-free | Philip 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-04 | remove all the compat svr4 files | Ted Unangst | |
2011-07-04 | move the specfs code to a place people can see it; ok guenther thib krw | Theo de Raadt | |
2011-06-30 | remove compat_35 files | Ted Unangst | |
2011-06-27 | compat_vax1k goes to the attic | Ted Unangst | |
2011-06-05 | Move 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-20 | Fix possible NULL dereference for emul data. Okay miod@. | Paul Irofti | |
2011-04-18 | Revert the sigacts diff: NFS can apparently retain pointers to processes | Philip 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-15 | Correct the sharing of the signal handling state: stuff that should | Philip 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-05 | Unify header sentinel names. | Paul Irofti | |
2011-04-05 | Move 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-05 | Regenerate -- linux_sys_set_tid_address(). | Paul Irofti | |
2011-04-05 | Add 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-05 | Fix PID fetching -- noticed last night by guenther@. | Paul Irofti | |
2011-04-05 | Push COMPAT_FREEBSD in front of a whale. Buggy, out of date, no | Philip Guenthe | |
one has been weeding it, and it makes life harder. Toasts of Brennivin for its passing from many; diff ok henning@ |