All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Petr Cervenka" <grugh@domain.hid>
To: xenomai-help <xenomai@xenomai.org>
Subject: [Xenomai-help] rt_queue_bind() returns -EACCES
Date: Tue, 09 Aug 2011 17:40:31 +0200	[thread overview]
Message-ID: <20110809174031.7B1346B2@domain.hid> (raw)


Hello everyone.

I'm trying linux kernel 2.6.38.8 together with xenomai 2.5.6.
My application tries to reuse already created rt_queue shared between couple of similiar applications.
When I try to recreate already existing rt_queue by rt_queue_create i get -EEXIST error (as I expected).
But if I try to bind it immediately with rt_queue_bind(&queue, QUEUE_NAME, TM_NONBLOCK) I get -EACCES error.
This error code is not in documentation and with the previously used version (kernel 2.6.32.6, xenomai 2.4.10) it was working fine.
Do you have any advice or suggestion?
Thanks in advance.

Petr Cervenka


             reply	other threads:[~2011-08-09 15:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-09 15:40 Petr Cervenka [this message]
2011-08-09 16:03 ` [Xenomai-help] rt_queue_bind() returns -EACCES Philippe Gerum
2011-08-11  8:33   ` Petr Cervenka
2011-08-11  9:10     ` Philippe Gerum
2011-08-11  9:37       ` Gilles Chanteperdrix
2011-08-11 10:03         ` Philippe Gerum
2011-08-11 10:06           ` Philippe Gerum
2011-08-12 15:13             ` Petr Cervenka

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=20110809174031.7B1346B2@domain.hid \
    --to=grugh@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.