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
- Lines: 9
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/kernel/sched.c
- Orig date:
2003-08-25 04:44:44.000000000 -0700
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)