Re: [PATCH 06/20] Input: atmel_mxt_ts - allow writing to objectsysfs entry

From: Alan Cox
Date: Tue Mar 20 2012 - 19:01:42 EST


On Tue, 13 Mar 2012 20:04:09 +0800
Daniel Kurtz <djkurtz@xxxxxxxxxxxx> wrote:

> Userspace can write a 24-bit value (encoded as a 6 character hex string)
> to the 'object' sysfs entry to modify a single byte of the object table.
> The hex string encodes a 3 bytes, in the following format:

How is this locked against other users and updates of these table data ?

I don't see how all the objects and their pointers and size are
guaranteedto always be valid in all the users you have ?

--
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/