Re: reading a file in kernelmode

2008-07-16 Thread Marc Lörner
Hello David! On Thursday 17 July 2008 01:46, David wrote: > Hello, > > > > I'm developing a FreeBSD kernel module and I'm searching for a good > solution to open/read/close a file. > > My goal is to generate a MD5-Hash of a given file (path). > > > > Open-Syscall seems to be improper. > > > > Any

Free Hardware available: HD-5500 PCHDTV Card.

2008-07-16 Thread Fritz Katz
Hello FreeBSD-Hackers, I have 3 cards to be given away, $129 value. There is a catch -- you need to volunteer to port the card to FreeBSD and make your modifications publically available. Join and contribute to an open source effort to enable Video4Linux drivers to run on BSD here: http://vide

Re: A new kind of security needed

2008-07-16 Thread xorquewasp
I apologise, I'm completely screwing up today. My reply to this thread was obviously supposed to go to [EMAIL PROTECTED] ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: A new kind of security needed

2008-07-16 Thread xorquewasp
> Is anyone else nervous trusting all his programs to have access to all > his files? Is there already a reasonable solution to this problem? I suppose it depends what you're after and how much work you're willing to put in. I can't define "reasonable" but certainly, with a bit of work somebody co

Re: do not strip, compile with debugging symbols

2008-07-16 Thread xorquewasp
On 20080716 18:06:34, Xin LI wrote: > > Maybe you want DEBUG_FLAGS='-O2 -pipe -fno-strict-aliasing -g'? > Ah! Yes, thank you very much. I had to remove the quotes, of course (for the benefit of anyone else reading this in future). xw

Re: do not strip, compile with debugging symbols

2008-07-16 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: | On 20080716 17:37:58, Xin LI wrote: |> -BEGIN PGP SIGNED MESSAGE- |> Hash: SHA1 |> |> [EMAIL PROTECTED] wrote: |> | Hello. |> | |> | What's the correct way to ensure that ports are bui

Re: do not strip, compile with debugging symbols

2008-07-16 Thread xorquewasp
On 20080716 17:37:58, Xin LI wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > [EMAIL PROTECTED] wrote: > | Hello. > | > | What's the correct way to ensure that ports are built with '-g' > | and that binaries/libraries created are not stripped?

Re: do not strip, compile with debugging symbols

2008-07-16 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: | Hello. | | What's the correct way to ensure that ports are built with '-g' | and that binaries/libraries created are not stripped? I'm assuming | the first one involves setting CFLAGS in /etc/make.conf (admittedly, | it's ap

do not strip, compile with debugging symbols

2008-07-16 Thread xorquewasp
Hello. What's the correct way to ensure that ports are built with '-g' and that binaries/libraries created are not stripped? I'm assuming the first one involves setting CFLAGS in /etc/make.conf (admittedly, it's apparently not supported but I'm not building world with this setting anyway). The se

reading a file in kernelmode

2008-07-16 Thread David
Hello, I'm developing a FreeBSD kernel module and I'm searching for a good solution to open/read/close a file. My goal is to generate a MD5-Hash of a given file (path). Open-Syscall seems to be improper. Any ideas/solutions/examples? Thanks a lot Greetings, David __

SYSINIT

2008-07-16 Thread Jacky Oh
Hello, I'm insvestigating about KLD's programming, and I cant find in my way wiht the SYSINIT framework. My problem is that im from spanish, and the SYSINIT concept is more complex for my as I understand in english. My question is, anyone can explain to in a less complex form? please, I would be v

Re: I'm sorry about being a jerk regarding Sysinstall a week or so ago

2008-07-16 Thread Jeremy Chadwick
On Wed, Jul 16, 2008 at 06:40:03AM -0700, Rob wrote: > I've very sorry about being such a jerk about my complaint regarding > Sysinstall a week or so ago. It was a week where I was getting 2 hours of > sleep per day. Finally my PCP had to intervene and knock me out with big > doses of sleeping pi

I'm sorry about being a jerk regarding Sysinstall a week or so ago

2008-07-16 Thread Rob
Hi, I've very sorry about being such a jerk about my complaint regarding Sysinstall a week or so ago. It was a week where I was getting 2 hours of sleep per day. Finally my PCP had to intervene and knock me out with big doses of sleeping pills. :) It occasionally happens, then I have half a d

Re: Can I change the device of the "/" mount point at boot time.

2008-07-16 Thread Tapan Chaudhari
On Tue, Jul 15, 2008 at 11:38 AM, Daniel O'Connor <[EMAIL PROTECTED]> wrote: > On Tue, 15 Jul 2008, Tapan Chaudhari wrote: > >Thanks Deniel for the reply. I am aware of the fact you mentioned > > and will keep in mind. > > Well what i am trying to achieve is a simple thing to write an > > inte