public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* do_coredump and O_NOFOLLOW
@ 2007-08-15  5:36 gshan
  2007-08-15  7:05 ` Bernd Eckenfels
  2007-08-15 23:41 ` Andy Isaacson
  0 siblings, 2 replies; 5+ messages in thread
From: gshan @ 2007-08-15  5:36 UTC (permalink / raw)
  To: linux-kernel

Hi All,

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, So I plan to remove O_NOFOLLOW as 
follows, but I'm not sure there are any impacts introduced by the change?

file = filp_open(corename, O_CREAT | 2 | O_NOFOLLOW | O_LARGEFILE, 0600);

TO

file = filp_open(corename, O_CREAT | 2 /*| O_NOFOLLOW*/ | O_LARGEFILE, 
0600);

Thanks,
Gavin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-08-15 23:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox