From: Andi Kleen <andi@firstfloor.org>
To: "Berger\, Lutz \(External\)" <Lutz.Berger.External@eads.com>
Cc: <linux-kernel@vger.kernel.org>, "Denninghoff\,
Sven Dr. \(External\)" <Sven.Denninghoff.External@eads.com>,
"Maehner\,
Herbert \(External\)" <Herbert.Maehner.External@eads.com>
Subject: Re: FW: FW: mq_open
Date: Fri, 06 Aug 2010 12:30:34 +0200 [thread overview]
Message-ID: <87k4o4c9th.fsf@basil.nowhere.org> (raw)
In-Reply-To: <3388F73401504041BD8F7132BAE2C7D41F0812@GSX201B.mxchg.m.corp> (Lutz Berger's message of "Fri, 6 Aug 2010 07:42:15 +0200")
"Berger, Lutz (External)" <Lutz.Berger.External@eads.com> writes:
>
> Hello gentleman,
>
> we have a problem with
> mq_open, shm_open and sem_open
>
> As stated in the manpage of "open(2)", the
> permissions of the created file are (mode & ~umask).
>
> But what is the use of the mode parameter, it it is not used like the programmers intention?
> On HP Unix or TRU64 the mode parameter is not modified.
>
> Could you please check, if this is a bug or a faulty system design on linux?
Whatever it is -- it would be dangerous to change because suddenly
ignoring umask could add security problems to existing software.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
prev parent reply other threads:[~2010-08-06 10:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-06 5:42 FW: FW: mq_open Berger, Lutz (External)
2010-08-06 10:30 ` Andi Kleen [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=87k4o4c9th.fsf@basil.nowhere.org \
--to=andi@firstfloor.org \
--cc=Herbert.Maehner.External@eads.com \
--cc=Lutz.Berger.External@eads.com \
--cc=Sven.Denninghoff.External@eads.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox