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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 05 Jun 2019 22:19:43 +0100
From:   David Howells <>
To:     Eugeniu Rosca <>
        Alan Stern <>,
        Mathias Nyman <>,
        Kai-Heng Feng <>,
        Felipe Balbi <>,
        Nicolas Boichat <>,
        Mathias Payer <>,
        Kento Kobayashi <>,
        Hui Peng <>,
        Raul E Rangel <>,
        Douglas Anderson <>,
        Jan-Marek Glogowski <>,
        Bin Liu <>,
        Colin Ian King <>,
        Nicolas Saenz Julienne <>,
        Jon Flatley <>,
        Mathieu Malaterre <>,
        Spyridon Papageorgiou <>,
        Joshua Frkuska <>,
        "George G . Davis" <>,,,,,, Eugeniu Rosca <>,
        Greg Kroah-Hartman <>
Subject: Re: [PATCH] usb: hub: report failure to enumerate uevent to userspace

Eugeniu Rosca <> wrote:

>  - Looking at commit [4], it seems that the new "notifier" interface/api
>    forces userspace applications to link against -lkeyutils [5].

No.  The keyctl(2) syscall is implemented in -lkeyutils library, and not in
-lc.  That's all.  If you want to call KEYCTL_NOTIFY to watch a key or
keyring, you need it; not otherwise.

>    Assuming the latter is designed for ("Kernel key management") [6],
>    it may look like the keyutils library is being abused to handle
>    the "USB (or really any hardware events)". Do you really plan to
>    extend the scope of the library to handle these new tasks?


That said, it's probably worth providing some userspace library to wrap the
ring management.


Powered by blists - more mailing lists