lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri,  3 Mar 2017 17:53:59 +0900
From:   Jaejoong Kim <climbbb.kim@...il.com>
To:     jikos@...nel.org, benjamin.tissoires@...hat.com
Cc:     linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-usb@...r.kernel.org, Jaejoong Kim <climbbb.kim@...il.com>
Subject: [PATCH v2 0/2] HID: hiddev: move hiddev's minor number and refactoring

Hi all,

   I found hiddev's minor number is always zero in struct hid_device. So,
   store the minor number asked from usb core in struct hid_device.

   This is my first approach.

   But after reviewed from Bendjamin, he suggested that it would make sense
   to store a minor number in struct hiddev like hidraw if it neeeded.

   So, I move the minor number from hid_device to hiddev and do some refactoring
   to access struct hiddev in hid-core

Chanes in v2:
- cp2112: tie in this series

- hiddev: rollback struct hiddev_list exported
          squash this patch in a seperate patch

Jaejoong Kim (2):
  HID: cp2112: use proper hidraw name with minor number
  HID: hiddev: reallocate hiddev's minor number

 drivers/hid/hid-core.c      |  2 +-
 drivers/hid/hid-cp2112.c    |  4 +++-
 drivers/hid/usbhid/hiddev.c | 15 ++++-----------
 include/linux/hid.h         |  1 -
 include/linux/hiddev.h      | 11 +++++++++++
 5 files changed, 19 insertions(+), 14 deletions(-)

-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