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]
Message-ID: <CABGL3xcfdhDVt27MJCNs-2EhAnQ5EHm_W7RhE81YKhaq+j76=g@mail.gmail.com>
Date: Sun, 15 Jun 2025 19:29:38 +0530
From: Z-Script Zs <zscript.team.zs@...il.com>
To: linux-kbuild@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, masahiroy@...nel.org
Subject: kconfig: include <strings.h> to fix bcmp build error on Clang

Hi,

This patch fixes a build error caused by missing <strings.h> when compiling
with Clang in strict ISO C environments such as Termux or Android.

The function 'bcmp' is used in scripts/kconfig/confdata.c, but without
including <strings.h>, the build fails under strict C99 rules due to an
implicit declaration.

I'm 12 years old and just starting to learn Linux kernel development.
This is my first patch submission. I'd be very grateful for any feedback or
corrections.

Thank you for your time and for maintaining this incredible project.

Best regards,
Abhigyan Ghosh
zscript.team.zs@...il.com

Content of type "text/html" skipped

View attachment "0001-kconfig-include-strings.h-to-fix-bcmp-build-error-on.patch" of type "text/x-diff" (905 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