cam / ata timeout limited to 2147 due to overflow bug?

2011-08-04 Thread Steven Hartland
I'm working on adding security methods to camcontrol and have come up against a strange issue. It seems that the timeout value for cam, at least on ata (ahci), is limited to less than 2148 seconds. This can be seen by running:- camcontrol identify ada0 -t 2148 -v (pass0:ahcich0:0:0:0): ATA_IDENTI

[RFC] stdbuf: Force stdio's streams initial buffering mode (patch)

2011-08-04 Thread Jeremie Le Hen
On Sat, Feb 19, 2011 at 07:50:43PM +0100, Jeremie Le Hen wrote: > I've been annoyed multiple time when running a command such like > iostat -x 1 | grep -v ad10 | cat -n > > The problem stems from two factors: > - grep's stdio sees that its stdout is not a terminal, so stdout is > full bu

Re: DTrace script asserts and kills the other process

2011-08-04 Thread ambrosehuang ambrose
2011/8/4 ambrosehuang ambrose > > > 2011/8/3 Andriy Gapon > >> on 28/07/2011 07:10 ambrosehuang ambrose said the following: >> >> Yuri wrote: >> >> >> >>> I am trying to run this dtrace script: >> >>> >> >>> #!/usr/sbin/dtrace -s >> >>> pid123:libc::entry >> >>> { >> >>> self->timestmp[probefu

module_register_init fails, but driver is still loaded?

2011-08-04 Thread Garrett Cooper
Hi hackers, I noticed that if anything fails while initializing a driver, the driver stays attached to the kernel as a module instead of being kicked when all references to the driver go to 0. Is this desired behavior (it doesn't seem like it, but I can see potential pros and cons of kicking th

files that need as a prerequisite

2011-08-04 Thread Robert Millan
Can't they just #include ? Or am I missing something? I'll be happy to send a patch if that's an acceptable solution. sys/sys/linker_set.h:#error this file needs sys/cdefs.h as a prerequisite sys/sys/syslimits.h:#error this file needs sys/cdefs.h as a prerequisite sys/amd64/include/_types.h:#err

Re: Capsicum project: Ideas needed

2011-08-04 Thread Lars Engels
I just stumbled upon this rather outdated thread... On Fri, 8 Jul 2011 15:09:52 +0400, Ilya Bakulin wrote: [...] wget curl links/lynx This is Ports software, we may try to modify it and even send patches to upstream, or maintain our local patches. I wanted to focus on base system components du

Re: freeBSD8.2: getgrgid() works only for wheel group.

2011-08-04 Thread Rekhesh Mohan
On 04/08/2011 Eygene wrote > Rekhesh, good day. > > Wed, Aug 03, 2011 at 06:26:13PM +0530, Rekhesh Mohan wrote: > > I'm trying to install mailman on a freeBSD 8.2 box. Mailman allows > > only the apache-www group to run its CGI scripts and only the mail > > group can execute some of the mailing l