lkml.org 
[lkml]   [1998]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectpatch for knfsd signals problem
The checksignals code added in .120 causes an oops when running knfsd --
presumably it doesn't like the blocked signals in effect.

The attached patch probably isn't right but gets knfsd working again ...

Regards,
Bill--- linux-2.1.120/fs/nfsd/nfssvc.c.old Tue Jan 27 09:36:34 1998
+++ linux-2.1.120/fs/nfsd/nfssvc.c Sat Sep 5 13:19:05 1998
@@ -36,8 +36,8 @@
#define NFSDDBG_FACILITY NFSDDBG_SVC
#define NFSD_BUFSIZE (1024 + NFSSVC_MAXBLKSIZE)

-#define ALLOWED_SIGS (sigmask(SIGKILL) | sigmask(SIGSTOP))
-#define SHUTDOWN_SIGS (sigmask(SIGKILL) | sigmask(SIGINT) | sigmask(SIGTERM))
+#define ALLOWED_SIGS (sigmask(SIGKILL))
+#define SHUTDOWN_SIGS (sigmask(SIGKILL) | sigmask(SIGINT) | sigmask(SIGQUIT))

extern struct svc_program nfsd_program;
static void nfsd(struct svc_rqst *rqstp);
\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.026 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site