Skip to contentSkip to conversation

awstats

refpolicy Stefan Schulze Frielinghaus 1 participant 2 messages Aug 12, 2007 1 message not in the archive SELinux security module

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 6FE441CD9F0C0C479F2D88F959B01588EDE93E@exchange.columbia.tresys.com

#2 lore raw

Thanks for the advice. Attached is a new/corrected policy.

Quoted 34 lines · Brian M. Williams

A few notes:

gen_require(`

	type proc_t;

')
dontaudit awstats_t proc_t:file { getattr read };

can be done with:
kernel_dontaudit_read_system_state(awstats_t)

allow httpd_awstats_script_t crond_t:fd use;
allow httpd_awstats_script_t crond_t:fifo_file { ioctl read };

can be done with:
cron_use_fds(httpd_awstats_script_t)
cron_read_pipes(httpd_awstats_script_t)

Also the dontaudit search of sbin can be removed as bin and sbin are now the same thing type wise. If you want this for backwards compatability use the corecmd_dontaudit_search_sbin() interface.

Quoted 2 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]

On Behalf Of Stefan Schulze

Quoted 7 lines

Frielinghaus
Sent: Sunday, August 12, 2007 5:34 AM
To: Christopher J. PeBenito
Cc: SELinux List
Subject: [refpolicy] awstats

Attached is a new policy for awstats