On Tue, 23 Jan 2007 14:10:19 +0100
Max Laier <[EMAIL PROTECTED]> wrote:
[..]
td->td_proc->p_ucred has the user credentials. You
probably want to do
your checks in userland_sysctl() according to the
comment just above.
Thanks, it is really what I need.
Now I have once more question.
I made the kernel object with one check-function and all
works fine from userland via syscall().
Is there a documented possibility to use syscalls _inside_
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).
My goal is to avoid kernel rebuilding each time after
function modification.
Is it possible?
--
Andrew N. Below
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"