Re: FreeBSD 5.3: Sharedlibs using sharedlibs (and Tcl)

2005-03-17 Thread Peter Much
On Wed, Mar 16, 2005 at 03:35:16PM +0100, Palle Girgensohn wrote: ! ! --On onsdag, mars 16, 2005 11.43.31 +0100 Peter Much ! [EMAIL PROTECTED] wrote: ! ! ! So, you're saying that pctclsh *can* access, but pgaccess *cannot*? ! Odd... ! I would expect they'd both use the same lib to connect, no?

Fwd: problem due to hostname change

2005-03-17 Thread Pietro Cerutti
Hi Hackers, I posted this on freebsd-questions, but couldn't find a solution... Maybe here Thank you! Please: don't Cc me, I'm on the list! -- Forwarded message -- From: Pietro Cerutti [EMAIL PROTECTED] Date: Thu, 17 Mar 2005 15:04:45 + Subject: Re: problem due to

Re: Fwd: problem due to hostname change

2005-03-17 Thread Eric Anderson
Pietro Cerutti wrote: Hi Hackers, I posted this on freebsd-questions, but couldn't find a solution... Maybe here Thank you! Please: don't Cc me, I'm on the list! -- Forwarded message -- From: Pietro Cerutti [EMAIL PROTECTED] Date: Thu, 17 Mar 2005 15:04:45 + Subject: Re:

Re: problem due to hostname change

2005-03-17 Thread Pietro Cerutti
On Thu, 17 Mar 2005 07:38:49 -0800, Ted Mittelstaedt [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Pietro Cerutti Sent: Thursday, March 17, 2005 7:05 AM To: Lowell Gilbert Cc: FreeBSD Subject: Re: problem due to

style(9) example :-)

2005-03-17 Thread Roman Kurakin
Hi, I was unable to refrain from posting this :-) int i;main(){for(;i[]i;++i){--i;}];read('-'-'-',i+++hell\ o, world!\n,'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);} Best regards, rik ___ freebsd-hackers@freebsd.org mailing list

How to send a signal from inside the kernel?

2005-03-17 Thread Aziz KEZZOU
Hi all, I would like to send a signal (e.g SIGUSR1) to a user process from inside the kernel (kld module). Can any one tell me how to do it ? I tried the following code inspired from sys/kern/kern_sig.c : == #include sys/types.h #include

Re: How to send a signal from inside the kernel?

2005-03-17 Thread John-Mark Gurney
Aziz KEZZOU wrote this message on Thu, Mar 17, 2005 at 12:34 -0500: Hi all, I would like to send a signal (e.g SIGUSR1) to a user process from inside the kernel (kld module). Can any one tell me how to do it ? I tried the following code inspired from sys/kern/kern_sig.c :

Re: How to send a signal from inside the kernel?

2005-03-17 Thread Aziz KEZZOU
Aziz KEZZOU wrote this message on Thu, Mar 17, 2005 at 12:34 -0500: Hi all, I would like to send a signal (e.g SIGUSR1) to a user process from inside the kernel (kld module). Can any one tell me how to do it ? I tried the following code inspired from sys/kern/kern_sig.c :

Re: Freebsd 5.0 NICs issue

2005-03-17 Thread Amandeep Pannu
Hi I have a machine running FreeBSD 5.0 , it is actually my Primary DNS server. it has two Nics. em0 and em1 Now the em0 nic is up with 205.229.165.4 netmask 255.255.255.0 When I try to do ifconfig em1 inet 205.229.165.8 netmask 255.255.255.0 up it say File exists. then i read that the netmask

Re: style(9) example :-)

2005-03-17 Thread Giorgos Keramidas
On 2005-03-17 19:33, Roman Kurakin [EMAIL PROTECTED] wrote: Hi, I was unable to refrain from posting this :-) int i;main(){for(;i[]i;++i){--i;}];read('-'-'-',i+++hell\ o, world!\n,'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);} I've written stuff that's probably a bit harder to read, but in

NO_TCSH leaves crud in /usr/src

2005-03-17 Thread Doug Barton
This issue has been around a long time, but I keep forgetting to post it. When I enable NO_TCSH in /etc/make.conf, after a build/installworld I get this in /usr/src: ? bin/csh/gethost ? bin/csh/sh.err.h ? bin/csh/tc.const.h They don't seem to hurt anything, but it would be nice to get this

Re: How to send a signal from inside the kernel?

2005-03-17 Thread John-Mark Gurney
Aziz KEZZOU wrote this message on Thu, Mar 17, 2005 at 14:55 -0500: Aziz KEZZOU wrote this message on Thu, Mar 17, 2005 at 12:34 -0500: Hi all, I would like to send a signal (e.g SIGUSR1) to a user process from inside the kernel (kld module). Can any one tell me how to do it ? I

Re: NO_TCSH leaves crud in /usr/src

2005-03-17 Thread Colin Percival
Doug Barton wrote: This issue has been around a long time, but I keep forgetting to post it. When I enable NO_TCSH in /etc/make.conf, after a build/installworld I get this in /usr/src: ? bin/csh/gethost ? bin/csh/sh.err.h ? bin/csh/tc.const.h They don't seem to hurt anything, but it

Re: style(9) example :-)

