ucount.c (9c8d7ff32a0aa001ac8506180e1662ecdf927f32) ucount.c (ed5bd7dc88edf4a4a9c67130742b1b59aa017a5f)
1/*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License as
4 * published by the Free Software Foundation, version 2 of the
5 * License.
6 */
7
8#include <linux/stat.h>

--- 213 unchanged lines hidden (view full) ---

222 static struct ctl_table_header *user_header;
223 static struct ctl_table empty[1];
224 /*
225 * It is necessary to register the user directory in the
226 * default set so that registrations in the child sets work
227 * properly.
228 */
229 user_header = register_sysctl("user", empty);
1/*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License as
4 * published by the Free Software Foundation, version 2 of the
5 * License.
6 */
7
8#include <linux/stat.h>

--- 213 unchanged lines hidden (view full) ---

222 static struct ctl_table_header *user_header;
223 static struct ctl_table empty[1];
224 /*
225 * It is necessary to register the user directory in the
226 * default set so that registrations in the child sets work
227 * properly.
228 */
229 user_header = register_sysctl("user", empty);
230 kmemleak_ignore(user_header);
230 BUG_ON(!user_header);
231 BUG_ON(!setup_userns_sysctls(&init_user_ns));
232#endif
233 return 0;
234}
235subsys_initcall(user_namespace_sysctl_init);
231 BUG_ON(!user_header);
232 BUG_ON(!setup_userns_sysctls(&init_user_ns));
233#endif
234 return 0;
235}
236subsys_initcall(user_namespace_sysctl_init);
236
237