Skip to content
Commit ddb4a144 authored by Kees Cook's avatar Kees Cook
Browse files

exec: Rename bprm->cred_prepared to called_set_creds



The cred_prepared bprm flag has a misleading name. It has nothing to do
with the bprm_prepare_cred hook, and actually tracks if bprm_set_creds has
been called. Rename this flag and improve its comment.

Cc: David Howells <dhowells@redhat.com>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Acked-by: default avatarJohn Johansen <john.johansen@canonical.com>
Acked-by: default avatarJames Morris <james.l.morris@oracle.com>
Acked-by: default avatarPaul Moore <paul@paul-moore.com>
Acked-by: default avatarSerge Hallyn <serge@hallyn.com>
parent 520eccdf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment