Skip to content
Snippets Groups Projects
  • Stephen Smalley's avatar
    b3c48b66
    Change the type on /dev/uinput to match /dev/uhid. · b3c48b66
    Stephen Smalley authored
    
    /dev/uinput is accessed in the same way as /dev/uhid,
    and unlike /dev/input/*.  bluetooth requires access to
    the former and not to the latter, while shell requires access
    to the latter and not the former.  This is also consistent
    with their DAC group ownerships (net_bt_stack for /dev/uinput
    and /dev/uhid vs input for /dev/input/*).
    
    Change-Id: I0059d832a7fe036ed888c91e1fb96f3e6e0bd2d4
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
    b3c48b66
    History
    Change the type on /dev/uinput to match /dev/uhid.
    Stephen Smalley authored
    
    /dev/uinput is accessed in the same way as /dev/uhid,
    and unlike /dev/input/*.  bluetooth requires access to
    the former and not to the latter, while shell requires access
    to the latter and not the former.  This is also consistent
    with their DAC group ownerships (net_bt_stack for /dev/uinput
    and /dev/uhid vs input for /dev/input/*).
    
    Change-Id: I0059d832a7fe036ed888c91e1fb96f3e6e0bd2d4
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>