Re: [RFC v3 25/45] richacl: acl editing helper functions

From: J. Bruce Fields
Date: Fri May 15 2015 - 17:34:04 EST


On Fri, Apr 24, 2015 at 01:04:22PM +0200, Andreas Gruenbacher wrote:
> +/**
> + * richace_change_mask - set the mask of @ace to @mask
> + * @x: acl and number of allocated entries
> + * @ace: entry to modify
> + * @mask: new mask for @ace
> + *
> + * If @ace is inheritable, a inherit-only ace is inserted before @ace which
> + * includes the inheritable permissions of @ace and the inheritance flags of
> + * @ace are cleared before changing the mask.
> + *
> + * If @mode is 0, the original ace is turned into an inherit-only entry if

s/@mode/@mask/ ?

--b.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/