Commit Graph

841 Commits

Author SHA1 Message Date
Daniel J Walsh
485d2dcb05 * Mon Feb 21 2005 Dan Walsh <dwalsh@redhat.com> 1.21.18-2
- Apply Uli patch
	* The Makefiles should use the -Wall option even if compiled in beehive
	* Add -W, too
	* use -Werror when used outside of beehive.  This could also be used unconditionally
	* setfiles/setfiles.c: fix resulting warning
	* restorecon/restorecon.c: Likewise
	* run_init/open_init_pty.c: argc hasn't been checked, the program would crash if
called without parameters.  ignore the return value of nice properly.
	* run_init: don't link with -ldl lutil
	* load_policy: that's the bad bug.  pointer to unsigned int is passed, size_t is
written to.  fails on 64-bit archs
	* sestatus: signed vs unsigned problem
	* newrole: don't link with -ldl
2005-02-21 14:28:25 +00:00
Daniel J Walsh
9cde60440f * Sat Feb 19 2005 Dan Walsh <dwalsh@redhat.com> 1.21.18-1
- Update to latest from NSA
	* Changed load_policy to fall back to the original policy upon
	  an error from sepol_genusers().
2005-02-19 13:19:21 +00:00
Daniel J Walsh
86ff526165 * Thu Feb 17 2005 Dan Walsh <dwalsh@redhat.com> 1.21.17-2
- Only restorecon on ext[23], reiser and xfs
2005-02-18 00:39:08 +00:00
Daniel J Walsh
f3e86ad067 * Thu Feb 17 2005 Dan Walsh <dwalsh@redhat.com> 1.21.17-1
- Update to latest from NSA
	* Merged new genhomedircon script from Dan Walsh.
	* Changed load_policy to call sepol_genusers().
2005-02-17 23:12:06 +00:00
Daniel J Walsh
a5df24477e * Fri Feb 11 2005 Dan Walsh <dwalsh@redhat.com> 1.21.15-8
- Fix genhomedircon regular expression
- Fix exclude in restorecon
2005-02-11 21:54:08 +00:00
Daniel J Walsh
b26d374a91 * Fri Feb 11 2005 Dan Walsh <dwalsh@redhat.com> 1.21.15-7
- Fix genhomedircon regular expression
2005-02-11 20:13:36 +00:00
Daniel J Walsh
5e0b9272b3 * Fri Feb 11 2005 Dan Walsh <dwalsh@redhat.com> 1.21.15-6
- Fix genhomedircon regular expression
2005-02-11 13:31:34 +00:00
Daniel J Walsh
7500758a95 * Thu Feb 10 2005 Dan Walsh <dwalsh@redhat.com> 1.21.15-5
- Trap failure on write
- Rewrite genhomedircon to generate file_context.homedirs
- several passes
2005-02-11 05:56:10 +00:00
Daniel J Walsh
93d1c9d780 * Thu Feb 10 2005 Dan Walsh <dwalsh@redhat.com> 1.21.15-4
- Trap failure on write
- Rewrite genhomedircon to generate file_context.homedirs
2005-02-11 01:43:49 +00:00
Daniel J Walsh
95b00893e6 * Thu Feb 10 2005 Dan Walsh <dwalsh@redhat.com> 1.21.15-3
- Trap failure on write
- Rewrite genhomedircon to generate file_context.homedirs
2005-02-10 23:57:43 +00:00
Daniel J Walsh
7379f2cf6b * Thu Feb 10 2005 Dan Walsh <dwalsh@redhat.com> 1.21.15-2
- Rewrite genhomedircon to generate file_context.homedirs
2005-02-10 22:13:36 +00:00
Daniel J Walsh
cd9a16b315 * Thu Feb 10 2005 Dan Walsh <dwalsh@redhat.com> 1.21.15-1
- Update from NSA
	* Changed relabel Makefile target to use restorecon.
