All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Johan Borkhuis <j.borkhuis@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] Group-based RT caps
Date: Fri, 29 Jun 2007 10:11:21 +0200	[thread overview]
Message-ID: <4684BEA9.1050705@domain.hid> (raw)
In-Reply-To: <4684BD02.1070002@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]

Johan Borkhuis wrote:
> Jan Kiszka wrote:
>> I couldn't resist, the approach looked too simple and appealing:
>> http://www.rts.uni-hannover.de/rtaddon/patches/xenomai/rt-caps-group.patch
>>
>>
>> Actually, it's even more advanced than realtime-lsm in so far as it also
>> checks for secondary group membership. You can use the nucleus module
>> parameter "xenomai_gid" to control the Xenomai group, also during
>> runtime using /sys.
>>
>> Works nicely for me. I'm able to run testsuite programs under my user
>> account that now additionally belongs to the "xenomai" group. :)
>>
>> Jan
>>   
> 
> I used the patch (and reversed my modification of MLOCK_LIMIT) and this
> works OK now, on a plain 2.3.1 version. Thanks!

Nice to hear.

> 
> One thing I would like to see is to have the xenomai_gid parameter as a
> kernel config parameter, next to the module parameter. The default can
> be -1, but I would like to have my configured xenomai-group as the
> default value, so I don't have to pass an extra parameter or modify
> /sys/module/xeno_nucleus/parameters/xenomai_gid.

Build the nucleus into the kernel, and you'll have it (with kernel 2.6
at least): "xeno_nucleus.xenomai_gid=<some-gid>"

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2007-06-29  8:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-26  8:53 [Xenomai-help] Xenomai and mlockall Fillod Stephane
2007-06-26  9:21 ` [Xenomai-core] Group-based RT caps (was: [Xenomai-help] Xenomai and mlockall) Jan Kiszka
2007-06-26  9:30   ` [Xenomai-core] [Xenomai-help] Group-based RT caps Jan Kiszka
2007-06-28 10:25   ` [Xenomai-core] " Jan Kiszka
2007-06-28 10:52     ` Gilles Chanteperdrix
2007-06-28 17:33       ` Jan Kiszka
2007-06-29  8:04     ` Johan Borkhuis
2007-06-29  8:11       ` Jan Kiszka [this message]
2007-06-29  8:15         ` Jan Kiszka
2007-06-29  8:41           ` Johan Borkhuis

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=4684BEA9.1050705@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=j.borkhuis@domain.hid \
    --cc=xenomai@xenomai.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.