mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Changing sysctl values within the kernel?
@ 2006-11-25 19:11 David Johnson
  2006-11-26 20:38 ` Alexey Dobriyan
  0 siblings, 1 reply; 3+ messages in thread
From: David Johnson @ 2006-11-25 19:11 UTC (permalink / raw)
  To: linux-kernel

Hi all,

I'm working on a kernel module and want to change sysctl values (specifically 
stop-a and printk) in response to a hardware event.

Is there an accepted way of setting sysctl values within the kernel (I can't 
seem to find any other module doing this), or is it a completely silly idea?

Would it perhaps be better to instead create a sysfs node and let a userspace 
daemon worry about setting the sysctl values?

Any advice greatly appreciated!

David.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-11-27  9:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-25 19:11 Changing sysctl values within the kernel? David Johnson
2006-11-26 20:38 ` Alexey Dobriyan
2006-11-27  9:40   ` David Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®