--- zzzz-none-000/linux-4.9.231/fs/locks.c 2020-07-22 07:10:54.000000000 +0000 +++ falcon-5590-729/linux-4.9.231/fs/locks.c 2022-03-30 12:03:35.000000000 +0000 @@ -2802,6 +2802,8 @@ static int __init proc_locks_init(void) { + if (IS_ENABLED(CONFIG_PROC_STRIPPED)) + return 0; proc_create("locks", 0, NULL, &proc_locks_operations); return 0; }