]> git.ipfire.org Git - people/stevee/selinux-policy.git/log
people/stevee/selinux-policy.git
17 years agomake load target more friendly and add reload target
Chris PeBenito [Wed, 25 Oct 2006 20:38:33 +0000 (20:38 +0000)] 
make load target more friendly and add reload target

17 years agoenhanced setransd support from darrel goeddel
Chris PeBenito [Fri, 20 Oct 2006 14:44:23 +0000 (14:44 +0000)] 
enhanced setransd support from darrel goeddel

17 years ago20061018 release
Chris PeBenito [Wed, 18 Oct 2006 20:26:45 +0000 (20:26 +0000)] 
20061018 release

17 years agobump versions to release numbers
Chris PeBenito [Wed, 18 Oct 2006 19:25:27 +0000 (19:25 +0000)] 
bump versions to release numbers

17 years agofix duplicate /usr/bin/mplayer fc match for targeted
Chris PeBenito [Wed, 18 Oct 2006 17:31:14 +0000 (17:31 +0000)] 
fix duplicate /usr/bin/mplayer fc match for targeted

17 years agomake inetd optional
Chris PeBenito [Wed, 18 Oct 2006 15:49:45 +0000 (15:49 +0000)] 
make inetd optional

17 years agomerge netlabel stuff from labeled-networking branch
Chris PeBenito [Tue, 17 Oct 2006 16:58:17 +0000 (16:58 +0000)] 
merge netlabel stuff from labeled-networking branch

17 years agofix ticket #16
Chris PeBenito [Mon, 16 Oct 2006 16:51:57 +0000 (16:51 +0000)] 
fix ticket #16

17 years agogentoo integrated run_init rules in wrong build option.
Chris PeBenito [Sun, 15 Oct 2006 00:23:06 +0000 (00:23 +0000)] 
gentoo integrated run_init rules in wrong build option.

17 years agofix term_tty() associations
Chris PeBenito [Sat, 14 Oct 2006 23:32:30 +0000 (23:32 +0000)] 
fix term_tty() associations

17 years agomore realplayer entries
Chris PeBenito [Sat, 14 Oct 2006 23:31:33 +0000 (23:31 +0000)] 
more realplayer entries

17 years agogentoo testing fixes.
Chris PeBenito [Fri, 13 Oct 2006 21:44:02 +0000 (21:44 +0000)] 
gentoo testing fixes.

17 years agofix makefile to install root default contexts
Chris PeBenito [Thu, 12 Oct 2006 13:18:21 +0000 (13:18 +0000)] 
fix makefile to install root default contexts

17 years agoadd load target to Makefile.devel
Chris PeBenito [Tue, 10 Oct 2006 15:23:17 +0000 (15:23 +0000)] 
add load target to Makefile.devel

17 years agomkdir policy and file contexts dirs in make load of modular policy.
Chris PeBenito [Tue, 10 Oct 2006 15:09:59 +0000 (15:09 +0000)] 
mkdir policy and file contexts dirs in make load of modular policy.

17 years agomake optional the inetd dependency in samba
Chris PeBenito [Tue, 10 Oct 2006 13:11:58 +0000 (13:11 +0000)] 
make optional the inetd dependency in samba

17 years agochange transition from run_init to initrc to spec.
Chris PeBenito [Mon, 9 Oct 2006 18:52:19 +0000 (18:52 +0000)] 
change transition from run_init to initrc to spec.

17 years agofix some stuff that does not affect policy
Chris PeBenito [Fri, 6 Oct 2006 17:31:52 +0000 (17:31 +0000)] 
fix some stuff that does not affect policy

17 years agoapply contested part of russell's last patch
Chris PeBenito [Fri, 6 Oct 2006 13:38:49 +0000 (13:38 +0000)] 
apply contested part of russell's last patch

17 years agomore non .so lib files for acrobat
Chris PeBenito [Thu, 5 Oct 2006 20:39:25 +0000 (20:39 +0000)] 
more non .so lib files for acrobat