2005-03-17 Thread Roman Kurakin
Giorgos Keramidas: On 2005-03-17 19:33, Roman Kurakin [EMAIL PROTECTED] wrote: Hi, I was unable to refrain from posting this :-) int i;main(){for(;i[]i;++i){--i;}];read('-'-'-',i+++hell\ o, world!\n,'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);} I've written stuff that's probably a bit

IP over FireWire and Mac OSX

2005-03-17 Thread Rex Roof
I have a FreeBSD 5.3 i386 machine I installed today, then ran cvsup with tag=RELENG_5_3. then I rebuilt my kernel with these options in: # FireWire support device firewire device sbp device fwe device fwip options DEVICE_POLLING I plugged this machine

Re: style(9) example :-)

2005-03-17 Thread Giorgos Keramidas
On 2005-03-18 00:50, Roman Kurakin [EMAIL PROTECTED] wrote: Giorgos Keramidas: On 2005-03-17 19:33, Roman Kurakin [EMAIL PROTECTED] wrote: I was unable to refrain from posting this :-) int i;main(){for(;i[]i;++i){--i;}];read('-'-'-',i+++hell\ o,

Re: Freebsd 5.0 NICs issue

2005-03-17 Thread Amandeep Pannu
Hi Guys, Anything on this. Any help would be great. Thanks A Hi I have a machine running FreeBSD 5.0 , it is actually my Primary DNS server. it has two Nics. em0 and em1 Now the em0 nic is up with 205.229.165.4 netmask 255.255.255.0 When I try to do ifconfig em1 inet 205.229.165.8

Re: How to send a signal from inside the kernel?

2005-03-17 Thread Max Laier
On Thursday 17 March 2005 20:55, Aziz KEZZOU wrote: Here are the headers needed in case someone reads this thread: #include unistd.h /*needed only for NULL, can be removed*/ #include sys/types.h #include sys/param.h As a community service: Style(9) instructs to include either sys/types.h OR

Re: style(9) example :-)

2005-03-17 Thread Greg 'groggy' Lehey
On Thursday, 17 March 2005 at 19:33:50 +0300, Roman Kurakin wrote: Hi, I was unable to refrain from posting this :-) int i;main(){for(;i[]i;++i){--i;}];read('-'-'-',i+++hell\ o, world!\n,'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);} There used to be a whole culture of this sort of thing.

Re: How to send a signal from inside the kernel?

2005-03-17 Thread Joseph Koshy
Here are the headers needed in case someone reads this thread: #include unistd.h /*needed only for NULL, can be removed*/ #include sys/types.h #include sys/param.h #include sys/lock.h #include sys/mutex.h #include sys/proc.h According to the manual page for psignal(9) in -current, you

Re: Freebsd 5.0 NICs issue

2005-03-17 Thread Joseph Koshy
ifconfig em1 inet 205.229.165.8 netmask 255.255.255.0 up ifconfig em1 alias ALIAS-ADDRESSS netmask NETMASK -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy ___ freebsd-hackers@freebsd.org mailing list

Re: some bugs in the kernel

2005-03-17 Thread David Schultz
On Mon, Mar 14, 2005, Ted Unangst wrote: These bugs were found using the Coverity Prevent static analysis tool. [...] Thanks for reporting these! It's great that your tools have been finding all these obscure bugs before users do. All of these should be fixed now, except for the if_ti bug,

Re: Freebsd 5.0 NICs issue

2005-03-17 Thread Daniel O'Connor
On Fri, 18 Mar 2005 06:47, Amandeep Pannu wrote: Now the em0 nic is up with 205.229.165.4 netmask 255.255.255.0 ifconfig em1 inet 205.229.165.8 netmask 255.255.255.0 up You can't have 2 NIC's on the same subnet (you can't have 2 IPs on any NIC in the same subnet). Why do you want to do this?