Is it possible to make nodes dynamically that are immutable from userland
(even by root), but modifyable from the kernel?
On Mon, 29 Nov 1999, Andrzej Bialecki wrote:
Yes. See for example linux emulator or my SPY module:
http://www.freebsd.org/~abial/spy
You can also create
On Wed, 8 Dec 1999, Dan Seguin wrote:
Is it possible to make nodes dynamically that are immutable from userland
(even by root), but modifyable from the kernel?
Yes, of course. Just mark them as read-only (CTLFLAG_RD). You are free to
assign any value to them within the kernel. If it's more
On Mon, Nov 29, 1999 at 10:09:35AM +0100, Andrzej Bialecki wrote:
I was thinking about implementing SMP cpu stats using sysctl today and
I have a question - can I create sysctl nodes dynamically ?
i.e.
for (cpu = 0; cpu get_num_cpus(); cpu++) {
/* create sysctl
On Wed, 8 Dec 1999, Arun Sharma wrote:
On Mon, Nov 29, 1999 at 10:09:35AM +0100, Andrzej Bialecki wrote:
I was thinking about implementing SMP cpu stats using sysctl today and
I have a question - can I create sysctl nodes dynamically ?
i.e.
for (cpu = 0; cpu
On Wed, Dec 08, 1999 at 05:44:31PM +0100, Andrzej Bialecki wrote:
On Wed, 8 Dec 1999, Arun Sharma wrote:
Erhm.. No.
Look closer at the SPY module. I create the whole branch from the root
level. In the standard system there is no such thing as "kld" node,
neither there is a "spy" node. I
On Wed, 8 Dec 1999, Arun Sharma wrote:
I'm interested in doing something like:
kern.stats.cpu0.idle
kern.stats.cpu0.nice
...
kern.stats.cpu1.idle
kern.stats.cpu1.nice
...
and I want the nodes cpu0, cpu1 etc dynamically created.
It would be better
On Wed, 8 Dec 1999, Arun Sharma wrote:
I'm interested in doing something like:
kern.stats.cpu0.idle
kern.stats.cpu0.nice
...
kern.stats.cpu1.idle
kern.stats.cpu1.nice
...
and I want the nodes cpu0, cpu1 etc dynamically created.
It would be better
On Sun, 28 Nov 1999, Arun Sharma wrote:
[ For some reason, this post through muc.lists.freebsd.hackers gateway didn't
show up on the mailing list. Forwarding it to the mailing list.. ]
On Thu, 04 Nov 1999 20:38:50 -0800, Mike Smith [EMAIL PROTECTED] wrote:
I don't see any examples in
8 matches
Mail list logo