17 years agopatch from russell, Thu, 5 Oct 2006 22:44:49 +1000
Chris PeBenito [Thu, 5 Oct 2006 19:57:37 +0000 (19:57 +0000)] 
patch from russell, Thu, 5 Oct 2006 22:44:49 +1000
Allow unconfined processes to see unlabeled processes in ps.

Removed a redundant rule in samba.te

Removed support for the pre-Fedora Red Hat code to create sym-links in /boot.

Removed support for devpts_t files in /tmp (there is no way that would ever
work).

Allowed postgrey to create socket files.

Made the specs for the /lib and /lib64 directories better support stem
compression.

17 years ago- Move range transitions to modules.
Chris PeBenito [Wed, 4 Oct 2006 17:25:34 +0000 (17:25 +0000)] 
- Move range transitions to modules.
- Make number of MLS sensitivities, and number of MLS and MCS
  categories configurable as build options.

17 years agoThis patch adds a GConf policy to refpolicy.
Chris PeBenito [Mon, 2 Oct 2006 15:22:48 +0000 (15:22 +0000)] 
This patch adds a GConf policy to refpolicy.

This policy is much tighter than the GConf policy from the old example
policy.  It only allows gconfd to access configuration data stored by
GConf.  Users can modify configuration data using gconftool-2 or
gconf-editor, both of which use gconfd.  GConf manages multiple
configuration sources, so gconfd should be used to make any changes
anyway.  Normal users who aren't trying to directly edit the
configuration data of GConf won't notice anything different.

There is also a difference between this policy and the old example
policy in handling directories in /tmp.  The old example policy
labeled /tmp/gconfd-USER with ROLE_gconfd_tmp_t, but, since there was no
use of the file_type_auto_trans macro, if that directory was deleted
gconfd would create one labeled as tmp_t.  This policy uses the
files_tmp-filetrans macro to cause a directory in /tmp created by gconfd
to be labeled as $1_tmp_t.  It is not labeled with $1_gconf_tmp_t,
because if /tmp/orbit-USER is deleted, gconfd will create it (through
use of ORBit) and it would get the $1_gconf_tmp_t label.  By having
gconfd create $1_tmp_t directories in /tmp and $1_gconf_tmp_t files and
directories in directories labeled with $1_tmp_t, it can control its
data without requiring any future bonobo or Gnome policies to have
access to $1_gconf_tmp_t.

This patch is related to work that I am doing in making gconfd an
userspace object manager.  If any user program can modify the
configuration data that GConf stores, than making gconfd an userspace
object manager would be useless.

Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>
17 years agofix ticket #15.
Chris PeBenito [Fri, 29 Sep 2006 18:00:21 +0000 (18:00 +0000)] 
fix ticket #15.

17 years agofix corenetwork so the ifdef enable_mls survives to regular processing.
Chris PeBenito [Fri, 29 Sep 2006 17:37:57 +0000 (17:37 +0000)] 
fix corenetwork so the ifdef enable_mls survives to regular processing.

17 years agofix build error
Chris PeBenito [Fri, 29 Sep 2006 14:24:57 +0000 (14:24 +0000)] 
fix build error

17 years agopatch from dan Mon, 25 Sep 2006 15:46:40 -0400
Chris PeBenito [Thu, 28 Sep 2006 14:37:29 +0000 (14:37 +0000)] 
patch from dan Mon, 25 Sep 2006 15:46:40 -0400

17 years agopatch from dan Fri, 22 Sep 2006 16:30:34 -0400
Chris PeBenito [Mon, 25 Sep 2006 18:53:06 +0000 (18:53 +0000)] 
patch from dan Fri, 22 Sep 2006 16:30:34 -0400

17 years agopatch from dan Wed, 20 Sep 2006 12:12:49 -0400
Chris PeBenito [Fri, 22 Sep 2006 17:14:35 +0000 (17:14 +0000)] 
patch from dan Wed, 20 Sep 2006 12:12:49 -0400

