how to deny reading of several sysctls (for a set of uids, f.e.)

Andrew N. Below defan at zenon.net
Wed Jan 24 13:23:07 UTC 2007


On Tue, 23 Jan 2007 14:10:19 +0100
  Max Laier <max at love2party.net> 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


More information about the freebsd-hackers mailing list