From: Jim Meyering Date: Sat, 1 Dec 2007 17:05:53 +0000 (+0100) Subject: * NEWS: Mention some of the SELinux changes. X-Git-Tag: v6.9.90~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab73462d4b281d4e2cec8fb5952a0329c3f2ce2f;p=thirdparty%2Fcoreutils.git * NEWS: Mention some of the SELinux changes. Record release date and new version number. * src/stat.c (main): Adjust a comment. --- diff --git a/ChangeLog b/ChangeLog index 6169be1067..5a93375a8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-12-01 Jim Meyering + * NEWS: Record release date and new version number. + Mention some of the SELinux changes. + * src/stat.c (main): Adjust a comment. + * TODO: Add some entries (documentation needed), and remove the one for mktemp. diff --git a/NEWS b/NEWS index 03e16a5d13..8df1b870a0 100644 --- a/NEWS +++ b/NEWS @@ -1,14 +1,18 @@ GNU coreutils NEWS -*- outline -*- -* Noteworthy changes in release 6.9+ (????-??-??) [stable] +* Noteworthy changes in release 6.9.90 (2007-12-01) [beta] ** New programs arch: equivalent to uname -m, not installed by default But don't install this program on Solaris systems. + chcon: change the SELinux security context of a file + mktemp: create a temporary file or directory (or names) + runcon: run a program in a different SELinux security context + ** Programs no longer installed by default hostname, su @@ -27,7 +31,17 @@ GNU coreutils NEWS -*- outline -*- ** New features - Add SELinux support (FIXME: add details here) + Add SELinux support, based on the patch from Fedora: + * cp accepts new --preserve=context option. + * "cp -a" works with SELinux: + Now, cp -a attempts to preserve context, but failure to do so does + not change cp's exit status. However "cp --preserve=context" is + similar, but failure *does* cause cp to exit with nonzero status. + * install accepts new "-Z, --context=C" option. + * id accepts new "-Z" option. + * stat honors the new %C format directive: SELinux security context string + * ls accepts a slightly modified -Z option. + * ls: contrary to Fedora version, does not accept --lcontext and --scontext cp -p tries to preserve the GID of a file even if preserving the UID is not possible. diff --git a/src/stat.c b/src/stat.c index 912ef87c57..0c33ba5eb1 100644 --- a/src/stat.c +++ b/src/stat.c @@ -1040,7 +1040,7 @@ main (int argc, char *argv[]) terse = true; break; - case 'Z': /* FIXME: remove in 2008, warn in 2007 */ + case 'Z': /* FIXME: remove in 2010, warn in mid 2008 */ /* Ignored, for compatibility with distributions that implemented this before upstream. */ break;