All of lore.kernel.org
 help / color / mirror / Atom feed
* audit bug in fd handling
@ 2002-07-10  7:45 Russell Coker
  2002-07-10 11:55 ` Stephen Smalley
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Russell Coker @ 2002-07-10  7:45 UTC (permalink / raw)
  To: SE Linux

It seems that when a file handle open read/write is inherited by a domain 
that is permitted read access only, an error about write access will be 
logged - even if there is a dontaudit rule!

Here's the dmesg log:
avc:  denied  { write } for  pid=4731 exe=/usr/sbin/sendmail 
path=/spool/fcron/fcrjob-Ldo3Uf (deleted) dev=03:08 ino=27923 
scontext=system_u:system_r:system_mail_t 
tcontext=system_u:object_r:system_crond_tmp_t tclass=file

Here's a grep from policy.conf:
dontaudit system_mail_t system_crond_tmp_t:file write;


Incidentally I'm changing the way mail sending operates.  Having daemons send 
mail as sysadm_mail_t is ugly, and having them send mail as user_mail_t is 
wrong.  I've created a new system_mail_t for this.

-- 
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

--
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.

^ permalink raw reply	[flat|nested] 24+ messages in thread
* booting problem
@ 2003-07-17  0:52 于婧
  0 siblings, 0 replies; 24+ messages in thread
From: 于婧 @ 2003-07-17  0:52 UTC (permalink / raw)
  To: linuxppc-embedded


I'm porting hardhat linux v2.1 on my motorola lopec mpc7410 board with a
zynx zx212 dual-port ethernet card on it.The problem is that the kernel
can't start up with the ethernet card on,while without it everything is
perfect.Since zx212 is compatible with 21143,I build the kernel with
the "tulip" option on.It should be no problem,but it happened. It halts
after "now booting the kernel".
Does anybody have the same problem?

Best Regard
Yu

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Booting Problem
@ 2003-08-13 15:52 Ronaldo Zacarias Afonso
  0 siblings, 0 replies; 24+ messages in thread
From: Ronaldo Zacarias Afonso @ 2003-08-13 15:52 UTC (permalink / raw)
  To: linux-admin

  I just compiled a new kernel and when I try to boot it the following
message apears on my screen:

Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7>
Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 01a5d000, %cr3 = 01a5d000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<00000000>]
EFLAGS: 00010246
eax: 00000000 ebx: c2045260 ecx: c1ddbfe0 edx: c2045260
esi: c0e1f5dc edi: 00000000 ebp: 00000000 esp: c1a5fe00
ds: 0018 es: 0018 ss: 0018
Process rpc.lockd (pid: 340, process nr: 12, stackpage=c1a5f000)
Stack: c0e1f5dc 00000000 c015f38f c0e1f5dc 00000000 c0dc1000 c28181e9
c0e1f5dcc0dc1000 c2819d16 c0dc1000 c0e6cd90 c2817274 c0dc1000 c0e6cd90 c28172eb
c0e6cd90 c1a5fe78 c281a9a7 c0e6cd90 c1a5fe78 c28174d1 c1a5fe78 00000000
Call Trace: [] [] [] [] [] [] []
[] [] [] [] [] [] [] []
[] [] [] []
Code: 8a 04 0b 89 44 24 38 50 68 f0 5e 1b c0 e8 55 9b 00 00 83 c4


  Can anyone help me?



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2003-08-13 15:52 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-10  7:45 audit bug in fd handling Russell Coker
2002-07-10 11:55 ` Stephen Smalley
2002-07-10 13:12 ` Stephen Smalley
2002-07-10 13:23 ` Ed Street
2002-07-10 14:40   ` Russell Coker
2002-07-11 16:13     ` sysadm_tty_device_t Ed Street
2002-07-11 17:21       ` sysadm_tty_device_t Stephen Smalley
2002-07-11 17:24         ` sysadm_tty_device_t Ed Street
2002-07-11 17:39           ` sysadm_tty_device_t Stephen Smalley
2002-07-11 17:54             ` sysadm_tty_device_t Ed Street
2002-07-11 18:19               ` sysadm_tty_device_t Stephen Smalley
2002-07-11 18:24                 ` sysadm_tty_device_t Ed Street
2002-07-11 18:35                   ` sysadm_tty_device_t Stephen Smalley
2002-07-11 17:55             ` sysadm_tty_device_t Ed Street
2002-07-11 19:55             ` sysadm_tty_device_t Timothy Wood
2002-07-11 19:53               ` sysadm_tty_device_t Ed Street
2002-07-11 20:07                 ` sysadm_tty_device_t Stephen Smalley
2002-07-11 20:12                 ` sysadm_tty_device_t Timothy Wood
2002-07-11 20:05               ` sysadm_tty_device_t Stephen Smalley
2002-07-19 21:27             ` booting problem Charles R. Fuller
2002-07-22 11:59               ` Stephen Smalley
2002-07-11 18:28       ` sysadm_tty_device_t Timothy Wood
2003-07-17  0:52 booting problem 于婧
2003-08-13 15:52 Booting Problem Ronaldo Zacarias Afonso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.