Re: System calls in user and kernel space

2007-07-31 Thread Parag N(पराग़)
Hi, On 7/31/07, Jug Venkatesh <[EMAIL PROTECTED]> wrote: > Hi, > > I am writing new system calls for a security project, and I was > wondering if there is any way to specify whether they will be accessible > from user space or kernel space. Basically, I am writing a monitor that > writes to a buffe

Re: System calls in user and kernel space

2007-07-31 Thread Manish Katiyar
Hi, How is your program supposed to know that you have a syscall with that name ??..Did you defined the _syscalln() macro correctly in your program ? ...See adding a system call chapter from the book UKL. Hope that helps On 7/31/07, Greg KH <[EMAIL PROTECTED]> wrote: > > On Tue, Jul 31,

Re: System calls in user and kernel space

2007-07-31 Thread Greg KH
On Tue, Jul 31, 2007 at 02:08:55PM -0400, Jug Venkatesh wrote: > Hi, > > I am writing new system calls for a security project Um, you might want to stop right there :) Are you _sure_ you need a new system call? > , and I was wondering if > there is any way to specify whether they will be a

Re: System calls in user and kernel space

2007-07-31 Thread Avishay Traeger
On Tue, 2007-07-31 at 14:08 -0400, Jug Venkatesh wrote: > Hi, > > I am writing new system calls for a security project, and I was > wondering if there is any way to specify whether they will be accessible > from user space or kernel space. System calls are by definition called only from user-sp

Re: [***SPAM*** Score/Req: 6.1/5.0] System calls in user and kernel space

2007-07-31 Thread Dinesh Bhat
Most likely you don't have the correct libraries in compile path. Post your Makefile with the errors you are getting and someone would be able to help you. Dinesh Jug Venkatesh wrote: Hi, I am writing new system calls for a security project, and I was wondering if there is any way to specif

System calls in user and kernel space

2007-07-31 Thread Jug Venkatesh
Hi, I am writing new system calls for a security project, and I was wondering if there is any way to specify whether they will be accessible from user space or kernel space. Basically, I am writing a monitor that writes to a buffer, and I would like to be able to use this both in the programs