Re: [PATCH 02/20] Input: atmel_mxt_ts - only allow root to updatefirmware
From: Nick Dyer
Date: Tue Mar 20 2012 - 10:38:45 EST
Daniel Kurtz wrote:
> Restrict permissions on the update_fw sysfs entry to read only for root
> only.
>
> Also, update object permission to use a macro S_IRUGO macro instead of
> hard coded 0444.
>
> Signed-off-by: Daniel Kurtz <djkurtz@xxxxxxxxxxxx>
Acked-by: Nick Dyer <nick.dyer@xxxxxxxxxxx>
--
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/