Re: kernel modules into static kernel

2010-07-20 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2010/07/19 20:50, Tim Judd wrote: > Hellos, > > > Of interest, I can get GEOM_UZIP kernel module as part of the kernel, > but the GEOM_UZIP kernel module has a dependency on ZLIB. If I build > a kernel with GEOM_UZIP, will the relavant ZLIB pie

Re: Missing files device_if.h and bus_if.h

2010-07-20 Thread John Baldwin
On Sunday, July 18, 2010 1:40:58 am Christopher Bowman wrote: > Can a pci/pcie dirver be loaded and unloaded like a kld? Yes. Typically Makefiles for driver modules list 'driver_if.h' and 'bus_if.h' in their SRCS line and bsd.kmod.mk generates them during the build. -- John Baldwin ___

Re: kernel modules into static kernel

2010-07-20 Thread John Baldwin
On Monday, July 19, 2010 11:50:37 pm Tim Judd wrote: > Hellos, > > > Of interest, I can get GEOM_UZIP kernel module as part of the kernel, > but the GEOM_UZIP kernel module has a dependency on ZLIB. If I build > a kernel with GEOM_UZIP, will the relavant ZLIB pieces also be in the > kernel? Yes

Chasing down bugs with access(2)

2010-07-20 Thread Garrett Cooper
Hi Hackers, I ran into an issue last night where apparently several apps make faulty assumptions w.r.t. whether or not access(2) returns functional data when running as a superuser. POSIX says: In early proposals, some inadequacies in the access() function led to the creation of an eacces

Re: [PATCH] Catch errors with sigaddset(3) in sigaddset (sighold)

2010-07-20 Thread Garrett Cooper
On Mon, Jul 19, 2010 at 5:09 AM, Kostik Belousov wrote: > On Sun, Jul 18, 2010 at 10:46:25PM -0700, Garrett Cooper wrote: >>     sighold(3) doesn't determine whether or not the signal added is >> valid today (and sigprocmask doesn't verify that either). This fixes >> that. >> Thanks, >> -Garrett >

Re: kernel modules into static kernel

2010-07-20 Thread Tim Judd
On 7/20/10, John Baldwin wrote: > On Monday, July 19, 2010 11:50:37 pm Tim Judd wrote: >> Hellos, >> >> >> Of interest, I can get GEOM_UZIP kernel module as part of the kernel, >> but the GEOM_UZIP kernel module has a dependency on ZLIB. If I build >> a kernel with GEOM_UZIP, will the relavant ZL