On Wed, 03.12.14 15:33, Maciej Wereski (m.were...@partner.samsung.com) wrote:
>
> +static int get_xattrs_from_arg(Item *i) {
> +char *xattr, *name, *value;
> +const char *p;
> +int r;
Please declare name and value in the inner scope, no need to define
them broader than n
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