From: Chris Wright <chrisw@sous-sol.org>
To: "sej.kernel" <sej.kernel@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: mlock into kernel module
Date: Fri, 12 May 2006 12:08:19 -0700 [thread overview]
Message-ID: <20060512190819.GD2697@moss.sous-sol.org> (raw)
In-Reply-To: <4464A819.2050706@gmail.com>
* sej.kernel (sej.kernel@gmail.com) wrote:
> I need to use mlock and munlock function into a kernel module. How so
> I call this system call from my module ?
You shouldn't.
> I need to do this because I must use mlock in my software, but I can't
> use root or suser to start it. So mlock alwaays fail.
You should be using rlimits for this.
thanks,
-chris
next prev parent reply other threads:[~2006-05-12 19:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-12 15:22 mlock into kernel module sej.kernel
2006-05-12 15:52 ` linux-os (Dick Johnson)
2006-05-12 18:44 ` Arjan van de Ven
2006-05-12 19:08 ` Chris Wright [this message]
[not found] <6bHKI-6a8-9@gated-at.bofh.it>
[not found] ` <6bLbw-344-3@gated-at.bofh.it>
2006-05-15 8:35 ` sej
2006-05-15 17:26 ` Chris Wright
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=20060512190819.GD2697@moss.sous-sol.org \
--to=chrisw@sous-sol.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sej.kernel@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox