Re: [PATCH 1/3] Keys: Pass session keyring to call_usermodehelper()

David Howells
2005-03-23T21:26:50Z

Andrew Morton <akpm@osdl.org> wrote:

> > The attached patch makes it possible to pass a session keyring through to
> > the process spawned by call_usermodehelper().
>
> hm. Seems likely to attract angry emails due to breakage of out-of-tree
> stuff. Did you consider
>
> static inline int
> call_usermodehelper(char *path, char **argv, char **envp, int wait)
> {
> return call_usermodehelper_keys(path, argv, envp, NULL, wait);
> }

No. I can do that if you want. It seems a bit excessive though.

David