Re: Log message

2009-05-29 Thread Sergio Tam
2009/5/29 Julian Elischer : > Sergio Tam wrote: >> On the /var/log/messages show this: >> >> kernel: pid 33785: corrected slot count (4->1) >> >> ¿Whats means? > > It means that you are running an old system, using M:N threads and that the > threading code somehow lost track of how may threads w

Re: Log message

2009-05-29 Thread Julian Elischer
Sergio Tam wrote: Hi On the /var/log/messages show this: kernel: pid 33785: corrected slot count (4->1) ¿Whats means? Thanks for your time. Regards ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hac

Log message

2009-05-29 Thread Sergio Tam
Hi On the /var/log/messages show this: kernel: pid 33785: corrected slot count (4->1) ¿Whats means? Thanks for your time. Regards ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe,

Re: Why kernel kills processes that run out of memory instead of just failing memory allocation system calls?

2009-05-29 Thread Alfred Perlstein
* Dag-Erling Sm??rgrav [090529 02:49] wrote: > Alfred Perlstein writes: > > Dag-Erling Sm??rgrav writes: > > > Usually, what you see is closer to this: > > > > > > if ((pid = fork()) == 0) { > > > for (int fd = 3; fd < getdtablesize(); ++fd) > > > (void)close(fd); > > >

Re: FYI Lighttpd 1.4.23 /kernel (trailing '/' on regular file symlink) vulnerability

2009-05-29 Thread Eygene Ryabinkin
Fri, May 29, 2009 at 06:53:22PM +0200, Dag-Erling Sm??rgrav wrote: > Bruce Evans writes: > > % /* > > %* Get a buffer for the name to be translated, and copy the > > %* name into the buffer. > > % @@ -533,6 +536,8 @@ > > % if (*cp == '\0') { > > % trailing_sla

Re: FYI Lighttpd 1.4.23 /kernel (trailing '/' on regular file symlink) vulnerability

2009-05-29 Thread Dag-Erling Smørgrav
How's this? Index: sys/kern/vfs_lookup.c === --- sys/kern/vfs_lookup.c (revision 193028) +++ sys/kern/vfs_lookup.c (working copy) @@ -454,7 +454,6 @@ int docache;/* == 0 do not cache last compon

Re: FYI Lighttpd 1.4.23 /kernel (trailing '/' on regular file symlink) vulnerability

2009-05-29 Thread Dag-Erling Smørgrav
Bruce Evans writes: > Dag-Erling Smørgrav writes: > % Index: sys/kern/vfs_lookup.c > % === > % --- sys/kern/vfs_lookup.c (revision 192899) > % +++ sys/kern/vfs_lookup.c (working copy) > % @@ -147,6 +147,9 @@ > % cnp->

Re: Why kernel kills processes that run out of memory instead of just failing memory allocation system calls?

2009-05-29 Thread Dag-Erling Smørgrav
Alfred Perlstein writes: > Dag-Erling Smørgrav writes: > > Usually, what you see is closer to this: > > > > if ((pid = fork()) == 0) { > > for (int fd = 3; fd < getdtablesize(); ++fd) > > (void)close(fd); > > execve(path, argv, envp); > > _exit(1); > > } >