filename_lookup is not available in RHEL 8 with 4.18, whats the alternate?
Our kernel module has been using filename_lookup API, which is not found in RHEL8 with kernel 4.18 (symbol not found in /proc/kallsyms).
What is the alternative API/call I can use in place of filename_lookup().
I noticed kern_path() symbol available in /proc/kallsyms, it returns struct path *, but not struct nameidata.
Our code is heavily dependent on the struct nameidata and I am not able to find any good way to build struct nameidata from struct path.
What is the best approach for this situation?
|