All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 0/7] selinux: return proper error codes instead of -1
@ 2010-06-07 20:59 Dan Carpenter
  0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2010-06-07 20:59 UTC (permalink / raw)
  To: kernel-janitors

This is a janitor patch to fix some error codes in selinux.  -1 is
-EPERM and it's not a good default error code to return.  Also there was
one place which translated the -1 returns into -EINVAL and that is sort
of messy.

This probably doesn't affect anyone.  I was just reading the code and
decided to fix it.  This is for the next merge window obviously.

regards,
dan carpenter

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-07 20:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-07 20:59 [patch 0/7] selinux: return proper error codes instead of -1 Dan Carpenter

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.