Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-07-23 | add sys_sysinfo. from marius aamodt eriksen. | Ted Unangst | |
linux_misc.c: fvdl gave his copyright to tnf, adjust. | |||
2003-07-03 | sync | Ted Unangst | |
2003-07-03 | add mmap2 (mmap64, take your pick) and clean up some. use MAP_TRYFIXED | Ted Unangst | |
since that's the way linux works. no regressions by various ports testers, eyeballed by a few others. | |||
2003-06-23 | and we have a copyright (TNF) | Ted Unangst | |
2003-06-21 | add exec/fork/exit hooks per process for compat emulations. | Ted Unangst | |
use them to correctly emulate linux brk. update to TNF copyright in linux_exec.c. from netbsd, mostly from a diff by Kurt Miller in pr3318. this should fix java. no regressions in testing by kurt and sturm@. be prepared for "proc size mismatch" -- recompile ps and friends. ok deraadt@ | |||
2003-06-03 | fix various 3/4 licenses according to "terms" file | Theo de Raadt | |
2003-05-10 | Regen | Miod Vallat | |
2003-05-10 | Deprecate the swapon system call and move it to COMPAT_25 land, since swapctl | Miod Vallat | |
has been introduced for this release. ok deraadt@ weingart@ | |||
2003-04-05 | Add missing 230400 to linux_speeds array to match linux_spmasks. | Todd C. Miller | |
Also make linux_spmasks const, since it is. deraadt@ OK | |||
2003-02-25 | fix off by one signal checks. thanks yichen's checker | Ted Unangst | |
ok niklas@ | |||
2003-01-30 | Bring back setreuid(2) and setregid(2) as first class syscalls | Todd C. Miller | |
(but still implemented via setres[ug]id(2)). Basically this just moves them from COMPAT_43 into kern_prot.c. Also fixes a typo in my old implementation. The userland portion will follow in a few days. deraadt@ OK | |||
2003-01-21 | Do not do multiple stackgap_init calls in the same syscall execution, | Niklas Hallqvist | |
chances are big that entities allocated early should live longer than later stackgap_init invocations. This fixes UDP problems in Linux emulation, most notably YP, and some DNS issues. ok fgsch@, jasoni@ & pvalchev@ | |||
2002-12-16 | unbust *stat64. From NetBSD. | Federico G. Schwindt | |
deraadt@ ok. | |||
2002-12-10 | pass p->p_emul to stackgap_init(), not 0 to be consistent. | Federico G. Schwindt | |
2002-12-10 | fix setsockopt SO_REUSEADDR under linux emul; from NetBSD. | Federico G. Schwindt | |
thanks to jpmp@fibertel.com.ar for the testbed. ish@ ok | |||
2002-11-27 | do address translation for for socket syscalls that pass addresses in | Jason Ish | |
or out - this allows linux programs that use IPv6 to work (not ipv4 mapped addresses though) - from NetBSD | |||
2002-10-30 | regen | Todd C. Miller | |
2002-10-30 | Now that we have [gs]etres[ug]id() as a native system call, use it | Todd C. Miller | |
for HP-UX, FreeBSD, and Linux emulations. Note that Linux has two versions of these system calls. One for 16bit uids and another for 32bit uids. | |||
2002-10-28 | getdents64 support, based on FreeBSD. | Federico G. Schwindt | |
thanks to jpmk@fibertel.com.ar for providing a testbed; jasoni ok. | |||
2002-10-28 | add getdents64. | Federico G. Schwindt | |
2002-08-23 | Cleanup change. Since almost all callers (except one) of getvnode did a FREF | Artur Grabowski | |
on the returned file, do the FREF inside getvnode so that people can't get away with avoiding FREF and FRELE. Eyeballed by various people. | |||
2002-08-09 | Correct the size arg to copyout. | Aaron Campbell | |
2002-08-09 | socket flags are not inherited via accept() on linux; found and tested | Federico G. Schwindt | |
by gustavo, several ppl ok@ | |||
2002-07-25 | Avoid time wrap at securelevel 2. ok millert@ fgsch@ | Thomas Nordin | |
2002-06-05 | regen | jasoni | |
2002-06-05 | provide local versions of getpid, getuid and getgid that do not | jasoni | |
stuff a value in retval[1] as newer linux libs puke on it. | |||
2002-06-02 | withough -> without | Theo de Raadt | |
2002-05-07 | minor style. | jasoni | |
2002-05-07 | support TIOCLINUX ioctl | jasoni | |
- from NetBSD | |||
2002-03-14 | remove ambiguity in version,ostype,osversion,osrelease and their constanity, ↵ | Michael Shalayeff | |
they are and declarre 'em accordingly also removing private externies of those | |||
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-03-14 | Regen after syscall changes (option PTRACE) | Miod Vallat | |
2002-03-14 | Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in | Miod Vallat | |
your kernel configuration file. By default, GENERIC will enable this. When PTRACE is not enabled, several ptrace-like features of the procfs filesystem will be disabled as well (namely, the ability to read and write any process' registers, as well as attching, single stepping and detaching to/from processes). This should help paranoid people build better sandboxens, and us to build smaller ramdisks. | |||
2002-02-13 | FREF/FRELE where required due to fd_getfile. | jasoni | |
- ok art@ | |||
2002-02-13 | More FREF/FRELE on relevant places. Now, only sys_mmap and a bunch of ioctl ↵ | Artur Grabowski | |
functions in sys/compat are left. | |||
2002-02-12 | More FREF/FRELE protection. This time all users of getvnode. | Artur Grabowski | |
2002-02-08 | Remove some commented out FILE_UNUSE (incorrect) | Artur Grabowski | |
2002-02-06 | emulate linux behaviour by passing ioctl's down to the underlying device | jasoni | |
> From NetBSD; ok art@ | |||
2002-02-04 | sync | Niels Provos | |
2002-02-04 | fcntl64 support; okay deraadt@ | Niels Provos | |
2002-02-02 | Be more consistent about using fd_getfile where it matters. | Artur Grabowski | |
2001-11-15 | New function vn_marktext - mark a vnode as executing a text image. | Artur Grabowski | |
Use where VTEXT was set in vnode flags before. Doesn't do anything else (yet). | |||
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) | |||
2001-11-06 | Let fork1, uvm_fork, and cpu_fork take a function/argument pair as argument, | Artur Grabowski | |
instead of doing fork1, cpu_set_kpc. This lets us retire cpu_set_kpc and avoid a multiprocessor race. This commit breaks vax because it doesn't look like any other arch, someone working on vax might want to look at this and try to adapt the code to be more like the rest of the world. Idea and uvm parts from NetBSD. | |||
2001-10-26 | Unbreak. | Artur Grabowski | |
2001-10-26 | - every new fd created by falloc() is marked as larval and should not be used | Artur Grabowski | |
any anyone. Every caller of falloc matures the fd when it's usable. - Since every lookup in the fd table must now check this flag and all of them do the same thing, move all the necessary checks into a function - fd_getfile. | |||
2001-09-19 | Unify elf32 and elf64 code with macros. This forced a renaming | Artur Grabowski | |
of a few functions from elf32. | |||
2001-08-26 | sync | Theo de Raadt | |
2001-08-26 | there is no need for .bak files | Theo de Raadt | |
2001-08-12 | absolutely no need to include vm_parm.h after vm.h | Michael Shalayeff | |