--- zzzz-none-000/linux-4.4.60/fs/locks.c 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-7490-727/linux-4.4.60/fs/locks.c 2021-02-04 17:41:59.000000000 +0000 @@ -2712,6 +2712,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; }