Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-08-28 | lockmgr() wants to use a different address for the wchan when draining | Philip Guenthe | |
the lock, but a change in member ordering meant it was using the same address. Explicitly use different members instead of mixing address of member and address of the lock itself. ok miod@ | |||
2011-08-23 | iPrevent that a socket splicing timeout error in one direction is | Alexander Bluhm | |
also added to the other direction. ok mikeb@ | |||
2011-07-30 | When using rthreads, the thread that calls exit will be the last one to | Joel Sing | |
actually exit. This means that the main thread will exit and free the process group, which results in the thread dereferencing a null pointer when it is woken back up. Avoid this by checking that the ps_pgrp is not null before deferefencing it. Also expand the ps_session macro to avoid hiding the dereference. ok tedu@ | |||
2011-07-28 | Kill integer from pointer warning when compiling with MALLOC_DEBUG. | Ryan Thomas McBride | |
ok kettenis | |||
2011-07-26 | No need to byte-swap d_checksum just before setting it to zero. | Kenneth R Westerback | |
ok matthew@ | |||
2011-07-25 | two more syscall functions that should have returned int, not pid_t | Ted Unangst | |
2011-07-25 | Make sure vfsp is not used uninitialized in the mount -o update case; | Miod Vallat | |
ok krw@ matthew@ | |||
2011-07-25 | sys_wait4 properly returns int. ok deraadt | Ted Unangst | |
2011-07-22 | Doh, fix a memory leak when an invalid file descriptor is passed to a | Matthew Dempsky | |
*at(2) function. ok guenther@, thib@ | |||
2011-07-18 | Allocations fit if [the end of free space] >= [the end of allocated space]. | Ariane van der Steldt | |
Change > in comparison to >=. | |||
2011-07-18 | Fix uvm_pmr_alloc_piglet. | Ariane van der Steldt | |
A wrong check could cause the piglet allocator to attempt to extract memory from a range in which the alignment caused it not to fit. | |||
2011-07-18 | Revert vnd(4) to its older less strict behavior. | Matthew Dempsky | |
Verified by deraadt@ to fix distrib/sgi/iso. | |||
2011-07-18 | sync | Matthew Dempsky | |
2011-07-18 | Add support for UTIME_OMIT and UTIME_NOW to utimensat(2), add the | Matthew Dempsky | |
futimens(2) system call, and refactor futimes(2) to share the same code. (As with other openat(2) system call stuff, this is not exposed to userland yet.) naddy@ pointed out rsync expects UTIME_* if openat(2) is available tweaks and ok guenther@; tested by naddy@ in a bulk build | |||
2011-07-14 | Add support for AT_REMOVEDIR to unlinkat(2), and switch sys_rmdir() to | Matthew Dempsky | |
use it. ok tedu@, guenther@ | |||
2011-07-12 | Fix typo that caused fchownat(2) and fchmodat(2) to try to dereference | Matthew Dempsky | |
symbolic links even when the AT_SYMLINK_NOFOLLOW flag is passed. noticed by naddy@ testing gnulib ok deraadt@ and presumably tedu@ (who wrote a similar diff) | |||
2011-07-11 | Revert art@'s moving around of the KERNEL_LOCK()/KERNEL_UNLOCK() calls, | Philip Guenthe | |
as it causes hangs in some ports, including libsigsegv's configure script confirmed by krw@, landry@ | |||
2011-07-11 | Add hibernate_read_block and fix a couple of typos in the previous commit. | Mike Larkin | |
2011-07-09 | sync | Matthew Dempsky | |
2011-07-09 | Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option | Matthew Dempsky | |
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate #ifdef, and use struct compat_o48_sys_getdirentries_args instead of struct sys_getdirentries_args. | |||
2011-07-09 | sync | Matthew Dempsky | |
2011-07-09 | More syscalls.master cleanup: | Matthew Dempsky | |
sys_osigaltstack() is 7 years old and no longer needed; all glory to the sys_sigaltstack()! sys_ogetdirentries() is about 9 months old, but still acceptable within our release cycle; move from STD to COMPAT_48 to make this clearer for tedu@ next year. sys_sbrk() and sys_sstk() are completely obsolete: all they do is return ENOSYS. ok guenther@ | |||
2011-07-09 | Call (temporarily, until we have RLE page encoding) uvm_pmr_zero_everything | Mike Larkin | |
on suspend to ensure we get good zlib compression. Add MI signature block (hibernate_info) comparison routine | |||
2011-07-09 | Extract hibernate_write_signature and hibernate_clear_signature to the MI | Mike Larkin | |
hibernate code, and add chunk range overlap checking. | |||
2011-07-09 | Add support for the O_CLOEXEC and O_DIRECTORY flags introduced in | Matthew Dempsky | |
POSIX Issue 7. Requested by oga@ (and maybe djm@); ok guenther@ | |||
2011-07-09 | Extract MI pmap function hibernate_enter_resume_mapping, refactor old i386 | Mike Larkin | |
resume pmap code to match. Add hibernate deflater and inflater and cache flush routines. Code is not presently called or automatically built. | |||
2011-07-09 | begone, fucking rotten appletalk shit. ok room | Henning Brauer | |
2011-07-09 | Add zlib reset, alloc, and free functions for hibernate image compression | Mike Larkin | |
2011-07-09 | sync | Theo de Raadt | |
2011-07-09 | mark an obsolete call with the release we killed it; reminded by tedu | Theo de Raadt | |
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-09 | Separate some MD and MI bits and a bit of refactoring to make subsequent | Mike Larkin | |
commits easier. Work in progress, hibernate will still not work for you. ok deraadt@ | |||
2011-07-08 | Add F_DUPFD_CLOEXEC. | Matthew Dempsky | |
"Sure" deraadt@ | |||
2011-07-08 | no reason to zero pages we are about to mark dirty | Ariane van der Steldt | |
2011-07-08 | Ensure all pages in pmemrange can be marked as dirty. | Ariane van der Steldt | |
It'd be a very bad idea to hand out dirty pages as zeroed, just because we came back from hibernate. No callers at the moment, will be called on hibernate resume path. | |||
2011-07-08 | Remove COMPAT_OLDSOCK since no nothing sets MSG_COMPAT anymore. | Theo de Raadt | |
The song and dance for handling 16-bit af_family on big-endian machines remains untouched. ok claudio miod tedu guenther | |||
2011-07-08 | Support sending struct info to kdump. So far for struct stat and | Otto Moerbeek | |
struct sockaddress; mostly from freebsd. ok deraadt@ tedu@ nicm@ | |||
2011-07-08 | down to one compat option... | Ted Unangst | |
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 | keep the fdplock around copyout in pipe. ok matthew | Ted Unangst | |
2011-07-08 | new priority queueing implementation, extremely low overhead, thus fast. | Henning Brauer | |
unconditional, always on. 8 priority levels, as every better switch, the vlan header etc etc. ok ryan mpf sthen, pea tested as well | |||
2011-07-08 | Put in RLE logic for hibernate compressor. | Ariane van der Steldt | |
These have the potential to compress 1MB of physmem into 1 byte. This works by noting the page is not in use and therefor skipping it. Needed by mlarkin@ for hibernate. No callers yet. | |||
2011-07-08 | Change pig allocator to a highest-address selection. | Ariane van der Steldt | |
Add piglet allocator, which does a lowest-address selection. No callers yet, needed by mlarkin@ for hibernate voodoo. | |||
2011-07-08 | Include PIPEX in kernel by default. And add new sysctl variable | YASUOKA Masahiko | |
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled and it will not process packets from wire. Update man pages and update HOWTO_PIPEX_NPPPD.txt for testers. discussed with dlg@, ok deraadt@ mcbride@ claudio@ | |||
2011-07-08 | Move uvm_pmr_alloc_pig to kern/subr_hibernate.c | Ariane van der Steldt | |
No callers, no functional change. | |||
2011-07-08 | Move uvm_pmr_zero_everything() to subr_hibernate. | Ariane van der Steldt | |
This function will probably die before ever being called from the in-tree code, since hibernate will move to RLE encoding. No functional change, function had no callers. | |||
2011-07-08 | Move hiballoc to hibernate.h, subr_hibernate.c | Ariane van der Steldt | |
Next few commits will move other hibernate-specific functionality, like the pig-allocator, to subr_hibernate. No functional change, no callers either. | |||
2011-07-08 | sync | Matthew Dempsky | |