Re: [PATCH] capabilities: fix sys_prctl() returned uninitialized value

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Serge E. Hallyn <serue@...>
Cc: Andrew Morton <akpm@...>, <morgan@...>, <linux-security-module@...>, LKML <linux-kernel@...>, <jmorris@...>
Date: Wednesday, May 21, 2008 - 8:58 pm

Serge E. Hallyn wrote:

Ok, we noticed the comment as following in include/linux/security.h.
+ *      @rc_p contains a pointer to communicate back the forced return code
+ *     Return 0 if permission is granted, and non-zero if the security module
+ *      has taken responsibility (setting *rc_p) for the prctl call.


'i' was 1 (PR_SET_PDEATHSIG).

I will create a new patch ASAP.

Thanks.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] capabilities: fix sys_prctl() returned uninitial..., Shi Weihua, (Wed May 21, 8:58 pm)