]> www.infradead.org Git - users/jedix/linux-maple.git/commit
unicode: constify utf8 data table
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 9 Aug 2024 15:38:53 +0000 (17:38 +0200)
committerGabriel Krisman Bertazi <krisman@suse.de>
Tue, 13 Aug 2024 19:21:50 +0000 (15:21 -0400)
commit43bf9d9755bd21970d8382dc88f071f74fc18fbf
tree60c041adf57419f326addb2b56829c31ba69e4dd
parent17712b7ea0756799635ba159cc773082230ed028
unicode: constify utf8 data table

All users already handle the table as const data.
Move the table itself into .rodata to guard against accidental or
malicious modifications.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240809-unicode-const-v1-1-69968a258092@weissschuh.net
Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
fs/unicode/mkutf8data.c
fs/unicode/utf8data.c_shipped
fs/unicode/utf8n.h