On Sun, 2 Sep 2001, Paul Rolland wrote:
> For example, looking at the first one :
> Aug 29 17:58:46 www-dev kernel: avc: denied { read write } for pid=58
> exe=/bin/mount path=/etc/mtab dev=08:02 ino=166389
> Aug 29 17:58:46 www-dev kernel: scontext=system_u:system_r:mount_t
> Aug 29 17:58:46 www-dev kernel: tcontext=system_u:object_r:file_t
> Aug 29 17:58:46 www-dev kernel: tclass=file
> Aug 29 17:58:46 www-dev kernel:
>
> I've found in the source tree :
> /bin/mount: system_u:object_t:mount_exec_t
> /etc/mtab: system_u:object_r:etc_runtime_t
>
> This is different from scontext (Security (?) context) and tcontext
> (Task (?) context)....
>
> It seems I deeply missed some configs, but I can't find them. Could someone
> help me ?
Do the following:
cd setfiles rm -f relabel make relabel
This was step #14 of the README.
The scontext is the source security context, which is typically the security context of a process (but not always). The tcontext is the target security context, which can be the security context of a target process (e.g. for controlling kill) or the security context of an object (e.g. for file accesses).
-- Stephen D. Smalley, NAI Labs ssmalley@nai.com -- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.Received on Tue 4 Sep 2001 - 09:09:36 EDT
This archive was generated by hypermail 2.2.0 on Wed 11 Jun 2008 - 08:10:26 EDT