[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTimOM7KDtFkU=CmXZ8J2FqekY=EjCuOdtZHQJQWT@mail.gmail.com>
Date: Fri, 28 Jan 2011 08:59:21 +1000
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Kacper Kornet <kornet@...k.edu.pl>
Cc: linux-kernel@...r.kernel.org, Jiri Slaby <jslaby@...e.cz>
Subject: Re: [PATCH] Fix prlimit64 for suid/sgid processes
On 1/27/11, Kacper Kornet <kornet@...k.edu.pl> wrote:
> Since check_prlimit_permission always fails in the case of SUID/GUID
> processes, such processes are not able to read or set their own limits.
> This commit changes this by assuming that process can always read/change
> its own limits.
Shouldn't this be fixed in check_prlimit_permissions() instead of in the caller?
Linus
--
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