[PATCH openbmc v6 18/18] initfs: whitelist: Sanitize obmc events whitelist entry

Andrew Jeffery andrew at aj.id.au
Thu Jun 23 16:38:39 AEST 2016


On Wed, 2016-06-22 at 19:30 -0500, OpenBMC Patches wrote:
> From: Milton Miller <miltonm at us.ibm.com>
> 
> Remove the trailing / so that the update script doesn't have to loop.
> 
> It was determined the trailing slash confused the code that makes
> the save subdirectory.  The update script was fixed but this removes
> the extra work needed.
> 
> Signed-off-by: Milton Miller <miltonm at us.ibm.com>
> ---
>  .../common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist        | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist
> index 603cec7..c35a552 100644
> --- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist
> +++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist
> @@ -6,4 +6,4 @@
>  /etc/group
>  /etc/shadow
>  /etc/gshadow
> -/var/lib/obmc/events/
> +/var/lib/obmc/events

Reviewed-by: Andrew Jeffery <andrew at aj.id.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160623/4168f728/attachment.sig>


More information about the openbmc mailing list