Re: [PATCH] fs/select: Annotate struct poll_list with __counted_by()

2024-08-09 Thread Christian Brauner
On Thu, 08 Aug 2024 17:00:24 +0200, Thorsten Blum wrote: > Add the __counted_by compiler attribute to the flexible array member > entries to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and > CONFIG_FORTIFY_SOURCE. > > Applied to the vfs.misc branch of the vfs/vfs.git tree. Patches in

Re: [PATCH] fs/select: Annotate struct poll_list with __counted_by()

2024-08-08 Thread Gustavo A. R. Silva
On 08/08/24 09:00, Thorsten Blum wrote: Add the __counted_by compiler attribute to the flexible array member entries to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and CONFIG_FORTIFY_SOURCE. Signed-off-by: Thorsten Blum Reviewed-by: Gustavo A. R. Silva Thanks -- Gustavo ---

[PATCH] fs/select: Annotate struct poll_list with __counted_by()

2024-08-08 Thread Thorsten Blum
Add the __counted_by compiler attribute to the flexible array member entries to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and CONFIG_FORTIFY_SOURCE. Signed-off-by: Thorsten Blum --- fs/select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/select.c b/fs/sele