patch for knfsd signals problem

Bill Hawes (whawes@star.net)
Sat, 05 Sep 1998 14:14:06 -0400


This is a multi-part message in MIME format.
--------------DF26E6EB8A4716DCD489B4BA
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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
--------------DF26E6EB8A4716DCD489B4BA
Content-Type: text/plain; charset=us-ascii; name="nfsd_120-patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="nfsd_120-patch"

--- 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);

--------------DF26E6EB8A4716DCD489B4BA--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html