Re: Goodbye to you my file descriptor - take 2

2012-11-21 Thread Nicholas Marriott
Fixed, thanks. On Wed, Nov 21, 2012 at 06:33:46PM +0100, rustyBSD wrote: > Hi, > I know I'm repeating, but I make a codescanneron my free > timeand sometimes I run it on /usr/src. > > So, here is a patch to fix a file descriptor leak. > > (I know, tabs are gone, how to avoid that on thunderbird

Re: Goodbye to you my file descriptor - take 2

2012-11-21 Thread Stuart Henderson
On 2012/11/21 18:33, rustyBSD wrote: > Hi, > I know I'm repeating, but I make a codescanneron my free > timeand sometimes I run it on /usr/src. > > So, here is a patch to fix a file descriptor leak. > > (I know, tabs are gone, how to avoid that on thunderbird?) see the git-format-patch(1) manpag

Goodbye to you my file descriptor - take 2

2012-11-21 Thread rustyBSD
Hi, I know I'm repeating, but I make a codescanneron my free timeand sometimes I run it on /usr/src. So, here is a patch to fix a file descriptor leak. (I know, tabs are gone, how to avoid that on thunderbird?) --- src/usr.bin/cu/xmodem.c2012-07-11 08:39:32.0 +0200 +++ src/usr.bin/c

Re: Disable modload(8)

2012-11-21 Thread Matthieu Herrb
On Wed, Nov 21, 2012 at 11:21:59AM +, Stuart Henderson wrote: > On 2012/11/21 12:01, Mike Belopuhov wrote: > > On Wed, Nov 21, 2012 at 11:50 AM, Alexey E. Suslikov > > wrote: > > > Hello tech@. > > > > > > Following this > > > http://blog.crowdstrike.com/2012/11/http-iframe-injecting-linux-roo

Re: Disable modload(8)

2012-11-21 Thread Stuart Henderson
On 2012/11/21 12:01, Mike Belopuhov wrote: > On Wed, Nov 21, 2012 at 11:50 AM, Alexey E. Suslikov > wrote: > > Hello tech@. > > > > Following this > > http://blog.crowdstrike.com/2012/11/http-iframe-injecting-linux-rootkit.html > > > > Besides of doing "#option LKM", is there any other way to disa

Re: Disable modload(8)

2012-11-21 Thread Alexey E. Suslikov
lavabit.com> writes: > On 10:50 Wed 21 Nov , Alexey E. Suslikov wrote: > > Hello tech@. > > > > Following this > > http://blog.crowdstrike.com/2012/11/http-iframe-injecting-linux-rootkit.html > > > > Besides of doing "#option LKM", is there any other way to disable > > modload(8)? > > If a

Re: Disable modload(8)

2012-11-21 Thread Mike Belopuhov
On Wed, Nov 21, 2012 at 11:50 AM, Alexey E. Suslikov wrote: > Hello tech@. > > Following this > http://blog.crowdstrike.com/2012/11/http-iframe-injecting-linux-rootkit.html > > Besides of doing "#option LKM", is there any other way to disable modload(8)? > > Cheers, > Alexey > modules can't be lo

Re: Disable modload(8)

2012-11-21 Thread sickmind
On 10:50 Wed 21 Nov , Alexey E. Suslikov wrote: > Hello tech@. > > Following this > http://blog.crowdstrike.com/2012/11/http-iframe-injecting-linux-rootkit.html > > Besides of doing "#option LKM", is there any other way to disable modload(8)? > > Cheers, > Alexey If an attacker has enough a

Re: Disable modload(8)

2012-11-21 Thread Matthieu Herrb
On Wed, Nov 21, 2012 at 10:50:08AM +, Alexey E. Suslikov wrote: > Hello tech@. > > Following this > http://blog.crowdstrike.com/2012/11/http-iframe-injecting-linux-rootkit.html > > Besides of doing "#option LKM", is there any other way to disable modload(8)? > See securelevel(7) at securele

Disable modload(8)

2012-11-21 Thread Alexey E. Suslikov
Hello tech@. Following this http://blog.crowdstrike.com/2012/11/http-iframe-injecting-linux-rootkit.html Besides of doing "#option LKM", is there any other way to disable modload(8)? Cheers, Alexey

gem(4): RX TCP/UDP checksum offload support

2012-11-21 Thread Brad Smith
The following diff for gem(4) adds support for RX TCP/UDP checksum offload. Tested with.. gem0 at pci1 dev 12 function 1 "Sun ERI Ether" rev 0x01 gem0 at pci2 dev 15 function 0 "Apple Uni-N2 GMAC" rev 0x80 Index: gem.c === RCS file:

se(4): HW VLAN tagging/stripping and checksum offload support

2012-11-21 Thread Brad Smith
The following diff adds HW VLAN tagging/stripping and checksum offload support. Tested with a SiS 190 adapter. OK? Index: if_se.c === RCS file: /home/cvs/src/sys/dev/pci/if_se.c,v retrieving revision 1.7 diff -u -p -r1.7 if_se.c --

Re: [PATCH] remove goto label in msdosfs_vfsops.c

2012-11-21 Thread Joel Sing
On Wed, 21 Nov 2012, Michael W. Bombardieri wrote: > Hi Tech, > > I have a small msdosfs patch... > > Error cases are handled inconsistently in msdosfs_mount(). > Some cases use the construct "if (error) goto error;", > others just return error immediately. > The following patch removes the goto la