Thank you very much for the help so far
the functions open() and write() expect there arguments to be in user space
and not kernel space, which is what I was doing wrong. My question is, how
then would you go about opening and editing a file from the kernel?
To Unsubscribe: send mail to [EMAIL P
Hello
I am experimenting with kernel modules and am trying to write to a file.
This is the syscall function (sorry of my terminology is messed up)
static int write_file(struct proc *p, void *arg) {
struct write_args *wstructure;
struct open_args *ostructure;
ostructure->p
Hello
I am experimenting with kernel modules and am trying to write to a file.
This is the syscall function (sorry of my terminology is messed up)
static int write_file(struct proc *p, void *arg) {
struct write_args *wstructure;
struct open_args *ostructure;
ostructure->p
Hello.
I am reading TCP/IP Illustrated and it is making references to variables in
the BSD4.4 code. I would like to use these same variables, specifically the
variable ifnet, which was declared in BSD4.4 as a struct ifnet *ifnet,
according to TCP/IP Illustrated. The name of the variable has chan
4 matches
Mail list logo