2005-02-10 13:45:56 +00:00
Daniel J Walsh
103aa47c05 * Wed Feb 9 2005 Dan Walsh <dwalsh@redhat.com> 1.21.14-1
- Update from NSA
	* Merged restorecon patch from Dan Walsh.
2005-02-09 15:07:08 +00:00
Daniel J Walsh
41f522a921 * Tue Feb 8 2005 Dan Walsh <dwalsh@redhat.com> 1.21.13-1
- Update from NSA
	* Merged further change to fixfiles -C from Dan Walsh.
	* Merged updated fixfiles script from Dan Walsh.
- Fix error handling of restorecon
2005-02-08 18:33:19 +00:00
Daniel J Walsh
9ebf8c976d * Mon Feb 7 2005 Dan Walsh <dwalsh@redhat.com> 1.21.12-2
- Fix sestatus for longer booleans
2005-02-07 18:58:47 +00:00
Daniel J Walsh
af48e39952 * Wed Feb 2 2005 Dan Walsh <dwalsh@redhat.com> 1.21.12-1
- More cleanup of fixfiles sed patch
	* Merged further patches for restorecon/setfiles -e and fixfiles -C.
2005-02-02 22:25:03 +00:00
Daniel J Walsh
859013f3be * Wed Feb 2 2005 Dan Walsh <dwalsh@redhat.com> 1.21.10-2
- More cleanup of fixfiles sed patch
2005-02-02 18:38:51 +00:00
Daniel J Walsh
41933ac0b5 * Wed Feb 2 2005 Dan Walsh <dwalsh@redhat.com> 1.21.10-2
- More cleanup of fixfiles sed patch
2005-02-02 17:58:48 +00:00
Daniel J Walsh
829c705f9c * Fri Jan 28 2005 Dan Walsh <dwalsh@redhat.com> 1.21.10-1
- More cleanup of fixfiles sed patch
- Upgrade to latest from NSA
	* Merged patch for open_init_pty from Manoj Srivastava.
2005-02-02 13:56:22 +00:00
Daniel J Walsh
5823eec412 * Fri Jan 28 2005 Dan Walsh <dwalsh@redhat.com> 1.21.9-1
- More cleanup of sed patch
- Upgrade to latest from NSA
	* Merged updated fixfiles script from Dan Walsh.
	* Merged updated man page for fixfiles from Dan Walsh and re-added unzipped.
	* Reverted fixfiles patch for file_contexts.local;
	  obsoleted by setfiles rewrite.
	* Merged error handling patch for restorecon from Dan Walsh.
	* Merged semi raw mode for open_init_pty helper from Manoj Srivastava.
	* Rewrote setfiles to use matchpathcon and the new interfaces
	  exported by libselinux (>= 1.21.5).
2005-01-31 19:04:21 +00:00
Daniel J Walsh
91c40446f1 * Fri Jan 28 2005 Dan Walsh <dwalsh@redhat.com> 1.21.7-3
- Fix fixfiles patch
- Upgrade to latest from NSA
	* Prevent overflow of spec array in setfiles.
- Add diff comparason between file_contexts to fixfiles
- Allow restorecon to give an warning on file not found instead of exiting
2005-01-28 21:07:49 +00:00
Daniel J Walsh
aba4d96b05 * Fri Jan 28 2005 Dan Walsh <dwalsh@redhat.com> 1.21.7-2
- Fix fixfiles patch
- Upgrade to latest from NSA
	* Prevent overflow of spec array in setfiles.
- Add diff comparason between file_contexts to fixfiles
- Allow restorecon to give an warning on file not found instead of exiting
2005-01-28 20:43:44 +00:00
Daniel J Walsh
a74df22263 * Fri Jan 28 2005 Dan Walsh <dwalsh@redhat.com> 1.21.7-1
- Upgrade to latest from NSA
	* Prevent overflow of spec array in setfiles.
