lkml.org 
[lkml]   [2011]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@redhat.com>
GPG KeyID: CFBFF194
http://people.redhat.com/dledford



\
 
 \ /
  Last update: 2011-09-29 20:57    [W:0.176 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site