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 David CM Weber
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 > -Original Message- > From: David CM Weber > Sent: Friday, July 20, 2001 12:45 PM > To: [EMAIL PROTEC

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