LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Closed Thread
  Search this Thread
Old 09-27-2019, 12:56 PM   #1
ktalinki
LQ Newbie
 
Registered: Dec 2016
Posts: 7

Rep: Reputation: Disabled
Question 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?
 
Old 09-27-2019, 02:22 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Duplicate; reported.
 
  


Closed Thread

Tags
kernel 4.17.x, module, symbols


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
filename_lookup is not available in RHEL 8 with 4.18, whats the alternate? ktalinki Linux - General 3 09-27-2019 02:29 PM
Whats the difference between RHEL 5 Server and RHEL 5 Client? kevmcool Linux - Newbie 1 01-21-2010 03:45 PM
RHEL 3 ES vs RHEL 4 ES vs RHEL 5 ES sweetcorn Linux - Enterprise 6 11-03-2008 01:27 PM
What is the alternate RPM available with RHEL 4/5 for TripWire ZAMO Linux - Enterprise 2 07-09-2008 05:58 AM
Whats the best software available from running windows apps under linux Munix Linux - Software 2 01-30-2004 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration