Skip to contentSkip to conversation

policy_src_t

DISCUSSION Frank Mayer 3 participants 3 messages Jul 19, 2002 – Jul 23, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

Is the type policy_src_t being used? It doesn't appear so. We're trying to update our tools to work with the recent policy syntax changes, as well as create a policy for our tools themselves. We need to read, modify, and re-install a policy in an operational system. As previously indicated, that requires an installed policy.conf (we'll submit a proposed patch to the makefile to do this next week).

In addition, for now we also need a known location for the policy source make directory. It seems logical that this directory would also have policy_src_t. If there are no specific plans to use this type, then we'll be glad to submit a proposed use. If there are plans, we'd like to hear what they are so we can make our tools work within those plans. Thanks

Frank

--
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 7 lines · Frank Mayer

Is the type policy_src_t being used? It doesn't appear so. We're trying to update our tools to work with the recent policy syntax changes, as well as create a policy for our tools themselves. We need to read, modify, and re-install a policy in an operational system. As previously indicated, that requires an installed policy.conf (we'll submit a proposed patch to the makefile to do this next week).

Quoted 5 lines

In addition, for now we also need a known location for the policy source make directory. It seems logical that this directory would also have policy_src_t. If there are no specific plans to use this type, then we'll be glad to submit a proposed use. If there are plans, we'd like to hear what they are so we can make our tools work within those plans. Thanks

The policy/file_contexts/types.fc file specifies the policy_src_t type for /etc/selinux, /usr/lib/selinux, and /usr/share/selinux. I think that these entries are based on Russell Coker's SE-Debian package, which installs the policy sources, unlike the existing upstream SELinux.

--
Stephen D. Smalley, NAI Labs
[email protected]

--
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.

#2 lore raw
Quoted 15 lines · Stephen Smalley
Quoted 7 lines · Frank Mayer

Is the type policy_src_t being used? It doesn't appear so. We're trying to update our tools to work with the recent policy syntax changes, as well as create a policy for our tools themselves. We need to read, modify, and re-install a policy in an operational system. As previously indicated, that requires an installed policy.conf (we'll submit a proposed patch to the makefile to do this next week).

Quoted 6 lines

In addition, for now we also need a known location for the policy source make directory. It seems logical that this directory would also have policy_src_t. If there are no specific plans to use this type, then we'll be glad to submit a proposed use. If there are plans, we'd like to hear what they are so we can make our tools work within those plans. Thanks

Quoted 4 lines

The policy/file_contexts/types.fc file specifies the policy_src_t type for /etc/selinux, /usr/lib/selinux, and /usr/share/selinux. I think that these entries are based on Russell Coker's SE-Debian package, which installs the policy sources, unlike the existing upstream SELinux.

Yes, my package uses the type, but doesn't do anything exciting with it.

If you want to change the policy to allow a certain domain write access to the policy then that's an option you have. I have not felt the need to make such things into the default policy.

Signature · 3 lines
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
Quoted 1 line

From field.

--
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.