Research
Skip Research Menus
Research MenuSecurity Enhanced Linux What's New Frequently Asked Questions Background Documents License Download Participating Mail List Archives Remaining Work Contributors Related Work Press Releases Information Assurance Research NIARL In-house Research Areas Mathematical Sciences Program Sabbaticals Computer & Information Sciences Research Technology Transfer Advanced Computing Advanced Mathematics Communications & Networking Information Processing Microelectronics Other Technologies Technology Fact Sheets Publications Related Links |
SELinux Mailing ListRe: [RFC & PATCH] inherited type definition.
From: KaiGai Kohei <kaigai_at_kaigai.gr.jp>
Date: Tue, 19 Apr 2005 01:57:37 +0900
> Thanks for updating the patch. However, from the discussions on the One example is Samba, FTP and Apache combined type definition. If we try to solve this requirement with existing macros only, we have to describe the access-permit macros for each type as I said in past days. In addition, I intend to use domain inheritance for my original policy configuration only, because it's strongly opposed to merge into upstream. But it's useful for developing the application with setcon(), I think. When we intend to execute a child process in separate domain from the parent, there are some common permission such as shared-memory, and so on. It's redandant to grant same permissions for each domain, even if it's done by any macros. If parent-type is granted the common permission, we can restrain redandancy and human-errors by duplication of configuration. Sorry, above example is not real-world application like apache. But I think the definition of relationship between types is useful functionality for developing SELinux aware applications.
> b) is being demanded by people who are presently developing policy.
Since the existing policy has been written by macros yet, the quiet
requirement for type-inheritance is indeed natural.
But I think type-inheritance is useful for appropriate field
on developing new policy.
> I'm willing to be convinced otherwise, but I just haven't seen the In my understanding, template feature defines horizontal relationship of types. e.g) the relationship of staff_t, staff_home_dir_t and staff_home_t. Type inheritance defines vertical relationship of types. e.g) the relationship of samba_share_t, ftp_anon_t and those combined type. Those features provide another worth. Am I wrong ? Thanks, -- DO NOTHING IS THE WORST POLICY. KaiGai Kohei <kaigai@kaigai.gr.jp> -- This message was distributed to subscribers of the selinux mailing 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.Received on Mon 18 Apr 2005 - 13:01:30 EDT |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |