chiark / gitweb /
tmpfiles, man: Add xattr support to tmpfiles
authorMaciej Wereski <m.wereski@partner.samsung.com>
Thu, 4 Dec 2014 09:32:10 +0000 (10:32 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 4 Dec 2014 19:21:45 +0000 (20:21 +0100)
This patch makes it possible to set extended attributes on files created
by tmpfiles. This can be especially used to set SMACK security labels on
volatile files and directories.

It is done by adding new line of type "t". Such line should contain
attributes in Argument field, using following format:

name=value

All other fields are ignored.

If value contains spaces, then it must be surrounded by quotation marks.
User can also put quotation mark in value by escaping it with backslash.

Example:
D /var/run/cups - - - -
t /var/run/cups - - - - security.SMACK64=printing


No differences found