Re: FreeBSD 5.1-p10 reproducible crash with Apache2

2003-10-29 Thread Kris Kennaway
On Wed, Oct 29, 2003 at 11:37:56AM +0100, "Branko F. Gra?nar" wrote: > Hi. > > FreeBSD 5.1-p10 (and also possible other 5.1-pX version) can be remotely > locked up if the following criteria is met: > > + apache2 has mod_ssl loaded and enabled > + apache2 has the following configuration directives

Re: Experimental FreeBSD and Linux kernel source cross reference web site

2003-10-29 Thread Robert Watson
FYI, lxr's C parsing code appears to dislike some of our C constructs. I haven't had a chance to dig in much yet, but this is a warning that there are some glitches (for example, kern_prot.c seems to be improperly parsed in RELENG_4). Also, the identifier database seems somewhat prone to corrupti

Experimental FreeBSD and Linux kernel source cross reference web site

2003-10-29 Thread Robert Watson
In the past when browsing the Linux source code, I've made extensive use of the Linux Cross-Reference (LXR) hosted at lxr.linux.no. This web site provides a cross-referenced and searchable HTML interface to the Linux source code; you can perform freetext and identifier searches, check differences

Re: hosts_access(3) - correct usage?

2003-10-29 Thread Dan Langille
On 29 Oct 2003 at 18:26, Dan Langille wrote: > On 29 Oct 2003 at 17:10, Guido van Rooij wrote: > > > On Wed, Oct 29, 2003 at 09:38:50AM -0500, Dan Langille wrote: > > > Is this the right way to use hosts_access? The code blows up during > > > the hosts_access call. I'm told it runs OK on Linux

Re: non-root process and PID files

2003-10-29 Thread Christopher Vance
On Mon, Oct 27, 2003 at 10:31:18AM -0500, Dan Langille wrote: If a process starts up and does a setuid, should it be writing the PID file before or after the setuid? Two methods exists AFAIK: 1 - write your PID immediately, and the file is chown root:wheel 2 - write your PID to /var/run/myapp/my

Re: hosts_access(3) - correct usage?

2003-10-29 Thread Dan Langille
On 29 Oct 2003 at 17:10, Guido van Rooij wrote: > On Wed, Oct 29, 2003 at 09:38:50AM -0500, Dan Langille wrote: > > Is this the right way to use hosts_access? The code blows up during > > the hosts_access call. I'm told it runs OK on Linux/Solaris. I'm > > wonderding if there's something diff

Which mutex to lock when accessing a "struct ifnet*" ?

2003-10-29 Thread John Giacomoni
I'm writing some code which examines the the state of a "struct ifnet*" as returned by "ifunit". In what situations is it possible for the "struct _softc" to be deleted taking it's "struct ifnet" with it? Does it never go away? I assume it is possible for the structure to go away given support for

freeing data segment

2003-10-29 Thread Vinod R. Kashyap
Hi, I have this huge data structure in the data segment of my scsi driver. This data structure is initialized at driver build time, and is used only during driver initialization. I am trying to find out if I can free-up the memory it occupies, once I am done with the driver initialization. Do

Re: POSIX Threads

2003-10-29 Thread Dan Nelson
In the last episode (Oct 29), Isaac Gelado said: > I am developing a distributed application based on MICO (mico-2.3.9), > which uses Packet Capture Library (PCapLib). > > In the code, I create a posix thread to execute the pcap_loop > function (this function waits until certain number of packets

Re: hosts_access(3) - correct usage?

2003-10-29 Thread Guido van Rooij
On Wed, Oct 29, 2003 at 09:38:50AM -0500, Dan Langille wrote: > Is this the right way to use hosts_access? The code blows up during > the hosts_access call. I'm told it runs OK on Linux/Solaris. I'm > wonderding if there's something different it needs to do be doing on > FreeBSD. > > Thanks

make_dev & cdevsw_add

2003-10-29 Thread (rp)
Hello! I would kindly request explanation on how are cdevsw_add and make_dev related ? Maybe short example also with focus on cdevsw_add. Thing is i do not understand the function of cdevsw_add when i have make_dev. Also if there is any real good document that describes most of cdev related stuff

hosts_access(3) - correct usage?

2003-10-29 Thread Dan Langille
Is this the right way to use hosts_access? The code blows up during the hosts_access call. I'm told it runs OK on Linux/Solaris. I'm wonderding if there's something different it needs to do be doing on FreeBSD. Thanks #ifdef HAVE_LIBWRAP P(mutex); /* hosts_access is not

Re: FreeBSD mail list etiquette

2003-10-29 Thread Pierre Beyssac
On Sat, Oct 25, 2003 at 11:54:59AM -0700, Terry Lambert wrote: > Frankly, FreeBSD has too many cooks, and not enough bottle washers; > this is a euphimism for saying that all anyone with a commit bit > seems to want to do any more is write new code, and no one is > willing to take on the integratio

Re: POSIX Threads

2003-10-29 Thread Q
Why don't you either coalesce the events or throttle your send-event frequency so that it waits a minimum amount of time between sending each CORBA event. That should make your application more robust and better able to handle any receive rate you care to throw at it. As for why it happens.. I don

POSIX Threads

2003-10-29 Thread Isaac Gelado
Hello all, I am developing a distributed application based on MICO (mico-2.3.9), which uses Packet Capture Library (PCapLib). In the code, I create a posix thread to execute the pcap_loop function (this function waits until certain number of packets have been captured or infinite if the numbe

FreeBSD 5.1-p10 reproducible crash with Apache2

2003-10-29 Thread "Branko F. Gračnar"
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. FreeBSD 5.1-p10 (and also possible other 5.1-pX version) can be remotely locked up if the following criteria is met: + apache2 has mod_ssl loaded and enabled + apache2 has the following configuration directives set to the following values:

how to monitor remote users shell activities best ? watch / snp / ...

2003-10-29 Thread Andreas Klemm
Is there a freebsd tool that shows you in realtime, which users are logged in from remote using which pty port ? So to say something like while true do clear; w; sleep 10 done Preferable as X11 application. Cool would be options like: - log the snooped data - show their running processes