From: Manuel Huber <manuel.h87@gmail.com>
To: jan.kiszka@web.de
Cc: xenomai@xenomai.org
Subject: [Xenomai] [PATCH] Xenomai recvmsg cmsg patch
Date: Tue, 13 Aug 2013 22:24:19 +0200 [thread overview]
Message-ID: <1376425460-5853-1-git-send-email-manuel.h87@gmail.com> (raw)
Current implementation of Xenomai's recvmsg syscall doesn't
handle msghdr fields (msg_control, msg_controllen) correctly. It's
necessary to change msg_controllen to the number of bytes written
to the buffer and fix msg_control if it has been used to point to
the actual starting address of the buffer. This would be necessary
to apply another feature to RTnet that allows to pass timestamps
from the driver to userspace applications easily
(like SO_TIMESTAMP...). Please apply ;)
Manuel
Manuel Huber (1):
rtdm: Fix msghdr struct (cmsg) in sys_rtdm_recvmsg
ksrc/skins/rtdm/syscall.c | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
--
1.8.3
next reply other threads:[~2013-08-13 20:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-13 20:24 Manuel Huber [this message]
2013-08-13 20:24 ` [Xenomai] [PATCH] rtdm: Fix msghdr struct (cmsg) in sys_rtdm_recvmsg Manuel Huber
2013-08-16 11:08 ` Jan Kiszka
2013-08-17 10:41 ` Manuel Huber
2013-08-18 9:20 ` Jan Kiszka
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=1376425460-5853-1-git-send-email-manuel.h87@gmail.com \
--to=manuel.h87@gmail.com \
--cc=jan.kiszka@web.de \
--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.