17 years ago* add a macro for generating category declarations
Chris PeBenito [Thu, 21 Sep 2006 15:48:15 +0000 (15:48 +0000)] 
* add a macro for generating category declarations
* fix userdom_search_all_users_home_content() to use search_dir_perms;
* change ssh daemon macro to use userdom_search_all_users_home_dirs() instead of _home_content()

17 years agogentoo testing fixes
Chris PeBenito [Tue, 19 Sep 2006 17:02:29 +0000 (17:02 +0000)] 
gentoo testing fixes

17 years agoadd mls fd constraints
Chris PeBenito [Fri, 15 Sep 2006 19:05:03 +0000 (19:05 +0000)] 
add mls fd constraints

17 years agocommon users list inotifyfs
Chris PeBenito [Thu, 14 Sep 2006 18:19:04 +0000 (18:19 +0000)] 
common users list inotifyfs

17 years agoadd -E to python commands
Chris PeBenito [Wed, 13 Sep 2006 19:10:53 +0000 (19:10 +0000)] 
add -E to python commands

17 years agoforgot to bump policy vers
Chris PeBenito [Wed, 13 Sep 2006 18:42:49 +0000 (18:42 +0000)] 
forgot to bump policy vers

17 years agopatches from erich Wed, 13 Sep 2006 16:18:18 +0200
Chris PeBenito [Wed, 13 Sep 2006 18:35:10 +0000 (18:35 +0000)] 
patches from erich Wed, 13 Sep 2006 16:18:18 +0200

17 years agofix miscfiles_read_localization()
Chris PeBenito [Wed, 13 Sep 2006 18:08:17 +0000 (18:08 +0000)] 
fix miscfiles_read_localization()

17 years agomisc fixes
Chris PeBenito [Wed, 13 Sep 2006 14:23:04 +0000 (14:23 +0000)] 
misc fixes

17 years agoclean up usercanread
Chris PeBenito [Mon, 11 Sep 2006 18:23:09 +0000 (18:23 +0000)] 
clean up usercanread

17 years agoadd last bit of role infrastructure
Chris PeBenito [Mon, 11 Sep 2006 15:26:25 +0000 (15:26 +0000)] 
add last bit of role infrastructure

17 years agocleanups
Chris PeBenito [Fri, 8 Sep 2006 17:21:28 +0000 (17:21 +0000)] 
cleanups

17 years agoadd main part of role-o-matic
Chris PeBenito [Wed, 6 Sep 2006 22:07:25 +0000 (22:07 +0000)] 
add main part of role-o-matic

17 years agopatch from dan Tue, 05 Sep 2006 17:06:06 -0400
Chris PeBenito [Wed, 6 Sep 2006 16:36:23 +0000 (16:36 +0000)] 
patch from dan Tue, 05 Sep 2006 17:06:06 -0400

17 years agofix up usb.ids per distro
Chris PeBenito [Tue, 5 Sep 2006 14:31:27 +0000 (14:31 +0000)] 
fix up usb.ids per distro

17 years agoadd corenetwork.if dependency on corenetwork.te.in, since it is used to build the...
Chris PeBenito [Tue, 5 Sep 2006 14:29:37 +0000 (14:29 +0000)] 
add corenetwork.if dependency on corenetwork.te.in, since it is used to build the .if file

17 years agopatch from erich Sat, 02 Sep 2006 03:37:44 +0200
Chris PeBenito [Mon, 4 Sep 2006 18:22:12 +0000 (18:22 +0000)] 
patch from erich Sat, 02 Sep 2006 03:37:44 +0200

17 years agopatch from dan Fri, 01 Sep 2006 15:45:24 -0400
Chris PeBenito [Mon, 4 Sep 2006 15:15:35 +0000 (15:15 +0000)] 
patch from dan Fri, 01 Sep 2006 15:45:24 -0400

17 years agoThis patch adds a polmatch avperm to arbitrate flow/state's access to
Chris PeBenito [Fri, 1 Sep 2006 17:06:53 +0000 (17:06 +0000)] 
This patch adds a polmatch avperm to arbitrate flow/state's access to
a xfrm policy. It also defines MLS policy for association { sendto,
recvfrom, polmatch }.

