Re: FW: FW: mq_open
From: Andi Kleen
Date: Fri Aug 06 2010 - 06:30:56 EST
"Berger, Lutz (External)" <Lutz.Berger.External@xxxxxxxx> 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.
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/