All of lore.kernel.org
 help / color / mirror / Atom feed
[parent not found: <20020717025148.GA25379@snoopy.apana.org.au>]
* SeLinux Question
@ 2001-02-12 18:58 Westerman, Mark
  2001-02-12 14:40 ` Jen Salois
  2001-02-12 19:13 ` Stephen Smalley
  0 siblings, 2 replies; 12+ messages in thread
From: Westerman, Mark @ 2001-02-12 18:58 UTC (permalink / raw)
  To: selinux

To all,

I have been try to get selinux running on a Redhat 7 box. I have the
kernel running in debug mode and i am try to get rid of the denied messages

I am work on the /sbin/hwclock program.

Thanks
Mark Westerman
mark.westerman@csoconline.com



Here are the rules


file:   domains/system/hwclock.te
#################################
#
# Rules for the hwclock_t domain.
#
type hwclock_t, domain, privlog;
type hwclock_exec_t, file_type, sysadmfile, exec_type;

# Use capabilities.
allow hwclock_t self:capability { sys_admin };

# Inherit and use descriptors from init.
#allow hwclock_t init_t:fd inherit_fd_perms;

# Use a pipe created by initrc_t.
#allow hwclock_t initrc_t:pipe rw_file_perms;

# Read and write ttys.
allow hwclock_t tty_device_t:chr_file rw_file_perms;


file: domains/system/initrc.te

domain_auto_trans(initrc_t, hwclock_exec_t, hwclock_t)


file:  file_context
/sbin/hwclock                   system_u:object_r:hwclock_exec_t


ls --scontext /sbin/hwclock

system_u:object_r:hwclock_exec_t /sbin/hwclock


file: /var/log/messages

security_compute_sid:  invalid context system_u:system_r:hwclock_t 
        for scontext=system_u:system_r:initrc_t 
              tcontext=system_u:object_r:hwclock_exec_t tclass=process


--
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] 12+ messages in thread

end of thread, other threads:[~2014-02-05 16:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CA+55aFyaBZsF7u+Ka=0PRXQyF-vPyejgysoLsPAZdyf6Qn1KdA@mail.gmail.com>
     [not found] ` <52F17412.3010105@schaufler-ca.com>
     [not found]   ` <CACLa4pvZXRBSOXGnvcfnMWc-ZxcFwZQDjy7gfSDKWCeXiNCJxQ@mail.gmail.com>
2014-02-05 14:09     ` SELinux question Stephen Smalley
2014-02-05 14:41       ` Victor Porton
2014-02-05 14:47         ` Stephen Smalley
2014-02-05 16:41     ` Paul Moore
     [not found] <20020717025148.GA25379@snoopy.apana.org.au>
2002-07-23 13:19 ` selinux question Russell Coker
2002-07-23 14:03   ` Stephen Smalley
2002-07-23 15:05     ` Russell Coker
2002-07-24  0:25   ` Brian May
2002-07-24  0:32     ` Russell Coker
2001-02-12 18:58 SeLinux Question Westerman, Mark
2001-02-12 14:40 ` Jen Salois
2001-02-12 19:13 ` Stephen Smalley

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.