Re: non-root process and PID files

2003-10-30 Thread Nielsen
Christopher Vance wrote: May I suggest a different feature: the ability to mark an open file (not just its fd) 'remove on close', with permission checked at mark time rather than close time (this status forgotten if not permitted when set) and the unlink actually done at close time only if the file

Re: 5.x kernel config changes?

2003-10-30 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Leo Bicknell <[EMAIL PROTECTED]> writes: : 3) There seems to be no more LINT or other listing of all the options. :Why? In particular I needed "options NETATALK" but couldn't remember :the name and there was no file to quickly grep. Has the list

Re: 5.x kernel config changes?

2003-10-30 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Leo Bicknell <[EMAIL PROTECTED]> writes: : 4) Due to the way the makefiles now work it seems impossible to build a :new kernel after changing just "options" statements and install it :without also rebuilding all the modules...which takes quite som

Re: stupid C language question

2003-10-30 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Nickolay A. Kritsky" <[EMAIL PROTECTED]> writes: : My fellow freebsd-hackers! I ran ino minor problem here. I am : currently debugging some part of FreeBSD bridging/vlan'ing kernel : code. Every N minutes I want to add some debugging printf's in kernel

Re: O_NOACCESS?

2003-10-30 Thread andi payn
On Thu, 2003-10-30 at 07:46, andi payn wrote: > As far as I can tell, FreeBSD doesn't have anything equivalent to > linux's O_NOACCESS (which is not in any of the standard headers, but > it's equal to O_WRONLY | O_RDWR, or O_ACCMODE). In linux, this can be > used to say, "give me an fd for this fil

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

2003-10-30 Thread Bruce M Simpson
On Wed, Oct 29, 2003 at 10:01:16AM +0100, Andreas Klemm wrote: > Is there a freebsd tool that shows you in realtime, which users > are logged in from remote using which pty port ? Check out the whowatch port. BMS ___ [EMAIL PROTECTED] mailing list http:

Re: non-root process and PID files

2003-10-30 Thread Christopher Vance
On Thu, Oct 30, 2003 at 03:45:24AM -0800, Terry Lambert wrote: Christopher Vance wrote: You can already mark a fd 'close on exec'. May I suggest a different feature: the ability to mark an open file (not just its fd) 'remove on close', with permission checked at mark time rather than close time (t

Re: libwrap crash

2003-10-30 Thread Dan Langille
On 30 Oct 2003 at 9:42, Dan Langille wrote: > I've been tracking down a libwrap call which crashes the application. > The crash occurs on line 395 of contrib/tcp_wrappers/options.c, but > I have no idea. I've been given some help in this offline. Apparently, the bacula code is incorrectly us

Re: Crash 4.9-RC during heavy I/O, crashdump available.

2003-10-30 Thread Kees Jan Koster
Dear All, > > *snip crash details* > So... Uhm... Anyone? I have gotten only one reply so far, from someone who says he's seen the same thing. Is there anyone who can help me get more details on what is happening? I have no experience with crashdumps and I will need a few pointers as to what I s

Re: 5.x kernel config changes?

2003-10-30 Thread Leo Bicknell
In a message written on Thu, Oct 30, 2003 at 02:55:50PM -0500, John Baldwin wrote: > > 3) There seems to be no more LINT or other listing of all the options. > >Why? In particular I needed "options NETATALK" but couldn't remember > >the name and there was no file to quickly grep. Has the

make_dev & cdevsw_add (Is there anyone that could answer this ?)

2003-10-30 Thread (rp)
Hello (again)! 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 relat

Re: 5.x kernel config changes?

2003-10-30 Thread Brooks Davis
On Thu, Oct 30, 2003 at 02:40:53PM -0500, Leo Bicknell wrote: > > 3) There seems to be no more LINT or other listing of all the options. >Why? In particular I needed "options NETATALK" but couldn't remember >the name and there was no file to quickly grep. Has the list of >options be

RE: 5.x kernel config changes?

2003-10-30 Thread John Baldwin
On 30-Oct-2003 Leo Bicknell wrote: > > I just built my first 5.1-RELEASE box requiring a custom kernel, and > noticed some interesting things. > > 1) It appears IPFW just works (eg, configure it in /etc/rc.conf). It >used to be you had to compile it in. What's interesting to me is >tha

Re[2]: stupid C language question

