lkml.org 
[lkml]   [2004]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Exposing ROM's though sysfs
    > Do I understand it correctly that the ROM-in-sysfs hack is intended only
    > for debugging? If it is so, I do not see why we should do anything complicated
    > in order to avoid root shooting himself in the foot.

    ... for which the config space access code already sets the precedent --
    there exist (rare) devices which have configuration registers with side
    effects on reads, making it possible to produce SCSI errors or even crash
    the system by just dumping the config space. Even on these devices, the
    kernel does not attempt to forbid reading of these registers via sysfs.

    Have a nice fortnight
    --
    Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
    Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
    A bug in the code is worth two in the documentation.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:0.030 / U:31.104 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site