Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2004 15:59:22 +0100
From:      Stefan Farfeleder <stefan@fafoe.narf.at>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@FreeBSD.org
Subject:   Re: grep bug
Message-ID:  <20040209145920.GA623@wombat.fafoe.narf.at>
In-Reply-To: <20040209023623.GA30071@xor.obsecurity.org>
References:  <20040209023623.GA30071@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 08, 2004 at 06:36:23PM -0800, Kris Kennaway wrote:
> kkenn@rot13:~ grep -r foo / > /dev/null
> grep: /dev/network: Permission denied
> grep: /dev/geom.ctl: Permission denied
> grep: /dev/devctl: Permission denied
> grep: /dev/ata: Permission denied
> grep: /dev/console: Permission denied
> grep in realloc(): error: allocation failed
> ^C^C^CAbort (core dumped)

-current aborts by default on memory allocation failures, you have to
set the 'a' flag via MALLOC_OPTIONS or /etc/malloc.conf.

Cheers,
Stefan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040209145920.GA623>