--- zzzz-none-000/linux-4.4.271/fs/locks.c 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/fs/locks.c 2023-01-11 09:25:43.000000000 +0000 @@ -2716,6 +2716,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; }