]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit97f9fa284993753e4b70124a29efd30765fadd76
tree8abf324e8c8621d82774bb92a981a0629ae77944
parentea5ab2937d451b6c196b44d19d04247e9210e131
[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