kernel: conditionally support non-root users, groups and capabilities
[deliverable/linux.git] / kernel / cred.c
index e0573a43c7df62b1b37df319bd74ff377603ccf5..ec1c07667ec1d5daec2820d6b30cda2bf99818c4 100644 (file)
@@ -29,6 +29,9 @@
 
 static struct kmem_cache *cred_jar;
 
+/* init to 2 - one for init_task, one to ensure it is never freed */
+struct group_info init_groups = { .usage = ATOMIC_INIT(2) };
+
 /*
  * The initial credentials for the initial task
  */
This page took 0.024256 seconds and 5 git commands to generate.