/dev/shm - tmpfs_t or device_t ?

Tom London selinux at gmail.com
Sat Aug 25 00:51:58 UTC 2007


Running latest Rawhide, targeted/enforcing.

I notice that if I run 'restorecon -v -R -n /dev' I get:
[root at localhost ~]# restorecon -v -R -n /dev
restorecon reset /dev/shm context
system_u:object_r:tmpfs_t:s0->system_u:object_r:device_t:s0
[root at localhost ~]#

but
[root at localhost ~]# ls -ldZ /dev/shm
drwxrwxrwt  root root system_u:object_r:tmpfs_t        /dev/shm
[root at localhost ~]#

Seems funny to me....  Is that right?

tom
-- 
Tom London




More information about the fedora-selinux-list mailing list