[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070815234130.GA17593@hexapodia.org>
Date: Wed, 15 Aug 2007 16:41:31 -0700
From: Andy Isaacson <adi@...apodia.org>
To: gshan <gshan@...atel-lucent.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: do_coredump and O_NOFOLLOW
On Wed, Aug 15, 2007 at 01:36:54PM +0800, gshan wrote:
> I found that O_NOFOLLOW is used for opened core file in Linux 2.6.10.
> This means the core file couldn't be a symbolic link. However, I want to
> use symbolic link for core file
I would recommend that you use
# sysctl -w kernel.core_pattern=/tmp/core.%e.%p
instead. See Documentation/sysctl/kernel.txt for details.
-andy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists