From 7d5976f668e0799aae1c428a17eb370f06aea1d0 Mon Sep 17 00:00:00 2001 From: Jarkko Sakkinen Date: Wed, 26 Jun 2013 11:48:27 +0300 Subject: mkdir,mkfifo,mknod: with -Z, create SMACK security context Enable creation of SMACK security context with -Z command-line switch if SMACK is enabled. * mkdir.c (main): Set process security context to given SMACK label. * mkfifo.c (main): Likewise. * mknod.c (main): Likewise. * src/local.mk: link mk{dir, fifo, nod} with libsmack. * NEWS: Mention the new feature. --- NEWS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 320638504..75ec253ee 100644 --- a/NEWS +++ b/NEWS @@ -29,7 +29,8 @@ GNU coreutils NEWS -*- outline -*- ** New features - ls -Z and id -Z report the SMACK security context where available. + id and ls with -Z report the SMACK security context where available. + mkdir, mkfifo and mknod with -Z set the SMACK context where available. join accepts a new option: --zero-terminated (-z). As with the sort,uniq option of the same name, this makes join consume and produce NUL-terminated -- cgit v1.2.3-54-g00ecf