From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 22044 invoked from network); 22 Apr 1998 00:26:41 -0000 Received: from slip-32-100-110-77.vt.us.ibm.net (HELO air.steve.net) (32.100.110.77) by mail2.redhat.com with SMTP; 22 Apr 1998 00:26:41 -0000 Received: from localhost (localhost [127.0.0.1]) by air.steve.net (8.6.12/8.6.9) with SMTP id UAA02761; Tue, 21 Apr 1998 20:27:58 -0400 Date: Tue, 21 Apr 1998 20:27:58 -0400 (EDT) From: "Steven N. Hirsch" X-Sender: hirsch@air.steve.net To: adam@yggdrasil.com cc: David Woodhouse , Mikael.Pettersson@sophia.inria.fr, axp-list@redhat.com, linux-kernel@vger.rutgers.edu Subject: Re: daemon-less kmod & Alpha no-go! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII All, I've found the underlying problem with daemonless 'kmod' on Alpha. Apparently, glibc header changes are to blame. I became suspicious after noticing that kmod is compiled with __KERNEL__ defined. Turns out to be a kernel vs. user space disagreement as to the storage type and size of sigset_t. The following quick hack brings kmod to life: *** kmod.c.orig Mon Apr 20 19:56:45 1998 --- kmod.c Tue Apr 21 20:10:42 1998 *************** *** 62,68 **** the signal just right. */ spin_lock_irq(¤t->sigmask_lock); ! sigfillset(¤t->blocked); spin_unlock_irq(¤t->sigmask_lock); set_fs(KERNEL_DS); /* Allow execve args to be in kernel space. */ --- 62,68 ---- the signal just right. */ spin_lock_irq(¤t->sigmask_lock); ! memset (¤t->blocked, '\0xff', sizeof(current->blocked)); spin_unlock_irq(¤t->sigmask_lock); set_fs(KERNEL_DS); /* Allow execve args to be in kernel space. */ I get dizzy trying to figure out who is getting which prototype from where, but maybe someone intimately familiar with the new glibc headers can suggest a cleaner fix? Enjoy. Steve