Re: Global (non _KERNEL) place for sockaddr_union?

2004-09-22 Thread Bruce M Simpson
Greetings earthmen, On Thu, Sep 23, 2004 at 02:14:00AM +0200, Max Laier wrote: > As no real solution has come up and we couldn't agree what to do with it > either, I'll resort to an easy hack: > http://people.freebsd.org/~mlaier/sockaddr_union.fix.diff ... > Any objections? [ I know it's ugly a

Re: execute a user process in the kernel

2004-09-22 Thread Chris Pressey
On Wed, 22 Sep 2004 18:46:49 -0400 Allan Fields <[EMAIL PROTECTED]> wrote: > On Wed, Sep 22, 2004 at 08:49:11AM +, Gordon David wrote: > > Hello, > > > > I have a question. Anyone would like to tell me how to execute a > > user process or shell script in the kernel? > > You probably really d

Survey on Open Source

2004-09-22 Thread Mike Chan
Dear all, I am conducting a survey on open source software. This is for my academic coursework and dissertation. It will be great to have your support and participation in this survey. This survey has two separate questionnaires, focusing on the following areas: 1) OSS development (Developers

Re: Global (non _KERNEL) place for sockaddr_union?

2004-09-22 Thread Max Laier
On Monday 20 September 2004 02:50, Max Laier wrote: > Hi, > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/71836 is the symptom. Now I > am looking for a clean solution to it. What is needed is an include file > that defines union sockaddr_union in a way that is useable from kernel and > userlan

Re: execute a user process in the kernel

2004-09-22 Thread Allan Fields
On Wed, Sep 22, 2004 at 08:49:11AM +, Gordon David wrote: > Hello, > > I have a question. Anyone would like to tell me how to execute a user > process or shell script in the kernel? You probably really don't want to do this and if you do, there is likely a better approach. > As we know, the

Re: Dell gx280 and acpi problems

2004-09-22 Thread John Baldwin
On Wednesday 22 September 2004 04:58 am, Danny Braniss wrote: > could some acpi expert shed some light? > > -current panics on boot with BIOS default settings (Suspend Mode is S3) > fix: set Power Management/Suspend Mode to S1 in BIOS > > disabling ACPI on boot is not good, since this box has no PS

freebsd kernel buffer overflow patch

2004-09-22 Thread gerarra
Hi, I've seen a potential problem in my patch; SYF_MPSAFE flag for MP safe syscalls is not managed; maybe something like that is better: === kern/kern_syscalls.c: --- kern_syscalls.c Sat Sep 18 13:42:21 2004 +++ kern_syscalls2.cWed Sep 22 20:25:22 2004 @@ -

Re: Some questions about jails

2004-09-22 Thread Claudiu Dragalina-Paraipan
Hi, Matteo Riondato wrote: Hello hackers! I've a few questions about jail(8) and hope you'll be so kind to answer them =) First of all: Why is procfs(5) required inside a jail (speaking about 5.x and 6) ? " As procfs is considered deprecated due to its inherent security risks",why should it be used

Some questions about jails

2004-09-22 Thread Matteo Riondato
Hello hackers! I've a few questions about jail(8) and hope you'll be so kind to answer them =) First of all: Why is procfs(5) required inside a jail (speaking about 5.x and 6) ? " As procfs is considered deprecated due to its inherent security risks",why should it be used inside a jail? Second q

Re: gdb attach on 5.3-beta5?

2004-09-22 Thread Mike Hunter
On Sep 21, "Ryan Sommers" wrote: [snip gdb attach stuff] > Short answer, you still need to supply GDB with the executable name. do > 'gdb -p /path/to/executable'. > > Long answer: http://00f.net/blogs/index.php/2004/09/11/p98 > > Hope this helps! Thanks! With the correct syntax, I am now abl

RE: slow login, app launching, etc

2004-09-22 Thread Bagus
Thanks Tony! I'd been moving and offline for a while, but coming back to this email inspired me to look at my resolve.conf one more time and try using names instead of ip numbers. Upon reboot, everything is lickedy split fast. y'all can check out my ancient java server now up at http://www.bagus.

Re: jump from kernel to loader

2004-09-22 Thread Ryan Sommers
vijay singh said: > hello, i have some exposure to the freebsd code, but not extensive. i am > reading the sys/boot code, and saw that the 3 stage boot process involves > a > jump from the loader to the kernel in the last phase. i was wondering if > it > is possible to engineer the kernel to jump

execute a user process in the kernel

2004-09-22 Thread Gordon David
Hello, I have a question. Anyone would like to tell me how to execute a user process or shell script in the kernel? As we know, the kernel forks a process named initproc and executes /sbin/init, etc. If I want to execute a user level process, such as a simple printf("Hello world") in a driver,

jump from kernel to loader

2004-09-22 Thread vijay singh
hello, i have some exposure to the freebsd code, but not extensive. i am reading the sys/boot code, and saw that the 3 stage boot process involves a jump from the loader to the kernel in the last phase. i was wondering if it is possible to engineer the kernel to jump back to the loader in some

Dell gx280 and acpi problems

2004-09-22 Thread Danny Braniss
could some acpi expert shed some light? -current panics on boot with BIOS default settings (Suspend Mode is S3) fix: set Power Management/Suspend Mode to S1 in BIOS disabling ACPI on boot is not good, since this box has no PS/2, and the USB keyboard/mouse don't work with ACPI off. the acpi dumps