From: loftin@ldl.fc.hp.com (Terry Loftin)
To: linux-kernel@vger.kernel.org
Cc: akpm@osdl.org, marcelo.tosatti@cyclades.com
Subject: [PATCH 2.4.26-pre4] 2 Gb Core Files
Date: Wed, 17 Mar 2004 11:21:09 -0700 (MST) [thread overview]
Message-ID: <20040317182109.08FDC1340C9@ldl.fc.hp.com> (raw)
Please apply. This patch allows core files larger than 2GB.
This is just Andrew Morton's 2.6.x patch backported to 2.4.26-pre
source. TIA.
diff -Nu linux-2.4/fs/exec.c linux-2.4_core/fs/exec.c
--- linux-2.4/fs/exec.c Mon Mar 15 10:57:07 2004
+++ linux-2.4_core/fs/exec.c Mon Mar 15 10:59:48 2004
@@ -1126,7 +1126,7 @@
goto fail;
format_corename(corename, core_pattern, signr);
- file = filp_open(corename, O_CREAT | 2 | O_NOFOLLOW, 0600);
+ file = filp_open(corename, O_CREAT | 2 | O_NOFOLLOW | O_LARGEFILE, 0600);
if (IS_ERR(file))
goto fail;
inode = file->f_dentry->d_inode;
reply other threads:[~2004-03-17 18:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20040317182109.08FDC1340C9@ldl.fc.hp.com \
--to=loftin@ldl.fc.hp.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®