Re: [systemd-devel] [PATCH v8] tmpfiles, man: Add xattr support to tmpfiles

2014-12-02 Thread Lennart Poettering
On Thu, 13.11.14 09:11, Maciej Wereski (m.were...@partner.samsung.com) wrote: Sorry for the late review. > +static int get_xattrs_from_arg(Item *i) { > +char *xattr; > +const char *p; > +int n; > + > +assert(i); > +if (i->type != SET_XATTR) > +

[systemd-devel] [PATCH v8] tmpfiles, man: Add xattr support to tmpfiles

2014-11-13 Thread Maciej Wereski
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