patch-2.4.19 linux-2.4.19/ipc/sem.c
Next file: linux-2.4.19/ipc/shm.c
Previous file: linux-2.4.19/init/main.c
Back to the patch index
Back to the overall index
-  Lines: 8
-  Date:
Fri Aug  2 17:39:46 2002
-  Orig file: 
linux-2.4.18/ipc/sem.c
-  Orig date: 
Sun Sep 30 12:26:42 2001
diff -urN linux-2.4.18/ipc/sem.c linux-2.4.19/ipc/sem.c
@@ -643,6 +643,7 @@
 		for (un = sma->undo; un; un = un->id_next)
 			un->semadj[semnum] = 0;
 		curr->semval = val;
+		curr->sempid = current->pid;
 		sma->sem_ctime = CURRENT_TIME;
 		/* maybe some queued-up processes were waiting for this */
 		update_queue(sma);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)