LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-01-2014, 05:17 AM   #1
ManishSharma
LQ Newbie
 
Registered: Aug 2014
Posts: 2

Rep: Reputation: Disabled
Kernel symbols missing from /proc/kallsyms (kernel 3.4.88)


/proc/kallsyms does not contain symbols like formats, sys_call_table, ia32_sys_call_table, tasklist_lock etc in Kernel 3.4.88.
In accordance, kallsyms_lookup_name() returns NULL addresses for such symbols.

Any suggestions on what could be the reason and how to work around this? Is there any particular Kernel Config responsible for this?
 
Old 08-02-2014, 01:43 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by ManishSharma View Post
/proc/kallsyms does not contain symbols like formats, sys_call_table, (..) in Kernel 3.4.88.
It does that since kernel 2.6.18 or thereabout IIRC.


Quote:
Originally Posted by ManishSharma View Post
Any suggestions on what could be the reason
This was Linus' chosen method for flushing out any applications that think they legitimately need to access (let alone modify) it.


Quote:
Originally Posted by ManishSharma View Post
Is there any particular Kernel Config responsible for this?
IIRC not.


Quote:
Originally Posted by ManishSharma View Post
and how to work around this?
The above means you shouldn't be concerned with or interested in the syscall table. If you are then you have a particular reason (that might well violate Linus' decree or clash with legality otherwise) and you know kernel structs already so you should simply get it yourself. There's examples abound on the 'net anyway.
 
Old 08-05-2014, 03:44 AM   #3
ManishSharma
LQ Newbie
 
Registered: Aug 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks unSpawn for your reply. Few more queries in case you can help..
I am able to see these symbols in 3.4.43 /proc.kallsyms! So I am wondering if some particular kernel config does this "selective" symbol hiding in 3.4.88?
And, infact kallsyms_lookup_name() is able to return address for tasklist_lock when the same is not available in 3.4.88 /proc/kallsyms!!
Also, any idea if it is OK to assume that addresses from /proc/kallsyms on a booted kernel would always be same as its System.map?
 
  


Reply



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
Exported symbols missing from /proc/kallsyms njensen Linux - Kernel 1 08-23-2012 06:02 PM
missing file??? /proc/sys/kernel/sysrq bad_gui Linux - General 4 08-18-2006 10:37 PM
missing /proc/kallsyms wangjinyi Fedora 0 10-10-2005 04:02 AM
/proc/acpi missing after upgrading to kernel 2.6.7 miguelash Slackware 12 08-11-2004 08:57 PM
/proc/net/wireless missing after kernel recompile Outabux Debian 1 07-05-2004 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:03 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