|
@@ -25,8 +25,12 @@ struct linux_binprm {
|
|
|
struct mm_struct *mm;
|
|
|
unsigned long p; /* current top of mem */
|
|
|
unsigned int
|
|
|
- cred_prepared:1,/* true if creds already prepared (multiple
|
|
|
- * preps happen for interpreters) */
|
|
|
+ /*
|
|
|
+ * True after the bprm_set_creds hook has been called once
|
|
|
+ * (multiple calls can be made via prepare_binprm() for
|
|
|
+ * binfmt_script/misc).
|
|
|
+ */
|
|
|
+ called_set_creds:1,
|
|
|
cap_effective:1;/* true if has elevated effective capabilities,
|
|
|
* false if not; except for init which inherits
|
|
|
* its parent's caps anyway */
|