LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-29-2009, 08:04 PM   #1
willclark
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
How To Enable Private Dirty RSS Reporting


I'm running Fedora Core 9 w/ a Kernel version of 2.6.29.5-grsec-hostnoc-4.2.0-x86_64-libata.

Does anyone know how to enable Private Dirty RSS Reporting?
 
Old 11-29-2009, 08:36 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Have a look in the proc manpage for smaps - I'd be *most* surprised if this wasn't being exposed.
 
Old 11-29-2009, 09:58 PM   #3
willclark
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
I admit to being in a little over my head in this category, so I may be asking some pretty basic questions here.

The man pages say that in order for the smaps file to be generated the CONFIG_MMU must be set.

When I check /proc/config.gz, it is set to y (CONFIG_MMU=y), but there are no smaps in any of the /proc/PID directories.

Am I missing something, or is there something else I need to do?
 
Old 11-29-2009, 10:09 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
That's /proc/[pid]/smaps - i.e. a process id, not the word "PID". For an example, try "less /proc/self/smaps" - that's a special case that will always resolve to yourself. Page up and down to have a look around , then "q" (no quotes) to quit.
 
Old 11-29-2009, 10:22 PM   #5
willclark
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Right, I understand that PID/[pid] == process ID.

When I run less /proc/self/smaps (as root), it outputs:

/proc/self/smaps: No such file or directory
 
Old 11-29-2009, 10:41 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Ugh - like I said, paint me amazed. Might be because of the hardening, but I don't know why. Since smaps was merged (way back in in 2.6.14) I've never seen it not be present. But I don't run hardened either ...
 
Old 11-30-2009, 03:48 PM   #7
willclark
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for all the help!
 
  


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
[SOLVED] How to tell if volume is already dirty anon091 Linux - Newbie 4 08-20-2009 02:29 PM
LXer: Tiny Tiny RSS: A very very useful RSS reader LXer Syndicated Linux News 0 05-16-2007 02:46 AM
LXer: Expand RSS Capabilities with RSS Extensions LXer Syndicated Linux News 0 08-22-2006 10:54 AM
LXer: Keep your private documents private LXer Syndicated Linux News 0 06-07-2006 03:21 AM
Enable Private Messages for free users rverlander LQ Suggestions & Feedback 6 06-02-2002 05:34 PM

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

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