patch-2.4.23 linux-2.4.23/kernel/sched.c

Next file: linux-2.4.23/kernel/sys.c
Previous file: linux-2.4.23/kernel/resource.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/kernel/sched.c linux-2.4.23/kernel/sched.c
@@ -1312,7 +1312,7 @@
 	this_task->cap_permitted = CAP_FULL_SET;
 	this_task->keep_capabilities = 0;
 	memcpy(this_task->rlim, init_task.rlim, sizeof(*(this_task->rlim)));
-	this_task->user = INIT_USER;
+	switch_uid(INIT_USER);
 
 	spin_unlock(&runqueue_lock);
 	write_unlock_irq(&tasklist_lock);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)