--- zzzz-none-000/linux-4.9.218/fs/locks.c 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ac-750/linux-4.9.218/fs/locks.c 2022-11-30 09:46:20.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; }