ausearch / policy question
Quoted 2 lines · On Wednesday 23 July 2008 18:30:45 LC Bruzenak wrote:
2: why is ausearch producing the AVCs?
Low level is the minimum access needed to read files created by that user.If the low level of a process is lower than the file's, it's not permitted.
Quoted 6 lines
type=AVC msg=audit(07/23/2008 17:18:44.292:1622) : avc: denied { read } for pid=4033 comm=ausearch name=audit.log dev=dm-0 ino=24698 scontext=root:staff_r:staff_t:s0-s15:c0.c1023 tcontext=system_u:object_r:auditd_log_t:s15:c0.c1023 tclass=file
In the message, the level of audit.log is s15:c0.c1023, while the current process is s0. So the process can't read audit.log and AVSs are producted.
Regards
Cai Xianchao
Quoted 11 lines · Cai Xianchao
Quoted 6 lines
type=AVC msg=audit(07/23/2008 17:18:44.292:1622) : avc: denied { read } for pid=4033 comm=ausearch name=audit.log dev=dm-0 ino=24698 scontext=root:staff_r:staff_t:s0-s15:c0.c1023 tcontext=system_u:object_r:auditd_log_t:s15:c0.c1023 tclass=file
In the message, the level of audit.log is s15:c0.c1023, while the current process is s0. So the process can't read audit.log and AVSs are producted.
scontext includes sensitivity levels range s0-s15.
Doesn't that include tcontext sensitivity level s0 (same classifications)?
Thx,
LCB.
Signature · 2 lines
LC (Lenny) Bruzenak [email protected]
LC Bruzenak said the following on 2008-07-26 1:36:
Quoted 16 lines · Cai Xianchao
Quoted 10 lines
Quoted 9 lines
type=AVC msg=audit(07/23/2008 17:18:44.292:1622) : avc: denied { read } for pid=4033 comm=ausearch name=audit.log dev=dm-0 ino=24698 scontext=root:staff_r:staff_t:s0-s15:c0.c1023 tcontext=system_u:object_r:auditd_log_t:s15:c0.c1023 tclass=file
Quoted 5 lines
In the message, the level of audit.log is s15:c0.c1023, while the current process is s0. So the process can't read audit.log and AVSs are producted.
Quoted 8 lines
scontext includes sensitivity levels range s0-s15.
Doesn't that include tcontext sensitivity level s0 (same classifications)?
Thx,
LCB.
In the message, low level of tcontext is equal to high level, it is s15, not s0.
Signature · 17 lines
Regards Cai Xianchao A new email address of FJWAN is launched from Apr.1 2007. The updated address is: [email protected] -------------------------------------------------- Cai Xianchao Development Dept.I Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) 8/F., Civil Defense Building, No.189 Guangzhou Road, Nanjing, 210029, China TEL: +86+25-86630566-837 COINS: 79955-837 FAX: +86+25-83317685 Mail:[email protected] -------------------------------------------------- This communication is for use by the intended recipient(s) only and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not an intended recipient of this communication, you are hereby notified that any dissemination, distribution or copying hereof is strictly prohibited. If you have received this communication in error, please notify me by reply e-mail, permanently delete this communication from your system, and destroy any hard copies you may have printed
Quoted 4 lines · Cai Xianchao
In the message, low level of tcontext is equal to high level, it is s15, not s0.
You are correct; thank you.
LCB.
Signature · 2 lines
LC (Lenny) Bruzenak [email protected]