SE Linux and /proc files
At an extreme security level, users can't see processes running in other roles. At a low security level, they can.
How about a middle ground? I've been thinking of adding a new /proc file containing some basic data for procps. It wouldn't have EIP, ESP, WCHAN, and a few others that are quite revealing to an attacker. A list of items that would be enough for basic procps functionality is:
class - scheduling class cmd - COMMAND, w/o args cstime - CPU time cutime - CPU time
euid
nice
nlwp - num threads
pcpu - %CPU (once implemented)
pgrp
ppid
priority
processor
resident
rtprio
ruid
sched - RT scheduling class
session
share - memory info
sizestart_time
state
stime - CPU time
tgid
tid
tpgid
tty
utime - CPU timevm_lock - locked mem (just need yes/no)vm_rssvm_size
Might this be useful?
Anything on that list more troublesome than cmd?
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.