NOTE: When an inbound packet is not using an IPSec SA, a check is performed
between the socket label and the unlabeled sid (SYSTEM_HIGH MLS label). For
MLS purposes however, the target of the check should be the MLS label taken
from the node sid (or secmark in the new secmark world). This would present
a severe performance overhead (to make a new sid based on the unlabeled sid
with the MLS taken from the node sid or secmark and then using this sid as
the target). Pending reconciliation of the netlabel, ipsec and iptables contexts,
I have chosen to currently make an exception for unlabeled_t SAs if TE policy
allowed it. A similar problem exists for the outbound case and it has been similarly
handled in the policy below (by making an exception for unlabeled_t).

I am submitting the below limited patch pending a comprehensive patch from
Joy Latten at IBM (latten@austin.ibm.com).

I am not sure if I needed to manually do a "make tolib" in the flask subdir
and submit the results as well. Please let me know if I needed to.

Signed-off-by: Venkat Yekkirala <vyekkirala@TrustedCS.com>
17 years agopatch from dan Thu, 31 Aug 2006 15:16:30 -0400
Chris PeBenito [Fri, 1 Sep 2006 15:52:05 +0000 (15:52 +0000)] 
patch from dan Thu, 31 Aug 2006 15:16:30 -0400

17 years agofix makefile style so internal variables are lowercase
Chris PeBenito [Thu, 31 Aug 2006 17:28:35 +0000 (17:28 +0000)] 
fix makefile style so internal variables are lowercase

17 years agopatch from dan Wed, 23 Aug 2006 14:03:49 -0400
Chris PeBenito [Tue, 29 Aug 2006 02:41:00 +0000 (02:41 +0000)] 
patch from dan Wed, 23 Aug 2006 14:03:49 -0400

17 years agomore testing fixes
Chris PeBenito [Mon, 28 Aug 2006 02:46:20 +0000 (02:46 +0000)] 
more testing fixes

17 years agoThis patch enables to use xattr on jffs2 filesystem.
Chris PeBenito [Fri, 25 Aug 2006 13:28:57 +0000 (13:28 +0000)] 
This patch enables to use xattr on jffs2 filesystem.

The jffs2 filesystem is a filesystem for memory technology
devices (MTD), and xattr supporting on jffs2 is neccesary
to use SELinux with a small diskless PDA and so on.
This facility is queued for kernel 2.6.18 now, so I hope
to merge this small patch into the refpolicy repository.

Example of xattr/jffs2: SELinux on OpenZaurus :D
  http://www.kaigai.gr.jp/pub/sezaurus.jpg

Thanks,
--
KaiGai Kohei <kaigai@kaigai.gr.jp>

17 years agofix gentoo /opt contexts
Chris PeBenito [Fri, 25 Aug 2006 13:26:21 +0000 (13:26 +0000)] 
fix gentoo /opt contexts

17 years agomore strict testing fixes
Chris PeBenito [Wed, 23 Aug 2006 19:36:04 +0000 (19:36 +0000)] 
more strict testing fixes

17 years agomore testing fixes
Chris PeBenito [Wed, 23 Aug 2006 03:47:39 +0000 (03:47 +0000)] 
more testing fixes

17 years agofix ordering bug
Chris PeBenito [Tue, 22 Aug 2006 19:56:59 +0000 (19:56 +0000)] 
fix ordering bug

17 years agoadd nscd_socket_use() to auth_use_nsswitch() since it caches nss lookups.
Chris PeBenito [Tue, 22 Aug 2006 19:37:56 +0000 (19:37 +0000)] 
add nscd_socket_use() to auth_use_nsswitch() since it caches nss lookups.

17 years agofix typo in sxid
Chris PeBenito [Mon, 21 Aug 2006 13:35:51 +0000 (13:35 +0000)] 
fix typo in sxid

17 years agotesting fixes
Chris PeBenito [Fri, 18 Aug 2006 18:20:22 +0000 (18:20 +0000)] 
testing fixes

