Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-01-14 | sync | Ted Unangst | |
2004-01-14 | change sigaltstack.ss_size type to size_t. handle syscall fallout. | Ted Unangst | |
add stack_t and ucontext_t typedefs. ok deraadt@ | |||
2003-12-19 | Make sure hpux fcntl() operates on the proper file. | Miod Vallat | |
2003-12-02 | Count from now, not from the epoch, to arm alarm. | Thomas Nordin | |
2003-11-25 | Make SIOCGIFHWADDR work. ok mickey@ | Thomas Nordin | |
2003-11-23 | check for too-small length in stream debug code | Anil Madhavapeddy | |
discussed with grange@ tedu@ | |||
2003-11-18 | path_index isn't used for anything, so comment it out. idea millert@ | Ted Unangst | |
2003-11-17 | add a missing bounds check that allowed a stack overrun. reported by | Ted Unangst | |
Georgi Guninski. also prevent an int overflow. ok millert@ | |||
2003-11-03 | verify exec headers before attempting malloc. reported by Georgi Guninski. | Ted Unangst | |
2003-10-12 | Linux shmat allows lookup of segments that are marked as removed so | Todd C. Miller | |
our Linux compat should too. From marius aamodt eriksen | |||
2003-10-01 | out-of-bound memory access. deraadt ok | Jun-ichiro itojun Hagino | |
2003-09-23 | Replace select backends with poll backends. selscan() and pollscan() | Todd C. Miller | |
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK | |||
2003-09-04 | sync | Ted Unangst | |
2003-09-04 | dummy xattr syscalls. ok deraadt@ | Ted Unangst | |
2003-09-01 | regen. | Federico G. Schwindt | |
2003-09-01 | set fadvise64 as dummy. some binaries compiled with a recent glibc | Federico G. Schwindt | |
seems to require it; henning ok. | |||
2003-08-24 | regen | Ted Unangst | |
2003-08-24 | freebsd pread and pwrite are the same as ours. jason + ackley.net says this | Ted Unangst | |
lets him run perforce. ok deraadt@ | |||
2003-08-23 | rename native to aout so we can tell it apart. | Ted Unangst | |
2003-08-21 | emulation is now controlled by sysctl. changes: | Ted Unangst | |
add e_flags to struct emul. this stores on/off and native flags. check for emul enabled in check_exec(). gather all the emuls into a emulsw so a sysctl can find them. create sysctl. move maxhdrsiz calcualation into init_main so it cleans up sys_execve codepath. teach sysctl utility to grok kern.emul hierarchy. requested and ok deraadt@ some comments from mickey@ | |||
2003-08-16 | missed suser. thanks naddy@ | Ted Unangst | |
2003-08-15 | change arguments to suser. suser now takes the process, and a flags | Ted Unangst | |
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@ | |||
2003-08-15 | regen. | Federico G. Schwindt | |
2003-08-15 | simplify. | Federico G. Schwindt | |
2003-08-14 | regen.. again. sorry. | Federico G. Schwindt | |
2003-08-14 | unbust my previous commit. | Federico G. Schwindt | |
2003-08-14 | regen. | Federico G. Schwindt | |
2003-08-14 | add more syscalls. implement exit_group (which is actually an alias for | Federico G. Schwindt | |
sys_exit), needed for newer glibc's binaries. from marius aamodt eriksen <marius at monkey dot org> | |||
2003-08-14 | in some fs (ie. procfs), readdir won't return a cookie, so calculate | Federico G. Schwindt | |
it based on the offset and reclen. with this, a emulated ls binary (ie. linux) correctly list the files in such filesystems. also plug some memory leak and remove a unneeded panic. adapted from FreeBSD. henning@ tedu@ ok. some other people ok'ed this in the past as well. | |||
2003-08-13 | remove some copy and waste. from marius@monkey.org | Ted Unangst | |
2003-08-06 | Remove some double semicolons (hmm, do two semis equal a maxi?). | Todd C. Miller | |
I've skipped the GNU stuff for now. From Patrick Latifi. | |||
2003-08-03 | another gapped system call handled incorrectly: truncate64; marius@monkey.org | Theo de Raadt | |
2003-08-02 | sync | Theo de Raadt | |
2003-08-02 | wrong args for linux ftruncate64; marius@monkey.org | Theo de Raadt | |
2003-07-24 | after sys_sendmsg, change control message level back in case somebody looks | Ted Unangst | |
at it. we don't use stackgap because control messages can be larger than the gap, and it's just easier this way. ok deraadt@ | |||
2003-07-23 | 'r' ioctls, (VFAT) aren't supported, don't pass down. | Ted Unangst | |
see netbsd pr21936. ok deraadt@ | |||
2003-07-23 | sync | Ted Unangst | |
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-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 | |