Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-08-26 | fix sys_clock_settime. hint from nordin@ ok deraadt@ | Ted Unangst | |
2003-08-23 | remember to reset exec_maxhdrsz after lkm load/unload. ok fgsch@ | Ted Unangst | |
2003-08-23 | remove native emulations from emulsw. you can't change them and probably | Ted Unangst | |
aren't interested, so keep them out of the sysctl. ok deraadt | |||
2003-08-23 | knf | Theo de Raadt | |
2003-08-23 | allow disabling a emul after enabling it; tedu@ ok. | Federico G. Schwindt | |
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-21 | sys/types.h is not really needed with sys/param.h; ok mickey@ | Kevin Lo | |
2003-08-20 | Move the nsem sanity checks where they belong (before the malloc call). | Todd C. Miller | |
This was missed when that code got restructured/re-ordered. Problem reported by blexim AT hush d0t com. OK deraadt@, tedu@, henning@ and miod@ | |||
2003-08-18 | spelling in comment, jonathon gray | Ted Unangst | |
2003-08-17 | unused var | 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-14 | constify vfsops; tedu@ ok | Michael Shalayeff | |
2003-08-12 | src argument to m_copyback() can be a const; itojun@ ok | Michael Shalayeff | |
2003-08-11 | constify constant consts | Michael Shalayeff | |
2003-08-11 | implement CLOCK_MONOTONIC from NetBSD; ok marc@ | Kevin Lo | |
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-06 | Remove unreachable return statement after break; Patrick Latifi | Todd C. Miller | |
2003-08-04 | Use strlcpy(), not strncpy() when copying p->p_comm to core.c_name | Todd C. Miller | |
to guarantee NUL termination; from Patrick Latifi. | |||
2003-08-03 | Implement the WCONTINUED flag to the wait(2) family of syscalls and the | Todd C. Miller | |
associated WIFCONTINUED macro as per 1003.1-2001. Adapted from FreeBSD. A minor amount of trickiness is involved here. The value for WCONTINUED is chosen in such a way that _WSTATUS(_WCONTINUED) == _WSTOPPED and the WIFSTOPPED macro has been modified such that WIFSTOPPED(_WCONTINUED) != _WSTOPPED. This means we don't need to add an extra check to the WIFSIGNALED and WIFSTOPPED macros. deraadt@ OK. | |||
2003-07-24 | kill some externs that are not there anymore and had left other places for a ↵ | Michael Shalayeff | |
better void ages ago | |||
2003-07-22 | make it compile again damnit; from slash@peereboom.us | Michael Shalayeff | |
2003-07-21 | sync | Ted Unangst | |
2003-07-21 | remove caddr_t casts. it's just silly to cast something when the function | Ted Unangst | |
takes a void *. convert uiomove to take a void * as well. ok deraadt@ | |||
2003-07-18 | check v_mount for NULL before using. ok art@ | Ted Unangst | |
2003-07-02 | bump mktemp randomness from 6->10 X's | Anil Madhavapeddy | |
2003-07-02 | comitted->committed in a comment | Anil Madhavapeddy | |
2003-07-01 | sync | Ted Unangst | |
2003-07-01 | remove sys_omquery. it was only used for two weeks, and you can't | Ted Unangst | |
source upgrade from a system that used it anyway. ok art deraadt drahn | |||
2003-06-28 | option to log ddb output to kernel message buffer, via sysctl ddb.log | Ted Unangst | |
ok deraadt@ henric@ djm@ | |||
2003-06-27 | filter event that simulates seltrue(). From NetBSD | Nathan Binkert | |
2003-06-26 | addrmask canbe const | Michael Shalayeff | |
2003-06-25 | implement new means of manipulating buf queues, bufq. | Ted Unangst | |
accessed with BUFQ macros, bufq structs support extensible, potentially changable algorithms and queue formats. the current default scheme should support nice priority based queuing, but is missing some vfs_bio.c support. only on wd.c for now, other drivers are easy converts. as a side bonus, this makes the driver code look cleaner. idea for the name comes from netbsd, but this scheme is incompatible. thanks to various people for testing. ok grange@ | |||
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 | sync | Theo de Raadt | |
2003-06-23 | fix nfds type; tedu marc ok | Theo de Raadt | |
2003-06-22 | sync | Theo de Raadt | |
2003-06-22 | extra headers | Theo de Raadt | |
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-14 | doing kqueue on the master side of the pty returns events | Michael Shalayeff | |
for the slave size as described in the pr3209. the regress has been created to verify for the conditions. from wayne@epipe.com.au | |||
2003-06-10 | debug0 and debug1 are defined elsewhere -- make 'em extern here | Michael Shalayeff | |
2003-06-04 | mop up some more 3/4 license issues | Theo de Raadt | |
2003-06-03 | Two term license with approval from nordin@ | Artur Grabowski | |
2003-06-03 | Use an ISC-tyle license for all my code; it is simpler and more permissive. | Todd C. Miller | |
2003-06-03 | license cleaning. | Artur Grabowski | |
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 | remove clause 3 and 4. -moj | Mats O Jansson | |
2003-06-02 | remove terms 3 and 4 of some of my licences | Theo de Raadt | |
2003-06-02 | stackgap_random becomes 64K | Theo de Raadt | |
2003-06-01 | uvm_km_suballoc passes the 'min' argument untouched to uvm_map. uvm_map | Artur Grabowski | |
uses it as a hint for where to steal space from the parent map. We've been passing random stack garbage as that hint for ages. It's a wonder it didn't break things until we started working on Hammer. noone objected for at least a week. |