All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Isaacson <adi@hexapodia.org>
To: gshan <gshan@alcatel-lucent.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: do_coredump and O_NOFOLLOW
Date: Wed, 15 Aug 2007 16:41:31 -0700	[thread overview]
Message-ID: <20070815234130.GA17593@hexapodia.org> (raw)
In-Reply-To: <46C290F6.2090309@alcatel-lucent.com>

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

      parent reply	other threads:[~2007-08-15 23:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-15  5:36 do_coredump and O_NOFOLLOW gshan
2007-08-15  7:05 ` Bernd Eckenfels
2007-08-15  8:03   ` gshan
2007-08-15 15:12     ` Valdis.Kletnieks
2007-08-15 23:41 ` Andy Isaacson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070815234130.GA17593@hexapodia.org \
    --to=adi@hexapodia.org \
    --cc=gshan@alcatel-lucent.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.