On 09/24/2018 02:04 PM, David Howells wrote:
> 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
> 

Can I pass in NULL or is some sort of cred is necessary?
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to