Re: CVS commit: src/sys/compat/sys

2011-12-20 Thread Alan Barrett
On Tue, 20 Dec 2011, Matthias Drochner wrote: Module Name:src Committed By: drochner Date: Tue Dec 20 16:38:06 UTC 2011 Modified Files: src/sys/compat/sys: rnd.h Log Message: allow kernels w/o COMPAT_50 to build What was the actual problem? Nothing defined by this fil

Re: CVS commit: src/sys/compat/sys

2011-12-20 Thread Alan Barrett
On Tue, 20 Dec 2011, Alan Barrett wrote: On Tue, 20 Dec 2011, Matthias Drochner wrote: Modified Files: src/sys/compat/sys: rnd.h Log Message: allow kernels w/o COMPAT_50 to build What was the actual problem? Nothing defined by this file is supposed to be used in a kernel without COMP

Re: CVS commit: src

2011-12-20 Thread Joerg Sonnenberger
On which mailling list was this change discussed? Joerg On Tue, Dec 20, 2011 at 03:39:36PM +, Reinoud Zandijk wrote: > Module Name: src > Committed By: reinoud > Date: Tue Dec 20 15:39:36 UTC 2011 > > Modified Files: > src/lib/libc/sys: mmap.2 > src/sys/sys: mman.h proc.

Re: CVS commit: src

2011-12-20 Thread David Young
On Tue, Dec 20, 2011 at 03:39:36PM +, Reinoud Zandijk wrote: > Currently the MAP_NOSYSCALLS is only implemented for x86 but other > architectures are easy to adapt; see the sys/arch/x86/x86/syscall.c patch. > Port maintainers are encouraged to add them for their processor ports too. > When this

Re: CVS commit: src

2011-12-20 Thread Valeriy E. Ushakov
On Tue, Dec 20, 2011 at 19:22:12 +0100, Joerg Sonnenberger wrote: > On which mailling list was this change discussed? I guess this is for the usermode kernel, which design has also never been discussed. > On Tue, Dec 20, 2011 at 03:39:36PM +, Reinoud Zandijk wrote: > > Module Name:s

Re: CVS commit: src

2011-12-20 Thread Jean-Yves Migeon
On 20.12.2011 16:39, Reinoud Zandijk wrote: Module Name:src Committed By: reinoud Date: Tue Dec 20 15:39:36 UTC 2011 Modified Files: src/lib/libc/sys: mmap.2 src/sys/sys: mman.h proc.h src/sys/uvm: uvm_extern.h uvm_map.c uvm_mmap.c Log Message: Add a MAP_

Re: CVS commit: src

2011-12-20 Thread Simon Burge
Joerg Sonnenberger wrote: > On which mailling list was this change discussed? One thing that jumps out: Should this new code panic in sys_mmap() if it can't handle a request instead of just failing the request? That seems a little ... heavy handed. Please also stick to KNF (#define), especially

Re: CVS commit: src/sys

2011-12-20 Thread tsugutomo . enami
Christos Zoulas writes: > Log Message: > - Eliminate so_nbio and turn it into a bit SS_NBIO in so_state. It looks like fstat is using so_pcb offset directly while netstat uses sysctl to get list of pcbs. systat uses so_snd/rcv. I guess it is better not to change the layout of struct socket for

Re: CVS commit: src

2011-12-20 Thread David Holland
On Wed, Dec 21, 2011 at 12:13:50AM +0400, Valeriy E. Ushakov wrote: > > On which mailling list was this change discussed? > > I guess this is for the usermode kernel, which design has also never > been discussed. Sure, but changes to fundamental APIs are supposed to not only be discussed to d

Re: CVS commit: src/sys

2011-12-20 Thread YAMAMOTO Takashi
hi, > Module Name: src > Committed By: christos > Date: Tue Dec 20 23:56:29 UTC 2011 > > Modified Files: > src/sys/compat/linux/common: linux_socket.c > src/sys/dev: kttcp.c > src/sys/kern: sys_socket.c uipc_socket.c uipc_socket2.c uipc_syscalls.c > src/sys/miscfs