s");
exit(1);
}
arg = RATE;
if (ioctl(fd, SNDCTL_DSP_SETRATE, &arg) < 0)
{
perror("ioctl setrate");
exit(1);
}
}
/* End of source */
- Original Message -
From: "Robert Watson" <[EMAIL PROTECTED]>
To: "S
same results on multiple FreeBSD machines, each different
versions spanning 4.10-RELEASE to 5.2.1-RELEASE (and my 5.3-BETA7 machine).
Shawn Webb
http://retoros.org:81/
(attached is the source code to the segfaulting application)
___
[EMAIL PROTECTED] ma
You could overwrite sysent[SYS_kldload] to point to your own kldload
function. After you do what you want to, you return what the original
kldload returns. Meaning, call the original kldload and return it's value.
int (*orig_kldload)(struct thread *, struct kldload_args *) =
sysent[SYS_kldload];
i
ping google with the module loaded, I get:
-su-2.05b# ping google.com
ping: cannot resolve google.com: Host name lookup failure
Why doesn't this code work?
Thanks,
Shawn Webb
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/lis
ybe
> the ways of changing the syscall table has changed.
>
> Am I mistaken?
>
> In not too much importance, but relevant to my question, the reason why I'm
> asking, is I was presented to write an IPS (Intrusion Prevent
5 matches
Mail list logo