Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-06-24 | a.out emulation for dynamic binaries: intercept the right system calls | Marc Espie | |
so that they look in /emul/a.out first. This allows a.out's ld.so to find its own libraries without interfering with ELF at all. Many comments from various people. okay deraadt@ | |||
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-17 | Sync with share/misc/license.template and add missing DARPA credit | Todd C. Miller | |
where applicable. | |||
2003-06-03 | fix various 3/4 licenses according to "terms" file | Theo de Raadt | |
2003-06-03 | Use an ISC-tyle license for all my code; it is simpler and more permissive. | Todd C. Miller | |
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-06-02 | some license cleanup | Theo de Raadt | |
2003-05-16 | Do the new-style EI_OSABI check first because it is cheaper. | Todd C. Miller | |
2003-05-13 | De-hackify. Use proper defines now that we have EI_OSABI and ELFOSABI_FREEBSD | Todd C. Miller | |
2003-05-12 | strlcpy; tedu ok | Theo de Raadt | |
2003-05-11 | sync | Theo de Raadt | |
2003-05-11 | finish compat swapon cleanup | 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-05-07 | string cleaning; ok art tedu | Theo de Raadt | |
2003-04-30 | Regen | Miod Vallat | |
2003-04-30 | Oops, repair omsync deprecation lossage. | Miod Vallat | |
2003-04-29 | Deprecate omsync syscall, and only enable it if COMPAT_25 is required. | Miod Vallat | |
ok deraadt@ | |||
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-03-11 | Hack to match new FreeBSD ELF binaries (such as opera). A proper | Todd C. Miller | |
version of this will go in after 3.3 is out and the tree unlocks. deraadt@ OK | |||
2003-02-25 | fix off by one signal checks. thanks yichen's checker | Ted Unangst | |
ok niklas@ | |||
2003-01-30 | regen now that setreuid/setregid have moved out of compat and into kern | Todd C. Miller | |
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@ | |||
2003-01-09 | Remove fetch(9) and store(9) functions from the kernel, and replace the few | Miod Vallat | |
remaining instances of them with appropriate copy(9) usage. ok art@, tested on all arches unless my memory is non-ECC | |||
2003-01-04 | spelling | Theo de Raadt | |
2002-12-17 | Make SysV-style shared memory and semaphore limits sysctl'able. | Todd C. Miller | |
Instead of allocating a static amount of memory for the data structures via valloc() in allocsys(), allocate things dynamically using pool(9) when possible and malloc(9) when not. The various members of struct seminfo and struct shminfo are in kern.seminfo and kern.shminfo respectively (not all members of kern.seminfo are changable). The data structures used still leave something to be desired but things are not made worse in that respect by this commit. | |||
2002-12-16 | unbust *stat64. From NetBSD. | Federico G. Schwindt | |
deraadt@ ok. | |||
2002-12-10 | Config.new is so old its frozen now, no need to mention it. | Miod Vallat | |
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-11-06 | maintain refcnt correctly, ok art@ | Niklas Hallqvist | |
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-30 | Implement osetre[ug]id() in terms of setres[ug]id(). | Todd C. Miller | |
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-10-03 | Check for negative values here too. "makes sense" mickey@, ok deraadt@ | Thomas Nordin | |
2002-08-23 | Just like getvnode, make getsock FREF the file so that we can't get away | Artur Grabowski | |
with not refing it. Eyeballed by lurene@daemonkitty.net, fries@, nordin@ and fries@ Some additional cleanups by nordin@ | |||
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-23 | FREF/FRELE cleanup/simplification, no functional changes; ok art | Peter Valchev | |
2002-08-22 | Change the vnode locking in exec to not keep the vnode locked almost all | Artur Grabowski | |
the time. This could lead to problems when a process wants to do an exec on the same vnode it's being run from and needs to copy in arguments from an uncached page in the data segment. When that happens uvm detects a vnode deadlock and returns an error causing execve() return EFAULT. This fixes the regress test in regress/sys/kern/exec_self Also, initialize scriptvp early in exec_script because it could be used uninitialized in a failure case. | |||
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-08-02 | More possible int overflows found by Silvio Cesare. | Todd C. Miller | |
ibcs2_stat.c one OK by provos@ | |||
2002-07-25 | Avoid time wrap at securelevel 2. ok millert@ fgsch@ | Thomas Nordin | |
2002-07-20 | Instead of copying out the signal trampoline on top of the stack, create | Artur Grabowski | |
an uvm aobj, copy out the signal trampoline into it and share that page among all processes for the same emulation. This also requires us to actually be able to tell signal code where the trampoline is located, so introduce a new field in struct proc - p_sigcode that is a pointer to sigcode. This allows us to remove all the ugly calculations of the signal trampoline address done in every sendsig function in the tree (that's why so many files are changed). Tested by various people. ok deraadt@ | |||
2002-07-14 | More glue needed for cross-compilation | Marcus Watts | |