Re: how to deny reading of several sysctls (for a set of uids, f.e.)
- From: "Andrew N. Below" <defan@xxxxxxxxx>
- Date: Wed, 24 Jan 2007 17:16:51 +0300
modules.Is there a documented possibility to use syscalls _inside_Hi Andrew,
kernel code?
In other words, I need to call the function located in
loadable kernel object from kernel, doesn't matter how
this would be done (syscall, etc).
You can redirect syscalls to another function with loadable kernel
Some documentation/examples you might want to read first:http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/driverbasics-
/usr/share/examples/kld
http://www.r4k.net/mod/fbsdfun.html
http://packetstormsecurity.org/papers/unix/bsdkern.htm
kld.html
Thanks for these links, I have already seen them while googling around
last night and now I'm in process of understanding, heh.
Some things seems hard to get in becouse I'm working with RELENG_6,
and examples/info in those tutorials are for 4.x (struct proc instead of
struct thread, etc.) :)
Anyway, thanks. Will try to go forward.
--
Andrew N. Below
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Prev by Date: Re: how to deny reading of several sysctls (for a set of uids, f.e.)
- Next by Date: Re: atacontrol kernel crash (atausb?)
- Previous by thread: Re: how to deny reading of several sysctls (for a set of uids, f.e.)
- Next by thread: Page fault in vfs_hash_get on 6.2
- Index(es):