Re: bin/176713: [patch] nc(1) closes network socket too soon

2013-07-23 Thread Adrian Chadd
Hi, Well, I've done this before. More than once. I'm glad that you've stuck through helping me understand what nc is doing; I'm unfortunately busy doing other things What you end up doing is: * tracking the state of the two sockets, both for read EOF and write EOF; * whenever you get an EOF from

Re: Should process run under chroot(8) still see mounts on the original system?

2013-07-23 Thread Mateusz Guzik
On Tue, Jul 23, 2013 at 04:44:18PM -0700, Yuri wrote: > On 07/23/2013 16:31, Mateusz Guzik wrote: > >Of course then you may have some unnecessary separation but that I > >believe can be simply worked out if it turns out to be problematic. > > > jail would completely separate two systems. In my ca

Re: bin/176713: [patch] nc(1) closes network socket too soon

2013-07-23 Thread Ronald F. Guilmette
In message Adrian Chadd wrote: >Right, and your patch just stops the shutdown(), right? The shutdown that occurs when EOF is encountered on stdin, yes. >Rather than >teaching nc to correctly check BOTH socket states before deciding to >close things. In effect, nc *is* currently "checking bot

Re: Should process run under chroot(8) still see mounts on the original system?

2013-07-23 Thread Teske, Devin
On Jul 23, 2013, at 4:31 PM, Mateusz Guzik wrote: > On Tue, Jul 23, 2013 at 04:17:02PM -0700, Yuri wrote: >> Currently, mount directories as shown by mount(8) command and >> /compat/linux/dev/mounts from linprocfs(5) still show the original >> mount points as other non-chrooted processes see. >>

Re: Should process run under chroot(8) still see mounts on the original system?

2013-07-23 Thread Yuri
On 07/23/2013 16:31, Mateusz Guzik wrote: Of course then you may have some unnecessary separation but that I believe can be simply worked out if it turns out to be problematic. jail would completely separate two systems. In my case this app also communicates through files that it creates and

Re: Should process run under chroot(8) still see mounts on the original system?

2013-07-23 Thread Mateusz Guzik
On Tue, Jul 23, 2013 at 04:17:02PM -0700, Yuri wrote: > Currently, mount directories as shown by mount(8) command and > /compat/linux/dev/mounts from linprocfs(5) still show the original > mount points as other non-chrooted processes see. > So, when some program run under chroot tries to read the m

Should process run under chroot(8) still see mounts on the original system?

2013-07-23 Thread Yuri
Currently, mount directories as shown by mount(8) command and /compat/linux/dev/mounts from linprocfs(5) still show the original mount points as other non-chrooted processes see. So, when some program run under chroot tries to read the mount points and do something with them it would likely fail

Increasing the kernel hertz rate in 10.0, RELEASE, and CURRENT

2013-07-23 Thread Super Bisquit
At 2500 Hz, the tick rate increases by 1 Hz per cycle. There was mention of a patch that would allow the rate to be as high as 40k without this effect. --I'll post the link as soon as I find the mailing list thread-- Will this patch work with the current available releases?

Re: cpufreq not working as module on i386/amd64

2013-07-23 Thread Jia-Shiun Li
On Thu, Jul 4, 2013 at 1:37 PM, Jia-Shiun Li wrote: > ok anyone can help test and review this patch? > > It will allow cpufreq to be removed from kernel conf, loaded and > function correctly as kernel module. I've tested it ok on my own > i5-3450. > > It removes get_features method definition from