Messages in this thread Patch in this message | | | Subject | [RFC PATCH 4/5] KEYS - rename call_usermodehelper_keys() flags parameter | From | Ian Kent <> | Date | Wed, 14 Jan 2015 17:32:49 +0800 |
| |
The wait parameter of call_usermodehelper_keys() will later be used to request exec within a namespace.
So change its name to flags.
Signed-off-by: Ian Kent <ikent@redhat.com> Cc: Benjamin Coddington <bcodding@redhat.com> Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: J. Bruce Fields <bfields@fieldses.org> Cc: David Howells <dhowells@redhat.com> Cc: Trond Myklebust <trond.myklebust@primarydata.com> Cc: Oleg Nesterov <onestero@redhat.com> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Jeff Layton <jeff.layton@primarydata.com> --- security/keys/request_key.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/security/keys/request_key.c b/security/keys/request_key.c index 0c7aea4..9e79bbf 100644 --- a/security/keys/request_key.c +++ b/security/keys/request_key.c @@ -73,7 +73,7 @@ static void umh_keys_cleanup(struct subprocess_info *info) * Call a usermode helper with a specific session keyring. */ static int call_usermodehelper_keys(char *path, char **argv, char **envp, - struct key *session_keyring, int wait) + struct key *session_keyring, int flags) { struct subprocess_info *info; @@ -84,7 +84,7 @@ static int call_usermodehelper_keys(char *path, char **argv, char **envp, return -ENOMEM; key_get(session_keyring); - return call_usermodehelper_exec(info, wait); + return call_usermodehelper_exec(info, flags); } /*
| |