memset bugs.

2007-08-14 Thread Dave Jones
A grep I crafted to pick up on some common bugs happened upon a copy of the FreeBSD CVS tree that I happened to have handy and found the bugs below where the 2nd & 3rd arguments to memset calls have been swapped. I'm unfamiliar with how patch submission works in FreeBSD, but hopefully someone can

A question about creating a system call

2012-11-07 Thread dave jones
Hello, I know how to create system calls, but I'm a bit confused about sys/kern/syscalls.master file explained. For example, if I have a foo system call, following code is added: 532 AUE_NULLSTD { int foo(char *str); } The question is in column two AUE_NULL, can I replace it with