Remote Debugging using GDB on Linux

2004-04-20 Thread William M. Grim
Hi! Is it possible to do remote debugging of the FreeBSD kernel over a serial connection using Linux? FreeBSD has a special -k switch that Linux does not for GDB; so, I'm not even sure it's possible without a lot of work. Thanks in advance for your replies. -- William Michael Grim Student,

Re: Detecting 'floppy' like umass devices

2004-04-20 Thread Bernd Walter
On Mon, Apr 19, 2004 at 10:47:48PM +0930, Daniel O'Connor wrote: A friend of mine handed me a USB flash key today that has 2 'partition' - one 1.44Mb chunk pretends to be a floppy drive and the rest is a normal umass device. I am wondering if there is any way of telling if a given umass

Re: [patch] Raw sockets in jails

2004-04-20 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Christian S.J. Peron w rites: Although RAW sockets can be used when specifying the source address of packets (defeating one of the aspects of the jail) some people may find it usefull to use utilities like ping(8) or traceroute(8) from

[patch] Raw sockets in jails

2004-04-20 Thread Christian S.J. Peron
Although RAW sockets can be used when specifying the source address of packets (defeating one of the aspects of the jail) some people may find it usefull to use utilities like ping(8) or traceroute(8) from inside jails. Enclosed is a patch I have written

Re: Remote Debugging using GDB on Linux

2004-04-20 Thread Marcel Moolenaar
On Tue, Apr 20, 2004 at 03:17:56AM -0500, William M. Grim wrote: Hi! Is it possible to do remote debugging of the FreeBSD kernel over a serial connection using Linux? FreeBSD has a special -k switch that Linux does not for GDB; so, I'm not even sure it's possible without a lot of work.

Re: [patch] Raw sockets in jails

2004-04-20 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Christian S.J. Peron w rites: Poul/group The following patch makes raw sockets comply with prison IP addresses. Some tools such as traceroute(8) may require that the prison IP address be specified on the command line. I.E. traceroute -s prison ip dest address

Re: Remote Debugging using GDB on Linux

2004-04-20 Thread William M. Grim
Marcel Moolenaar wrote: On Tue, Apr 20, 2004 at 03:17:56AM -0500, William M. Grim wrote: Hi! Is it possible to do remote debugging of the FreeBSD kernel over a serial connection using Linux? FreeBSD has a special -k switch that Linux does not for GDB; so, I'm not even sure it's possible

Help: threading problem in non-threaded applications

2004-04-20 Thread Joe Marcus Clarke
I have a problem I'm hoping someone can help me with. GTK+ 2.4 introduced a new file selection GUI which works just fine in threaded and non-threaded applications. However, GNOME 2.6 augmented this dialog with a dynamically loadable threaded shared object. The GNOME version is automatically

Re: Help: threading problem in non-threaded applications

2004-04-20 Thread Daniel Eischen
On Tue, 20 Apr 2004, Joe Marcus Clarke wrote: I have a problem I'm hoping someone can help me with. GTK+ 2.4 introduced a new file selection GUI which works just fine in threaded and non-threaded applications. However, GNOME 2.6 augmented this dialog with a dynamically loadable threaded

Re: [patch] Raw sockets in jails

2004-04-20 Thread Julian Elischer
hooray! Jails are used for a lot mor ethan just security stuff.. We use them for enviromment isolation. Security to us is just a minor point.. If I could I'd like to be able to turn off: blocking of raw sockets. blocking of chflags. only problem is I'd need it against 4.x.. (I guess I can

Re: [patch] Raw sockets in jails

2004-04-20 Thread Julian Elischer
On Tue, 20 Apr 2004, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Christian S.J. Peron w rites: [...] See PR #: http://www.freebsd.org/cgi/query-pr.cgi?pr=65800 Could you take a peek and see how hard it would be to enforce source-IP compliance with the jail

Re: Remote Debugging using GDB on Linux

2004-04-20 Thread Greg 'groggy' Lehey
On Tuesday, 20 April 2004 at 3:17:56 -0500, William M. Grim wrote: Hi! Is it possible to do remote debugging of the FreeBSD kernel over a serial connection using Linux? FreeBSD has a special -k switch that Linux does not for GDB; so, I'm not even sure it's possible without a lot of work.

Re: Detecting 'floppy' like umass devices

2004-04-20 Thread Daniel O'Connor
On Tue, 20 Apr 2004 18:28, Bernd Walter wrote: I am wondering if there is any way of telling if a given umass device is a floppy drive (or wants to look like one) - eg I have a USB FDD which I imagine should fall into the same basket. What do do you mean with wants to look like one. In

Re: Help: threading problem in non-threaded applications

2004-04-20 Thread Joe Marcus Clarke
On Tue, 2004-04-20 at 17:08, Daniel Eischen wrote: On Tue, 20 Apr 2004, Joe Marcus Clarke wrote: I have a problem I'm hoping someone can help me with. GTK+ 2.4 introduced a new file selection GUI which works just fine in threaded and non-threaded applications. However, GNOME 2.6