Dan Williams <[email protected]> wrote:

> I think you want to use prepare_kernel_cred(), not export init_cred.

That only works if the searching is done with the creds generated by
prepare_kernel_cred().  He probably does want init_cred, or at least
current_cred() if module loading overrides the creds with init_cred whilst
initialising the module.

David
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to