Message ID | 1447346794-30853-1-git-send-email-luis.henriques@canonical.com |
---|---|
State | New |
Headers | show |
On Thu, Nov 12, 2015 at 8:46 AM, Luis Henriques <luis.henriques@canonical.com> wrote: > This is a note to let you know that I have just added a patch titled > > security: fix typo in security_task_prctl > > to the linux-3.16.y-queue branch of the 3.16.y-ckt extended stable tree > which can be found at: > > http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.16.y-queue > > This patch is scheduled to be released in version 3.16.7-ckt20. FWIW, this patch fixes a bug in ambient capabilities, which are new in 4.3. I'm not aware of any other observable effect of this patch at all, so as far as I know, it doesn't fix an actual bug in older kernels. It's Obviously Correct (TM), but it could be safely omitted from these trees. --Andy
On Thu, Nov 12, 2015 at 09:33:59AM -0800, Andy Lutomirski wrote: > On Thu, Nov 12, 2015 at 8:46 AM, Luis Henriques > <luis.henriques@canonical.com> wrote: > > This is a note to let you know that I have just added a patch titled > > > > security: fix typo in security_task_prctl > > > > to the linux-3.16.y-queue branch of the 3.16.y-ckt extended stable tree > > which can be found at: > > > > http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.16.y-queue > > > > This patch is scheduled to be released in version 3.16.7-ckt20. > > FWIW, this patch fixes a bug in ambient capabilities, which are new in > 4.3. I'm not aware of any other observable effect of this patch at > all, so as far as I know, it doesn't fix an actual bug in older > kernels. > > It's Obviously Correct (TM), but it could be safely omitted from these trees. Great, thanks. I'll just drop the patch from the 3.16 queue. Cheers, -- Luís
diff --git a/include/linux/security.h b/include/linux/security.h index 9c6b9722ff48..9c201a9dddca 100644 --- a/include/linux/security.h +++ b/include/linux/security.h @@ -2454,7 +2454,7 @@ static inline int security_task_prctl(int option, unsigned long arg2, unsigned long arg4, unsigned long arg5) { - return cap_task_prctl(option, arg2, arg3, arg3, arg5); + return cap_task_prctl(option, arg2, arg3, arg4, arg5); } static inline void security_task_to_inode(struct task_struct *p, struct inode *inode)