17 years agofix for netfilter_contexts
Chris PeBenito [Fri, 18 Aug 2006 14:01:48 +0000 (14:01 +0000)] 
fix for netfilter_contexts

17 years agoclear executable bits
Chris PeBenito [Thu, 17 Aug 2006 20:42:38 +0000 (20:42 +0000)] 
clear executable bits

17 years agocleanup in authlogin
Chris PeBenito [Thu, 17 Aug 2006 15:35:14 +0000 (15:35 +0000)] 
cleanup in authlogin

17 years agofix cron_system_entry() rules
Chris PeBenito [Wed, 16 Aug 2006 13:52:18 +0000 (13:52 +0000)] 
fix cron_system_entry() rules

17 years agoremove dead selopt rules
Chris PeBenito [Tue, 15 Aug 2006 20:00:58 +0000 (20:00 +0000)] 
remove dead selopt rules

17 years agoclean up constraints
Chris PeBenito [Tue, 15 Aug 2006 15:30:08 +0000 (15:30 +0000)] 
clean up constraints

17 years agoadd variable for install, and do other helper pgm cleanup
Chris PeBenito [Tue, 8 Aug 2006 21:56:45 +0000 (21:56 +0000)] 
add variable for install, and do other helper pgm cleanup

17 years agops/ptrace dontaudit cleanup
Chris PeBenito [Tue, 8 Aug 2006 17:49:03 +0000 (17:49 +0000)] 
ps/ptrace dontaudit cleanup

17 years agofix target deps for nc
Chris PeBenito [Mon, 7 Aug 2006 17:35:30 +0000 (17:35 +0000)] 
fix target deps for nc

17 years agomissed changelog entry for nc
Chris PeBenito [Mon, 7 Aug 2006 17:25:46 +0000 (17:25 +0000)] 
missed changelog entry for nc

17 years agoadd support for netfilter_contexts
Chris PeBenito [Mon, 7 Aug 2006 17:25:09 +0000 (17:25 +0000)] 
add support for netfilter_contexts

17 years agopatch from Stefan for mrtg daemon operation.
Chris PeBenito [Mon, 7 Aug 2006 17:14:00 +0000 (17:14 +0000)] 
patch from Stefan for mrtg daemon operation.

17 years agodisplay warning if using loadkeys_domtrans() in targeted
Chris PeBenito [Thu, 3 Aug 2006 18:02:28 +0000 (18:02 +0000)] 
display warning if using loadkeys_domtrans() in targeted

17 years agoadd missing entry for dan's last patch
Chris PeBenito [Wed, 2 Aug 2006 19:56:32 +0000 (19:56 +0000)] 
add missing entry for dan's last patch

17 years agofix up mtrr interfaces. missing the file class on a few interfaces, and read and...
Chris PeBenito [Tue, 1 Aug 2006 14:43:10 +0000 (14:43 +0000)] 
fix up mtrr interfaces.  missing the file class on a few interfaces, and read and write cannot be split.

17 years agoadd authlogin interface to abstract common login program perms
Chris PeBenito [Mon, 31 Jul 2006 22:26:59 +0000 (22:26 +0000)] 
add authlogin interface to abstract common login program perms

17 years agopatch from dan Wed, 26 Jul 2006 14:42:46 -0400
Chris PeBenito [Fri, 28 Jul 2006 15:13:58 +0000 (15:13 +0000)] 
patch from dan Wed, 26 Jul 2006 14:42:46 -0400

17 years agomore ssh agent fixes
Chris PeBenito [Wed, 26 Jul 2006 21:16:45 +0000 (21:16 +0000)] 
more ssh agent fixes

17 years agoclean up most of the remaining ssh TODO
Chris PeBenito [Wed, 26 Jul 2006 20:34:09 +0000 (20:34 +0000)] 
clean up most of the remaining ssh TODO

17 years agoadd gdm Xsession fc
Chris PeBenito [Wed, 26 Jul 2006 20:33:23 +0000 (20:33 +0000)] 
add gdm Xsession fc

