All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Lockhart <Thomas.Lockhart@domain.hid>
To: luxInteg <lux-integ@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] preferred  uid?
Date: Tue, 10 May 2011 10:32:48 -0700	[thread overview]
Message-ID: <4DC976C0.6000506@domain.hid> (raw)
In-Reply-To: <201105101823.50226.lux-integ@domain.hid>

luxInteg wrote:
> greetings
>
> I normally  compile stuff as an ordinary user,  but   I noticed in this area   
> people often compile as root as  kernel  modules are involved.   I note 
> xenomai can be compiled either as user or root so  is there a preferred way ?
>   
The patched kernel and fundamental Xenomai kernel modules must be 
installed and loaded as root, but can in principle be built by any user. 
The userland Xenomai libraries could be built by any user but (for my 
systems anyway) are installed in areas requiring root permissions. Code 
you build yourself on top of userland Xenomai can be built by any user 
(this is what I do), but must be run with a subset of root permissions 
to allow setting thread priorities etc.

hth

                                       - Tom



  reply	other threads:[~2011-05-10 17:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-10 17:23 [Xenomai-help] preferred uid? luxInteg
2011-05-10 17:32 ` Thomas Lockhart [this message]
2011-05-10 18:20 ` Wolfgang Denk
2011-05-10 19:23 ` Gilles Chanteperdrix
2011-05-11 15:31   ` luxInteg
2011-05-11 15:32     ` Gilles Chanteperdrix
2011-05-12 21:01       ` luxInteg
2011-05-12 21:05         ` Philippe Gerum

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=4DC976C0.6000506@domain.hid \
    --to=thomas.lockhart@domain.hid \
    --cc=lux-integ@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.