ipc-mq-do-not-validate-queue-attributes-default-ceiling-value-if-the-user-passed-attr==null.patch removed from -mm tree
Subject: [nacked] ipc-mq-do-not-validate-queue-attributes-default-ceiling-value-if-the-user-passed-attr==null.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
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.patchThis patch was dropped because it was nacked
------------------------------------------------------
From: Sasikantha Babu <[email protected]>
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.
---
ipc/mqueue.c | 10 ---------- 1 file changed, 10 deletions(-)
ipc/mqueue.c renamed from ipc/mqueue.c~ipc-mq-do-not-validate-queue-attributes-default-ceiling-value-if-the-user-passed-attr==null +0 -2
@@ -741,16 +741,6 @@ static struct file *do_create(struct ipcreturn ERR_PTR (ret);/* store for use during create */ path->dentry->d_fsdata = attr; - }else { -struct mq_attr def_attr;