Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-03 | Fix the naming of interfaces and variables for rdomains and rtables | Philip Guenthe | |
and make it possible to bind sockets (including listening sockets!) to rtables and not just rdomains. This changes the name of the system calls, socket option, and ioctl. After building with this you should remove the files /usr/share/man/cat2/[gs]etrdomain.0. Since this removes the existing [gs]etrdomain() system calls, the libc major is bumped. Written by claudio@, criticized^Wcritiqued by me | |||
2010-07-03 | no need for syncdelay to be a time_t, make it it an int. unstatic variables | Thordur I. Bjornsson | |
so I can twiddle them from ddb (not that I will mess with the hashmask, but static burns). ok tedu@ | |||
2010-07-03 | replace 0 with equivalent allocation flag. ok thib | Ted Unangst | |
2010-07-03 | explicitly specify flags to malloc and pool_get instead of relying on 0. | Ted Unangst | |
This is more clear, and as thib pointed out, the default in softraid was wrong. ok thib. | |||
2010-07-02 | remove support for compat_sunos (and m68k4k). ok deraadt guenther | Ted Unangst | |
2010-07-02 | Since fill_eproc() is no longer called from coredump(), it can be dropped | Philip Guenthe | |
from small kernels "yes" deraadt@ | |||
2010-07-02 | Move common code for waking up writers on a tty into a function. | Nicholas Marriott | |
ok deraadt matthew millert | |||
2010-07-02 | timeout_add -> timeout_add_msec | Bret Lambert | |
ok claudio@ krw@ | |||
2010-07-02 | m_copyback can fail to allocate memory, but is a void fucntion so gymnastics | Bret Lambert | |
are required to detect that. Change the function to take a wait argument (used in nfs server, but M_NOWAIT everywhere else for now) and to return an error ok claudio@ henning@ krw@ | |||
2010-07-02 | add an align argument to uvm_km_kmemalloc_pla. | Artur Grabowski | |
Use uvm_km_kmemalloc_pla with the dma constraint to allocate kernel stacks. Yes, that means DMA is possible to kernel stacks, but only until we've fixed all the scary drivers. deraadt@ ok | |||
2010-07-02 | structure copy the unp_connid to the other socket | Theo de Raadt | |
2010-07-01 | regen | Ted Unangst | |
2010-07-01 | 3.5 compat is old, but relied upon by other compats still in tree. the | Ted Unangst | |
fhstat syscall, however, isn't needed and can go away. ok deraadt | |||
2010-07-01 | Oops. Lost the < 0 check on file position I had in the circulated | Kenneth R Westerback | |
diff. A bit of paranoia suggested by beck@. | |||
2010-07-01 | Implement vs{,un}lock_device and use it for physio. | Artur Grabowski | |
Just like normal vs{,un}lock, but in case the pages we get are not dma accessible, we bounce them, if they are dma acessible, the functions behave exactly like normal vslock. The plan for the future is to have fault_wire allocate dma acessible pages so that we don't need to bounce (especially in cases where the same buffer is reused for physio over and over again), but for now, keep it as simple as possible. | |||
2010-07-01 | constrain malloc to only grab pages from dma reachable memory. | Thordur I. Bjornsson | |
Do this by calling uvm_km_kmemalloc_pla with the dma_constraint. ok art@ (ofcourse, he eats his cereal and okeys everything). OK beck@, deraadt@ | |||
2010-07-01 | pool setconstraints must be called immediately after pool_init, otherwise | Bob Beck | |
if we allocate memory before applying constraints we get memory outside the constraints allocated in the pool. this is bad. ok claudio@ | |||
2010-07-01 | SO_PEERCRED should return ENOTCONN when the sockets are not connected | Theo de Raadt | |
2010-07-01 | Return EINVAL if the file position is greater than LONG_MAX, since | Kenneth R Westerback | |
otherwise truncation will occur on archs where LONG LONG and LONG are not the same. Noticed at n2k10. Error return suggested by deraadt@. ok beck@ millert@ deraadt@ guenther@ | |||
2010-07-01 | another day, another compat gets removed. today is ibcs2's turn | Ted Unangst | |
2010-07-01 | SO_PEERCRED should pass out the main pid, not the "pid" of the current | Theo de Raadt | |
thread. Discussion with guenther. | |||
2010-07-01 | Call bufq_done at the top of biodone, so we don't call it on | Thordur I. Bjornsson | |
a freed buf as that causes problems... | |||
2010-07-01 | Always identify threads with THREAD_PID_OFFSET, so that there's no | Philip Guenthe | |
way a kill() intended for a thread can result in a separate process getting the signal. ok tedu@ art@ | |||
2010-07-01 | sync | Theo de Raadt | |
2010-07-01 | compat_o43 and compat_23 are no longer options | Theo de Raadt | |
2010-07-01 | compat_o43 and compat_23 can die | Theo de Raadt | |
2010-06-30 | Disable/partially backout the bufq quiesce changes as this | Thordur I. Bjornsson | |
is causing havoc with vnds and release must be buildable. | |||
2010-06-30 | This comment is unnecessarily confusing. | Artur Grabowski | |
2010-06-30 | Silence the activation debug reporting. We are starting to get worried | Theo de Raadt | |
that there are interactions when we print in the various (saved, post-saved, pre-restored, and restored) vga states, especially with how intel drm is getting involved. If your machine has issues, you may want to activate these messages again to help debug things better. ok mlarkin | |||
2010-06-30 | style nit | Thordur I. Bjornsson | |
2010-06-30 | remove compat_osf1 support from the kernel | Ted Unangst | |
ok deraadt miod | |||
2010-06-30 | Add getsockopt SOL_SOCKET SO_PEERCRED support. This behaves similar to | Theo de Raadt | |
getpeereid(2), but also supplies the remote pid. This is supplied in a 'struct sockpeercred' (unlike Linux -- they showed how little they know about real unix by calling theirs 'struct ucred'). ok guenther ajacoutot | |||
2010-06-30 | Call msleep(9) with PNORELOCK rather than calling mtx_leave() | Matthew Dempsky | |
immediately afterwards. ok thib@, tedu@ | |||
2010-06-30 | Switch bufq FIFO disclipline from using TAILQs to SIMPLEQs. | Matthew Dempsky | |
ok thib@ | |||
2010-06-30 | lots of SCARG simplification. ok matthew | Ted Unangst | |
2010-06-30 | Move the plimit and pcred bits in fork1() into process_new() and make | Philip Guenthe | |
process_new() handle the new struct process like fork1() does struct proc, with a range of members zeroed and a range copied from the parent process. ok tedu@ | |||
2010-06-29 | Strip out ancient bits in struct user that were still used only by | Philip Guenthe | |
the now-removed HPUX compat code. ok and build testing deraadt@ | |||
2010-06-29 | Add a no_constraint uvm_constraint_range; use it in the pool code. | Thordur I. Bjornsson | |
ok tedu@, beck@, oga@ | |||
2010-06-29 | Remove COMPAT_HPUX. No one wanted to support it and its fewmets were | Philip Guenthe | |
blocking other cleanups ok miod@ | |||
2010-06-29 | We always copy struct pcred when creating a new process, so the reference | Philip Guenthe | |
count was always one. That's pointless, so remove the member and the code. ok tedu@ | |||
2010-06-29 | Eliminate struct plimit's PL_SHAREMOD flag: it was for COMPAT_IRIX | Philip Guenthe | |
sproc() support, but we don't have COMPAT_IRIX. ok krw@ tedu@ | |||
2010-06-29 | remove the compat43 ifdef around some code. in effect, it's always been | Ted Unangst | |
in compat mode and there's no harm continuing that way. ok dlg deraadt guenther miod thib | |||
2010-06-29 | Introduce bufq_quiesce(), which will block I/O ifrom getting on the queues, | Mark Kettenis | |
and waits until all I/O currently on the queues has been completed. To get I/O going again, call bufq_restart(). To be used for suspend/resume. Joint effort with thib@, tedu@; tested by mlarkin@, marco@ | |||
2010-06-29 | COMPAT_ULTRIX is not used, time to retire it. ok deraadt miod | Ted Unangst | |
2010-06-29 | Remove the "if the string address faulted, see if it looks like an int" | Ted Unangst | |
4.3 compat code in mount. This is a flag day for those of you still running 4.3 BSD binaries on your vaxen. :) ok deraadt dlg guenther thib | |||
2010-06-29 | Fail instead of lying if a process asks sysctl()'s KERN_PROC2 or | Philip Guenthe | |
KERN_FILE2 (or their libkvm wrappers) for more information than the running implementation knows how to provide. ok millert@ deraadt@ | |||
2010-06-29 | makefstype was only used in ported from freebsd filesystems. fix them | Ted Unangst | |
and remove the function. ok thib | |||
2010-06-29 | eliminate some very redundant SCARG usage. ok art | Ted Unangst | |
2010-06-29 | correct some minor style violations | Ted Unangst | |
2010-06-29 | less SCARG, more pretty. ok guenther | Ted Unangst | |