* [nacked] ipc-mq-do-not-validate-queue-attributes-default-ceiling-value-if-the-user-passed-attr==null.patch removed from -mm tree
@ 2013-08-15 20:02 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2013-08-15 20:02 UTC (permalink / raw)
To: mm-commits, vdavydov, manfred, jlayton, dledford, sasikanth.v19
Subject: [nacked] ipc-mq-do-not-validate-queue-attributes-default-ceiling-value-if-the-user-passed-attr==null.patch removed from -mm tree
To: sasikanth.v19@gmail.com,dledford@redhat.com,jlayton@redhat.com,manfred@colorfullife.com,vdavydov@parallels.com,mm-commits@vger.kernel.org
From: akpm@linux-foundation.org
Date: Thu, 15 Aug 2013 13:02:52 -0700
The patch titled
Subject: ipc/mq: do not validate queue attributes default/ceiling value if the user passed attr==NULL
has been removed from the -mm tree. Its filename was
ipc-mq-do-not-validate-queue-attributes-default-ceiling-value-if-the-user-passed-attr==null.patch
This patch was dropped because it was nacked
------------------------------------------------------
From: Sasikantha Babu <sasikanth.v19@gmail.com>
Subject: ipc/mq: do not validate queue attributes default/ceiling value if the user passed attr==NULL
The kernel should not validate queue attributes default/ceiling value
while creating a mqueue, if user passed attr as NULL. Otherwise in the
worst case if the validation fails then sys_mq_open returns
-EINVAL/-EOVERFLOW which will leave the user clueless about the reason for
the failure.
Signed-off-by: Sasikantha Babu <sasikanth.v19@gmail.com>
Cc: Jeff Layton <jlayton@redhat.com>
Cc: Vladimir Davydov <vdavydov@parallels.com>
Cc: Sasikantha Babu <sasikanth.v19@gmail.com>
Cc: Doug Ledford <dledford@redhat.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
ipc/mqueue.c | 10 ----------
1 file changed, 10 deletions(-)
diff -puN ipc/mqueue.c~ipc-mq-do-not-validate-queue-attributes-default-ceiling-value-if-the-user-passed-attr==null ipc/mqueue.c
--- a/ipc/mqueue.c~ipc-mq-do-not-validate-queue-attributes-default-ceiling-value-if-the-user-passed-attr==null
+++ a/ipc/mqueue.c
@@ -741,16 +741,6 @@ static struct file *do_create(struct ipc
return ERR_PTR(ret);
/* store for use during create */
path->dentry->d_fsdata = attr;
- } else {
- struct mq_attr def_attr;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-08-15 20:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-15 20:02 [nacked] ipc-mq-do-not-validate-queue-attributes-default-ceiling-value-if-the-user-passed-attr==null.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.