Re: [PATCH 1/1] file capabilities: clear caps cleanup

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Serge E. Hallyn <serue@...>
Cc: Andrew Morgan <morgan@...>, Chris Wright <chrisw@...>, Andrew Morgan <agm@...>, <casey@...>, Andrew Morton <akpm@...>, Stephen Smalley <sds@...>, KaiGai Kohei <kaigai@...>, James Morris <jmorris@...>, <linux-security-module@...>, lkml <linux-kernel@...>, Steve Beattie <sbeattie@...>
Date: Wednesday, July 11, 2007 - 5:46 pm

> +static inline void bprm_clear_caps(struct linux_binprm *bprm)

While there, can you clean that bit up a touch?

	cap_clear(bprm->cap_inheritable);
	cap_clear(bprm->cap_permitted);
	cap_clear(bprm->cap_effective);

thanks,
-chris
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/1] file capabilities: clear caps cleanup, Serge E. Hallyn, (Wed Jul 11, 10:18 am)
Re: [PATCH 1/1] file capabilities: clear caps cleanup, Chris Wright, (Wed Jul 11, 5:46 pm)
Re: [PATCH 1/1] file capabilities: clear caps cleanup, Andrew Morgan, (Wed Jul 11, 12:12 pm)
Re: [PATCH 1/1] file capabilities: clear caps cleanup, James Morris, (Wed Jul 11, 10:39 am)