mkdir,mkfifo,mknod: with -Z, create SMACK security context
commit7d5976f668e0799aae1c428a17eb370f06aea1d0
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Wed, 26 Jun 2013 08:48:27 +0000 (26 11:48 +0300)
committerPádraig Brady <P@draigBrady.com>
Mon, 1 Jul 2013 13:33:05 +0000 (1 14:33 +0100)
treef3ce27edc413f00ca4a22ef2e4df7e4b8ff68c50
parent1b90421a1bb27960679d180e40412d74b6ff3d0c
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
src/local.mk
src/mkdir.c
src/mkfifo.c
src/mknod.c