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@...>
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
-