afs/fs/afs kafstimod.c,1.7,1.8 kafsasyncd.c,1.6,1.7 cmservice.c,1.8,1.9

dwh at infradead.org dwh at infradead.org
Wed Sep 3 14:44:22 BST 2003


Update of /home/cvs/afs/fs/afs
In directory phoenix.infradead.org:/tmp/cvs-serv2664/fs/afs

Modified Files:
	kafstimod.c kafsasyncd.c cmservice.c 
Log Message:
daemonize() now blocks all signals


Index: kafstimod.c
===================================================================
RCS file: /home/cvs/afs/fs/afs/kafstimod.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- kafstimod.c	4 Jul 2003 15:26:31 -0000	1.7
+++ kafstimod.c	3 Sep 2003 12:44:20 -0000	1.8
@@ -76,12 +76,6 @@
 
 	complete(&kafstimod_alive);
 
-	/* only certain signals are of interest */
-	spin_lock_irq(&current->sighand->siglock);
-	siginitsetinv(&current->blocked,0);
-	recalc_sigpending();
-	spin_unlock_irq(&current->sighand->siglock);
-
 	/* loop around looking for things to attend to */
  loop:
 	set_current_state(TASK_INTERRUPTIBLE);

Index: kafsasyncd.c
===================================================================
RCS file: /home/cvs/afs/fs/afs/kafsasyncd.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- kafsasyncd.c	2 Mar 2003 18:56:15 -0000	1.6
+++ kafsasyncd.c	3 Sep 2003 12:44:20 -0000	1.7
@@ -99,12 +99,6 @@
 
 	complete(&kafsasyncd_alive);
 
-	/* only certain signals are of interest */
-	spin_lock_irq(&current->sighand->siglock);
-	siginitsetinv(&current->blocked,0);
-	recalc_sigpending();
-	spin_unlock_irq(&current->sighand->siglock);
-
 	/* loop around looking for things to attend to */
 	do {
 		set_current_state(TASK_INTERRUPTIBLE);

Index: cmservice.c
===================================================================
RCS file: /home/cvs/afs/fs/afs/cmservice.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- cmservice.c	15 Aug 2003 13:02:20 -0000	1.8
+++ cmservice.c	3 Sep 2003 12:44:20 -0000	1.9
@@ -125,12 +125,6 @@
 
 	complete(&kafscmd_alive);
 
-	/* only certain signals are of interest */
-	spin_lock_irq(&current->sighand->siglock);
-	siginitsetinv(&current->blocked,0);
-	recalc_sigpending();
-	spin_unlock_irq(&current->sighand->siglock);
-
 	/* loop around looking for things to attend to */
 	do {
 		if (list_empty(&kafscmd_attention_list)) {




More information about the linux-afs-cvs mailing list