- Add diff comparason between file_contexts to fixfiles
- Allow restorecon to give an warning on file not found instead of exiting
2005-01-28 16:50:29 +00:00
Daniel J Walsh
f22a263f26 * Fri Jan 28 2005 Dan Walsh <dwalsh@redhat.com> 1.21.7-1
- Upgrade to latest from NSA
	* Prevent overflow of spec array in setfiles.
- Add diff comparason between file_contexts to fixfiles
- Allow restorecon to give an warning on file not found instead of exiting
2005-01-28 16:21:25 +00:00
Daniel J Walsh
f5df4d17e9 * Thu Jan 27 2005 Dan Walsh <dwalsh@redhat.com> 1.21.5-1
- Upgrade to latest from NSA
	* Merged newrole -l support from Darrel Goeddel (TCS).
- Fix genhomedircon STARTING_UID
2005-01-27 15:07:13 +00:00
Daniel J Walsh
ba982e52e7 * Wed Jan 26 2005 Dan Walsh <dwalsh@redhat.com> 1.21.4-1
- Upgrade to latest from NSA
	* Merged fixfiles patch for file_contexts.local from Dan Walsh.
2005-01-26 16:33:56 +00:00
Daniel J Walsh
83027e5586 * Fri Jan 20 2005 Dan Walsh <dwalsh@redhat.com> 1.21.3-2
- Temp file needs to be created in /etc/selinux/POLICYTYPE/contexts/files/ directory.
2005-01-24 17:39:30 +00:00
Daniel J Walsh
602612a004 * Fri Jan 20 2005 Dan Walsh <dwalsh@redhat.com> 1.21.3-1
- Upgrade to latest from NSA
	* Fixed restorecon to not treat errors from is_context_customizable()
	  as a customizable context.
	* Merged setfiles/restorecon patch to not reset user field unless
	  -F option is specified from Dan Walsh.
	* Merged open_init_pty helper for run_init from Manoj Srivastava.
	* Merged audit2allow and genhomedircon man pages from Manoj Srivastava.
2005-01-24 17:07:54 +00:00
Daniel J Walsh
e1affd86ed * Fri Jan 20 2005 Dan Walsh <dwalsh@redhat.com> 1.21.3-1
- Upgrade to latest from NSA
	* Fixed restorecon to not treat errors from is_context_customizable()
	  as a customizable context.
	* Merged setfiles/restorecon patch to not reset user field unless
	  -F option is specified from Dan Walsh.
	* Merged open_init_pty helper for run_init from Manoj Srivastava.
	* Merged audit2allow and genhomedircon man pages from Manoj Srivastava.
2005-01-24 16:26:39 +00:00
Daniel J Walsh
a64186fd3d * Fri Jan 20 2005 Dan Walsh <dwalsh@redhat.com> 1.21.1-3
- Don't change user componant if it is all that changed unless forced.
- Change fixfiles to concatinate file_context.local for setfiles
2005-01-21 18:56:16 +00:00
Daniel J Walsh
b1d45be991 * Fri Jan 20 2005 Dan Walsh <dwalsh@redhat.com> 1.21.1-2
- Don't change user componant if it is all that changed unless forced.
2005-01-21 18:22:40 +00:00
Daniel J Walsh
8621a0d226 * Thu Jan 20 2005 Dan Walsh <dwalsh@redhat.com> 1.21.1-1
- Update to latest from NSA
2005-01-20 14:10:19 +00:00
Daniel J Walsh
1bb6056f2f * Thu Jan 20 2005 Dan Walsh <dwalsh@redhat.com> 1.21.1-1
- Update to latest from NSA
2005-01-20 13:54:58 +00:00
Daniel J Walsh
a52deb4d72 * Mon Jan 10 2005 Dan Walsh <dwalsh@redhat.com> 1.20.1-2
- Fix restorecon segfault
2005-01-10 18:18:41 +00:00
Daniel J Walsh
fc11f85f43 * Mon Jan 3 2005 Dan Walsh <dwalsh@redhat.com> 1.20.1-1
- Update to latest from NSA
	* Merged fixfiles rewrite from Dan Walsh.
	* Merged restorecon patch from Dan Walsh.
