From 7a5ecae996a6a18ee9bdaf0ad50782247c53ec7b Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Fri, 1 Oct 2010 11:54:34 -0600 Subject: stat: print SELinux context when available * src/stat.c (default_format): Include context when present. * NEWS: Update blurb explaining the replacement for -Z. --- NEWS | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index dd8a18b51..719ac9c47 100644 --- a/NEWS +++ b/NEWS @@ -75,7 +75,10 @@ GNU coreutils NEWS -*- outline -*- stat no longer accepts the --context (-Z) option. Initially it was merely accepted and ignored, for compatibility. Starting two years - ago, with coreutils-7.0, its use evoked a warning. + ago, with coreutils-7.0, its use evoked a warning. Printing the + SELinux context can be done with the %C format directive, and the + default output when no format is specified now automatically + includes %C when context information is available. stat now outputs the full sub-second resolution for the atime, mtime, and ctime values since the Epoch, when using the %X, %Y, and -- cgit v1.2.3-54-g00ecf