[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pengfork-devel] Work state
From: |
Jean-Charles Salzeber |
Subject: |
Re: [Pengfork-devel] Work state |
Date: |
Mon, 26 Aug 2002 00:09:39 +0200 |
User-agent: |
Mutt/1.5.1i |
Sorry Laurent, I've forgotten cc'ing the list
----- Forwarded message from Jean-Charles Salzeber <address@hidden> -----
From: Jean-Charles Salzeber <address@hidden>
Subject: Re: [Pengfork-devel] Work state
To: lordheavy <address@hidden>
Date: Sun, 25 Aug 2002 23:28:18 +0200
User-Agent: Mutt/1.5.1i
Message-ID: <address@hidden>
On Sun, Aug 25, 2002 at 18:36, lordheavy wrote:
> it's segfault with root user, file tun.c :
>
> line 106 : strcpy (PARAM_INTERFACE_NAME, ifr.ifr_name);
>
> must be strcpy (ifr.ifr_name, PARAM_INTERFACE_NAME);
>
> it seem better :)
>
This is not the mistake here :), in fact the memory pointed by
PARAM_INTERFACE_NAME is not writable...
If you uncomment the line 'interface_name = tun0' in peng.cf the memory
will be allocated, so this will not 'core dump' (this is a hack I know)
But what is interesting here, is it seems that you have a working system!
Could you say what kernel version do you use?
And propably if you do a 'cat </dev/net/tun' this will not say an error
(File descriptor in bad state)
> Laurent
Thanks
JC
----- End forwarded message -----
pgpdQkX8z8XVC.pgp
Description: PGP signature
- [Pengfork-devel] Work state, Jean-Charles Salzeber, 2002/08/24
- Re: [Pengfork-devel] Work state, lordheavy, 2002/08/25
- Re: [Pengfork-devel] Work state, Nicolas Burrus, 2002/08/25
- Re: [Pengfork-devel] Work state, Jean-Charles Salzeber, 2002/08/25
- Re: [Pengfork-devel] Work state, Nicolas Burrus, 2002/08/25
- Re: [Pengfork-devel] Work state, Jean-Charles Salzeber, 2002/08/26
- Re: [Pengfork-devel] Work state, Nicolas Burrus, 2002/08/26
- Re: [Pengfork-devel] Work state, Jean-Charles Salzeber, 2002/08/26
- Re: [Pengfork-devel] Work state, Nicolas Burrus, 2002/08/26
- Re: [Pengfork-devel] Work state,
Jean-Charles Salzeber <=