Re: do_coredump and O_NOFOLLOW
From: Andy Isaacson
Date: Wed Aug 15 2007 - 19:42:11 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/