RFC locking and rate limit updates for i2c?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mark,

On Wed, 23 Mar 2005 01:35:14 -0500, "Mark M. Hoffman" <mhoffman at lightlink.com> wrote:

>> Thinking about the fan_div setting, it is a read/modify/write 
>> (RMW) operation to a chip register, should we take action to 
>> prevent another process accessing the chip on i2c during this 
>> RMW action?
>
>Looks like Philip addressed this one.

Not at all.

>> preventing DoS, updating i2c bus chips
>> 
>> Another query, we take care not to read chip too frequently, 
>> what stops user-space DoS'ing the i2c bus with continuous 
>> writes by constant update requests?  
>
>Nothing prevents it, except that you need root to do those writes/updates.
>Considering all the other damage you can do as root... there's not much
>point in any further protection for the I2C bus.

Your answer tells me it is not an issue.  "Don't do that"

Cheers,
Grant.



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux