[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CY8PR11MB71348E568DBDA576F17DAFF389362@CY8PR11MB7134.namprd11.prod.outlook.com>
Date: Tue, 3 Dec 2024 03:23:02 +0000
From: "Zhuo, Qiuxu" <qiuxu.zhuo@...el.com>
To: Paul Moore <paul@...l-moore.com>, Eric Paris <eparis@...hat.com>
CC: "audit@...r.kernel.org" <audit@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"laoar.shao@...il.com" <laoar.shao@...il.com>, "Zhuo, Qiuxu"
<qiuxu.zhuo@...el.com>
Subject: v6.13-rc1 build errors from kernel/auditsc.c
Hi,
I got the following build errors from kernel/auditsc.c file.
The GCC version : 7.5.0
Kernel version : v6.13-rc1
The bisect commit : 286d7a54c8a2 ("auditsc: replace memcpy() with strscpy()")
Build error logs:
from kernel/auditsc.c:37:
In function 'sized_strscpy',
inlined from '__audit_ptrace' at kernel/auditsc.c:2732:2:
./include/linux/fortify-string.h:293:3: error: call to '__write_overflow' declared with attribute error: detected write beyond size of object (1st parameter)
__write_overflow();
^~~~~~~~~~~~~~~~~~
In function 'sized_strscpy',
inlined from 'audit_signal_info_syscall' at kernel/auditsc.c:2759:3:
./include/linux/fortify-string.h:293:3: error: call to '__write_overflow' declared with attribute error: detected write beyond size of object (1st parameter)
__write_overflow();
^~~~~~~~~~~~~~~~~~
-Qiuxu
Powered by blists - more mailing lists