From: Kyle Moffett <mrmacman_g4@mac.com>
To: Al Viro <viro@ftp.linux.org.uk>
Cc: Miklos Szeredi <miklos@szeredi.hu>,
akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] open: O_DIRECTORY and O_CREAT together should fail
Date: Sat, 24 Sep 2005 15:53:53 -0400 [thread overview]
Message-ID: <305557E4-5EB5-48C6-BE00-04C5AA16924A@mac.com> (raw)
In-Reply-To: <20050924070150.GL7992@ftp.linux.org.uk>
On Sep 24, 2005, at 03:01:50, Al Viro wrote:
> And O_DIRECTORY is not the only flag that acquires or loses meaning
> depending on O_CREAT - consider e.g. O_EXCL. It's a mess, of
> course, but this mess is part of userland ABI. We tried to fix
> symlink idiocy, BTW, on the assumption that nothing would be
> relying on it. Didn't work...
Maybe CONFIG_FIX_CRAPPY_ABI_CORNER_CASES? If the user is willing to
deal with some minimal breakage and fix programs relying on icky
unsupported behavior, then they could turn that on for a slightly
more secure system. Make it depend on "experimental" and give it big
warning messages. It's likely that some of the more-secure server-
oriented distros that run patched gcc and such to avoid buffer
overflow and such might turn it on.
Cheers,
Kyle Moffett
--
Simple things should be simple and complex things should be possible
-- Alan Kay
prev parent reply other threads:[~2005-09-24 19:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-23 14:45 Miklos Szeredi
2005-09-23 19:28 ` Andrew Morton
2005-09-24 5:52 ` Miklos Szeredi
2005-09-24 6:09 ` Al Viro
2005-09-24 6:41 ` Miklos Szeredi
2005-09-24 7:01 ` Al Viro
2005-09-24 7:43 ` Miklos Szeredi
2005-09-24 19:53 ` Kyle Moffett [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=305557E4-5EB5-48C6-BE00-04C5AA16924A@mac.com \
--to=mrmacman_g4@mac.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miklos@szeredi.hu \
--cc=viro@ftp.linux.org.uk \
/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®