RE: Simple LKM & copy_from_user question (followup)

2001-07-20 Thread David CM Weber
0-422-7900 > -Original Message- > From: Randy.Dunlap [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 20, 2001 4:39 PM > To: David CM Weber > Cc: [EMAIL PROTECTED] > Subject: Re: Simple LKM & copy_from_user question (followup) > > > Hi- > > I'll sug

Re: Simple LKM & copy_from_user question (followup)

2001-07-20 Thread Randy.Dunlap
/ > > gcc -O3 -c main.c > > Thanks in advance, > > Dave Weber > Backbone Security, Inc. > 570-422-7900 > > > -Original Message- > > From: David CM Weber > > Sent: Friday, July 20, 2001 12:45 PM > > To: [EMAIL PROTECTED] > > Subjec

RE: Simple LKM & copy_from_user question (followup)

2001-07-20 Thread Richard B. Johnson
On Fri, 20 Jul 2001, David CM Weber wrote: > Attached is the file I"m having problems with. I'm compiling it w/ > > gcc -O3 -c main.c > > Thanks in advance, > > > Dave Weber > Backbone Security, Inc. > 570-422-7900 > Top line: #define __KERNEL__ ... compiles without any errors, one warn

Re: Simple LKM & copy_from_user question (followup)

2001-07-20 Thread John Polyakov
On Fri, 20 Jul 2001 16:26:43 -0400 "David CM Weber" <[EMAIL PROTECTED]> wrote: DCW> Attached is the file I"m having problems with. I'm compiling it w/ DCW> gcc -O3 -c main.c DCW> Thanks in advance, There is a Makefile for you in attachment. Here is lsmod output: It's work :) [root@Sombre l

RE: Simple LKM & copy_from_user question (followup)

2001-07-20 Thread David CM Weber
TED] > Subject: Simple LKM & copy_from_user question > > > Hello all. I've been lurking for a while, and I have a quick > question. > I'm in the process of writing my first LKM to mess with the > sys_socketcall function. I'm looking at the original one for

Simple LKM & copy_from_user question

2001-07-20 Thread David CM Weber
Hello all. I've been lurking for a while, and I have a quick question. I'm in the process of writing my first LKM to mess with the sys_socketcall function. I'm looking at the original one for guidance, and it makes a call to copy_from_user() to get some socket-related data. So, to use copy_from