[PATCH] Make POSIX message queue sys_mq_open() honor umask
authorKrzysztof Benedyczak <golbi@mat.uni.torun.pl>
Tue, 27 Sep 2005 20:21:36 +0000 (22:21 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 27 Sep 2005 20:30:45 +0000 (13:30 -0700)
commit59175839783287d3b03f18460bb3539c69300837
tree8abf324e8c8621d82774bb92a981a0629ae77944
parent5c1f4cac6ff75a4a602bae960a054ed3df7e9765
[PATCH] Make POSIX message queue sys_mq_open() honor umask

We ignored umask when creating new queues via mq_open (when creating
with open() on mqueue fs it is ok of course).  According to the
specification this a bug.  This trivial patch fixes this.

Signed-off-by: Krzysztof Benedyczak <golbi@mat.uni.torun.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
ipc/mqueue.c