]> git.ipfire.org Git - thirdparty/linux.git/commit
apparmor: make all generated string array headers const char *const
authorRyan Lee <ryan.lee@canonical.com>
Wed, 9 Apr 2025 01:02:00 +0000 (18:02 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 26 May 2025 03:15:01 +0000 (20:15 -0700)
commit95ff11895846eec76a19351a109fbabbdd86b417
tree04e2d839358cbc41064947d359f041a3f0267775
parenta88db916b8c77552f49f7d9f8744095ea01a268f
apparmor: make all generated string array headers const char *const

address_family_names and sock_type_names were created as const char *a[],
which declares them as (non-const) pointers to const chars. Since the
pointers themselves would not be changed, they should be generated as
const char *const a[].

Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/Makefile