[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f27ffef8-9ec1-4254-bb26-1f2fdf4366c7@zmail05.collab.prod.int.phx2.redhat.com>
Date: Thu, 29 Sep 2011 14:51:51 -0400 (EDT)
From: Doug Ledford <dledford@...hat.com>
To: Greg KH <gregkh@...e.de>
Cc: stable-review@...nel.org, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org, alan@...rguk.ukuu.org.uk,
Jiri Slaby <jslaby@...e.cz>,
Manfred Spraul <manfred@...orfullife.com>,
linux-kernel@...r.kernel.org, stable@...nel.org
Subject: Re: [159/244] ipc/mqueue.c: fix mq_open() return value
----- Original Message -----
> Um, that's the way this patch is upstream, right? So perhaps it
> should
> be fixed there first and then I can take the fix into -stable?
Upstream is a bit of a fuzzy statement ;-) It might be in -next, but it's not in Linus' tree or Andrew's -mm tree or else my recent patches would have conflicted. And in fact, upon further reflection, I think maybe that particular test could use being split into two distinct tests. One for wrapping the byte counter, which would return -ENOMEM, and one for exceeding RLIMIT_MSGQUEUE which would return -EPERM (not sure if that's right, I would have to poke around elsewhere, but it seems a better response when you are violating a ulimit than nomem to me anyway).
--
Doug Ledford <dledford@...hat.com>
GPG KeyID: CFBFF194
http://people.redhat.com/dledford
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists