Skip to contentSkip to conversation

2002050211

DISCUSSION Russell Coker 2 participants 2 messages May 10, 2002 – May 14, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

I've just uploaded Debian packages of the 2002050211 release to Debian and to my own site.

One change that I have made to the macros is the following. It has no impact on anyone using the macro (the daemon_domain macro does the same as before), but I have a need for the same macro but without any use of var_run.

Also I'm getting married tomorrow, so I won't be reading email for 2 weeks.

#######################
# daemon_base_domain(domain_prefix)
#
# Define a daemon domain with a base set of type declarations

# and permissions that are common to most daemons.
#
# Author:  Russell Coker <[email protected]>
#
define(`daemon_base_domain', `
type $1_t, domain, privlog;
type $1_exec_t, file_type, sysadmfile, exec_type;

role system_r types $1_t;

domain_auto_trans(initrc_t, $1_exec_t, $1_t)

# Inherit and use descriptors from init.
allow $1_t { init_t newrole_t }:fd use;
allow $1_t { init_t newrole_t }:process sigchld;
allow $1_t self:process signal_perms;

uses_shlib($1_t)

allow $1_t self:process fork;
allow $1_t null_device_t:chr_file rw_file_perms;
')dnl

define(daemon_domain', daemon_base_domain($1)
# Create pid file.
type var_run_$1_t, file_type, sysadmfile, pidfile; file_type_auto_trans($1_t, var_run_t, var_run_$1_t) ')dnl

Signature · 9 lines
If you send email to me or to a mailing list that I use which has >4 lines
of legalistic junk at the end then you are specifically authorizing me to do
whatever I wish with the message and all other messages from your domain, by
posting the message you agree that your long legalistic sig is void.

--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 2 lines

Also I'm getting married tomorrow, so I won't be reading email for 2 weeks.

Wish you happy life ;)

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.