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  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, 18 Aug 2021 15:02:17 +0200
From:   Miguel Ojeda <>
To:     Kees Cook <>
Cc:     linux-kernel <>,
        Nick Desaulniers <>,
        Nathan Chancellor <>,
        Miguel Ojeda <>,
        Sedat Dilek <>,
        Will Deacon <>, Marco Elver <>,
        Arvind Sankar <>,
        Masahiro Yamada <>,
        Luc Van Oostenryck <>,
        Andrew Morton <>,
        Sami Tolvanen <>,
        Thomas Gleixner <>,
        Gabriel Krisman Bertazi <>,
        Andy Lutomirski <>,
        Oleg Nesterov <>,
        "Gustavo A. R. Silva" <>,
        Greg Kroah-Hartman <>,
        linux-wireless <>,
        Network Development <>,
        dri-devel <>,,,
        Linux Kbuild mailing list <>,
        clang-built-linux <>,
        Rasmus Villemoes <>,
Subject: Re: [PATCH v2 25/63] compiler_types.h: Remove __compiletime_object_size()

On Wed, Aug 18, 2021 at 8:14 AM Kees Cook <> wrote:
> Since all compilers support __builtin_object_size(), and there is only
> one user of __compiletime_object_size, remove it to avoid the needless
> indirection. This lets Clang reason about check_copy_size() correctly.

Sounds good to me, the indirection is making things more complex than
they need to be.

Reviewed-by: Miguel Ojeda <>


Powered by blists - more mailing lists