--- zzzz-none-000/linux-4.9.218/fs/locks.c 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ax-750/linux-4.9.218/fs/locks.c 2023-03-29 10:59:07.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; }