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-prev] [day] [month] [year] [list]
Date:   Thu, 29 Aug 2019 00:56:18 +0900
From:   Masahiro Yamada <yamada.masahiro@...ionext.com>
To:     Heikki Krogerus <heikki.krogerus@...ux.intel.com>
Cc:     Michal Marek <michal.lkml@...kovi.net>,
        Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] modpost: add guid_t type definition

On Tue, Aug 27, 2019 at 8:14 PM Heikki Krogerus
<heikki.krogerus@...ux.intel.com> wrote:
>
> Since guid_t is the recommended data type for UUIDs in
> kernel (and I guess uuid_le is meant to be ultimately
> replaced with it), it should be made available here as
> well.
>
> Signed-off-by: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
> ---

Applied to linux-kbuild. Thanks.


>  scripts/mod/file2alias.c | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c
> index e17a29ae2e97..c91eba751804 100644
> --- a/scripts/mod/file2alias.c
> +++ b/scripts/mod/file2alias.c
> @@ -34,6 +34,11 @@ typedef Elf64_Addr   kernel_ulong_t;
>  typedef uint32_t       __u32;
>  typedef uint16_t       __u16;
>  typedef unsigned char  __u8;
> +typedef struct {
> +       __u8 b[16];
> +} guid_t;
> +
> +/* backwards compatibility, don't use in new code */
>  typedef struct {
>         __u8 b[16];
>  } uuid_le;
> --
> 2.23.0.rc1
>


-- 
Best Regards
Masahiro Yamada

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