2005-01-07 14:46:02 +00:00
Daniel J Walsh
9fb0a29c97 * Mon Jan 3 2005 Dan Walsh <dwalsh@redhat.com> 1.19.3-1
- Update to latest from NSA
	* Merged fixfiles and restorecon patches from Dan Walsh.
	* Don't display change if only user part changed.
2005-01-05 20:17:09 +00:00
Daniel J Walsh
29309fe6a6 * Mon Jan 3 2005 Dan Walsh <dwalsh@redhat.com> 1.19.2-4
- Fix fixfiles handling of rpm
- Fix restorecon to not warn on symlinks unless -v -v
- Fix output of verbose to show old context as well as new context
2005-01-03 20:52:19 +00:00
Daniel J Walsh
7ac30031a8 * Mon Jan 3 2005 Dan Walsh <dwalsh@redhat.com> 1.19.2-3
- Fix fixfiles handling of rpm
- Fix restorecon to not warn on symlinks unless -v -v
- Fix output of verbose to show old context as well as new context
2005-01-03 19:18:21 +00:00
Daniel J Walsh
3673618fbf * Mon Dec 29 2004 Dan Walsh <dwalsh@redhat.com> 1.19.2-2
- Fix fixfiles handling of rpm
2005-01-03 18:32:44 +00:00
Daniel J Walsh
38d8cfc55c * Mon Dec 29 2004 Dan Walsh <dwalsh@redhat.com> 1.19.2-1
- Update to latest from NSA
	* Changed restorecon to ignore ENOENT errors from matchpathcon.
	* Merged nonls patch from Chris PeBenito.
2004-12-29 17:19:57 +00:00
Daniel J Walsh
770517b05a * Mon Dec 20 2004 Dan Walsh <dwalsh@redhat.com> 1.19.1-1
- Update to latest from NSA
	* Removed fixfiles.cron.
	* Merged run_init.8 patch from Dan Walsh.
2004-12-20 14:36:31 +00:00
Daniel J Walsh
8027a4d6d4 * Mon Dec 20 2004 Dan Walsh <dwalsh@redhat.com> 1.19.1-1
- Update to latest from NSA
	* Removed fixfiles.cron.
	* Merged run_init.8 patch from Dan Walsh.
2004-12-20 14:22:16 +00:00
Daniel J Walsh
d8c9ba4287 * Thu Nov 18 2004 Dan Walsh <dwalsh@redhat.com> 1.18.1-3
- Fix run_init.8 to refer to correct location of initrc_context
2004-11-18 16:11:15 +00:00
Daniel J Walsh
e03c046cd0 * Thu Nov 18 2004 Dan Walsh <dwalsh@redhat.com> 1.18.1-2
- Fix run_init.8 to refer to correct location of initrc_context
2004-11-18 15:20:19 +00:00
Daniel J Walsh
85196f1e13 * Wed Nov 3 2004 Dan Walsh <dwalsh@redhat.com> 1.18.1-1
- Upgrade to latest from NSA
2004-11-03 20:51:55 +00:00
Steve Grubb
1230cb57a4 Add code to sestatus to output the current policy from config file 2004-10-28 15:22:58 +00:00
Daniel J Walsh
d855c2dccc update latest from NSA 2004-10-28 15:16:53 +00:00
Daniel J Walsh
d6dffe8d2b * Fri Oct 22 2004 Dan Walsh <dwalsh@redhat.com> 1.17.7-2
- Patch audit2allow to return self and no brackets if only one rule
2004-10-28 14:39:53 +00:00
Daniel J Walsh
2d79300263 * Fri Oct 22 2004 Dan Walsh <dwalsh@redhat.com> 1.17.7-2
- Patch audit2allow to return self and no brackets if only one rule
2004-10-28 14:39:53 +00:00
Daniel J Walsh
d337e9cbc9 update to latest from NSA, eliminate fixfiles.cron 2004-10-26 15:20:59 +00:00