All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Levon <moz@compsoc.man.ac.uk>
To: linux-kernel@vger.kernel.org
Subject: rmmod whilst reading/writing sysctl
Date: Wed, 31 Oct 2001 02:21:05 +0000	[thread overview]
Message-ID: <20011031022104.C22156@compsoc.man.ac.uk> (raw)


Where is the prevention of module unload whilst a sysctl from a module is being read/written ?

sysctl syscall is protected by BKL, but I can't see similar code for the cat >/proc/sys/...
case

If there is none, how do I support sysctl from a module safely ?

thanks
john

-- 
"I'm dismayed whenever libertarianism and programming are associated; in my
 mind, it is as nebulous as associating people who write books as communists or
 those who read newspapers as capitalists."
	- graydon

             reply	other threads:[~2001-10-31  2:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-31  2:21 John Levon [this message]
2001-10-31  2:33 ` rmmod whilst reading/writing sysctl Alexander Viro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011031022104.C22156@compsoc.man.ac.uk \
    --to=moz@compsoc.man.ac.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.