Chris PeBenito 25d796
policy_module(unprivuser, 2.1.2)
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
# this module should be named user, but that is
Chris PeBenito e9c6cd
# a compile error since user is a keyword.
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
########################################
Chris PeBenito e9c6cd
#
Chris PeBenito e9c6cd
# Declarations
Chris PeBenito e9c6cd
#
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
role user_r;
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
userdom_unpriv_user_template(user)
Chris PeBenito e9c6cd
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	apache_role(user_r, user_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Dominick Grift 941e3d
	oident_manage_user_content(user_t)
Dominick Grift 941e3d
	oident_relabel_user_content(user_t)
Dominick Grift 941e3d
')
Dominick Grift 941e3d
Dominick Grift 941e3d
optional_policy(`
Jeremy Solt c87e15
	screen_role_template(user, user_r, user_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Jeremy Solt c87e15
	xserver_role(user_r, user_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Jeremy Solt c87e15
ifndef(`distro_redhat',`
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		auth_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		bluetooth_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		cdrecord_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		cron_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		dbus_role_template(user, user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		evolution_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		games_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		gift_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		gnome_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		gpg_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		irc_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		java_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		lockdev_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		lpd_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		mozilla_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		mplayer_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		mta_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 22a287
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		postgresql_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		pyzor_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		razor_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		rssh_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
	spamassassin_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		ssh_role_template(user, user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		su_role_template(user, user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		sudo_role_template(user, user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		thunderbird_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		tvtime_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		uml_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		userhelper_role_template(user, user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		vmware_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
Jeremy Solt c87e15
	optional_policy(`
Jeremy Solt c87e15
		wireshark_role(user_r, user_t)
Jeremy Solt c87e15
	')
Chris PeBenito 296273
')