2003-10-30 Thread Nickolay A. Kritsky
Hello Tim & -hackers, zillion thanks to all who answered. Now I think that I understand :) Thursday, October 30, 2003, 10:45:42 PM, you wrote: TK> Nickolay A. Kritsky wrote: >> When >> I change some .c files in src/sys/net directory, do I need to do 'make >> depend && make kernel' or I can just

5.x kernel config changes?

2003-10-30 Thread Leo Bicknell
I just built my first 5.1-RELEASE box requiring a custom kernel, and noticed some interesting things. 1) It appears IPFW just works (eg, configure it in /etc/rc.conf). It used to be you had to compile it in. What's interesting to me is that IPFW options are not in generic, and I didn't th

stupid C language question

2003-10-30 Thread Nickolay A. Kritsky
Hello freebsd-hackers, My fellow freebsd-hackers! I ran ino minor problem here. I am currently debugging some part of FreeBSD bridging/vlan'ing kernel code. Every N minutes I want to add some debugging printf's in kernel or remove some previously installed. And now - a stupid question! When I ch

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

2003-10-30 Thread Garance A Drosihn
At 11:18 PM -0500 10/29/03, Robert Watson wrote: 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. For FreeBSD, we provide a cvsweb interface that is extremely useful for tracking changes, but a little less useful for

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

2003-10-30 Thread Robert Watson
On Thu, 30 Oct 2003, Hiten Pandya wrote: > Thank you very very much! ;-) > > Atlast, someone got to it. I have been wanting to setup LXR for > DragonFly for quite some time now, but did not have enough time > on my hands to mess with it. Does it require any sort of >

Re: how to monitor remote users

2003-10-30 Thread Matt Freitag
On Wed, Oct 29, 2003 at 3:01 AM, Andreas Klemm wrote: > 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. > The closest th

Re: POSIX Threads

2003-10-30 Thread Dan Nelson
In the last episode (Oct 30), Isaac Gelado said: > Dan Nelson escribiÃ: > >In the last episode (Oct 29), Isaac Gelado said: > >>This schema is working correctly in a linux machine, so when a > >>packet is captured an CORBA event is sent to clients. But, when the > >>server is running under FreeBSD

kevent and related stuff

2003-10-30 Thread andi payn
First, let me mention that I'm not nearly as experienced coding for *BSD as for linux, so I may ask some stupid questions. I've been looking at the fam port, and this has brought up a whole slew of questions. I'm not sure if all of them are appropriate to this list, but I don't know who else to as

O_NOACCESS?

2003-10-30 Thread andi payn
As far as I can tell, FreeBSD doesn't have anything equivalent to linux's O_NOACCESS (which is not in any of the standard headers, but it's equal to O_WRONLY | O_RDWR, or O_ACCMODE). In linux, this can be used to say, "give me an fd for this file, but don't try to open it for reading or writing or

libwrap crash

2003-10-30 Thread Dan Langille
I've been tracking down a libwrap call which crashes the application. The crash occurs on line 395 of contrib/tcp_wrappers/options.c, but I have no idea. The situation: - The daemon starts on the remote client. - Connection is attempted from another box via port 9102 - The daemon uses hosts_ac

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

2003-10-30 Thread Hiten Pandya
Robert Watson (Wed, Oct 29, 2003 at 11:18:51PM -0500) wrote: > > 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 co

Re: non-root process and PID files

2003-10-30 Thread Terry Lambert
Christopher Vance wrote: > You can already mark a fd 'close on exec'. > > May I suggest a different feature: the ability to mark an open file > (not just its fd) 'remove on close', with permission checked at mark > time rather than close time (this status forgotten if not permitted > when set) and

Re: freeing data segment

2003-10-30 Thread Terry Lambert
"Vinod R. Kashyap" wrote: > 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

Re: [SOLVED] [4.8-RELEASE - Stable, 5.1-RELEASE] Panics when system loaded

2003-10-30 Thread Jaco H. van Tonder
On Mon, Oct 27, 2003 at 01:08:18PM +0200, Jaco van Tonder wrote: >> Can anybody perhaps give a hint in which direction to look or to make this >> go away? >Do you have stale modules loaded? > >Kris Hi all, This problem was solved. The culprit was a bad memory module. :( Thanks to all for your i

Re: POSIX Threads

2003-10-30 Thread Isaac Gelado
Dan Nelson escribió: 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

Re: freeing data segment

2003-10-30 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Vinod R. Kashyap" <[EMAIL PROTECTED]> writes: : : 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 tryin