17 years agoremove deprecated mount_send_nfs_client_request() from stunnel
Chris PeBenito [Tue, 25 Jul 2006 22:28:47 +0000 (22:28 +0000)] 
remove deprecated mount_send_nfs_client_request() from stunnel

17 years agoadd helpers for printing warning and error messages
Chris PeBenito [Tue, 25 Jul 2006 17:27:00 +0000 (17:27 +0000)] 
add helpers for printing warning and error messages

17 years agosome cleanup in the kernel layer
Chris PeBenito [Tue, 25 Jul 2006 15:23:13 +0000 (15:23 +0000)] 
some cleanup in the kernel layer

17 years agopatch to fix escaping of . in file contexts from james athey
Chris PeBenito [Mon, 24 Jul 2006 15:43:57 +0000 (15:43 +0000)] 
patch to fix escaping of . in file contexts from james athey

17 years agoadd access to keys for unconfined
Chris PeBenito [Fri, 14 Jul 2006 13:11:42 +0000 (13:11 +0000)] 
add access to keys for unconfined

17 years agofix up audit message perms now that audit_write denials are being audited by the...
Chris PeBenito [Thu, 13 Jul 2006 17:22:08 +0000 (17:22 +0000)] 
fix up audit message perms now that audit_write denials are being audited by the kernel.

17 years agoremove setbool auditallow, except for distro_rhel4.
Chris PeBenito [Thu, 13 Jul 2006 14:22:21 +0000 (14:22 +0000)] 
remove setbool auditallow, except for distro_rhel4.

17 years agoremove extra level of directory
Chris PeBenito [Wed, 12 Jul 2006 20:33:09 +0000 (20:33 +0000)] 
remove extra level of directory

17 years agoremove extra level of directory
Chris PeBenito [Wed, 12 Jul 2006 20:32:27 +0000 (20:32 +0000)] 
remove extra level of directory

17 years agomissing tcp connect for http cache
Chris PeBenito [Wed, 12 Jul 2006 13:17:24 +0000 (13:17 +0000)] 
missing tcp connect for http cache

17 years agoadd 3rd party interface for transition out of unconfined
Chris PeBenito [Mon, 10 Jul 2006 13:31:28 +0000 (13:31 +0000)] 
add 3rd party interface for transition out of unconfined

17 years agoadd audit_write and a little style cleanup.
Chris PeBenito [Fri, 7 Jul 2006 14:51:08 +0000 (14:51 +0000)] 
add audit_write and a little style cleanup.

17 years agomove non-policy dirs out of trunk
Chris PeBenito [Thu, 6 Jul 2006 17:35:17 +0000 (17:35 +0000)] 
move non-policy dirs out of trunk

17 years agochange to use validate target for module linking
Chris PeBenito [Thu, 6 Jul 2006 17:16:21 +0000 (17:16 +0000)] 
change to use validate target for module linking

17 years agomore TODO cleanup
Chris PeBenito [Thu, 6 Jul 2006 17:00:29 +0000 (17:00 +0000)] 
more TODO cleanup

17 years agoadd vgetty log fc
Chris PeBenito [Thu, 6 Jul 2006 14:52:04 +0000 (14:52 +0000)] 
add vgetty log fc

17 years agoa few TODO fixes, and deprecate mount_send_nfs_client_request().
Chris PeBenito [Wed, 5 Jul 2006 19:15:23 +0000 (19:15 +0000)] 
a few TODO fixes, and deprecate mount_send_nfs_client_request().

17 years agomake mta dep optional
Chris PeBenito [Mon, 3 Jul 2006 18:26:26 +0000 (18:26 +0000)] 
make mta dep optional

17 years agoadd support for toolchain testing
Chris PeBenito [Mon, 3 Jul 2006 18:03:16 +0000 (18:03 +0000)] 
add support for toolchain testing

17 years agofix initrc_context for targeted
Chris PeBenito [Mon, 3 Jul 2006 14:09:46 +0000 (14:09 +0000)] 
fix initrc_context for targeted