From: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
To: Laurent Vivier <laurent@vivier.eu>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] RFC: fix fcntl support in linux-user - new try
Date: Wed, 03 Jun 2009 15:09:31 +0200 [thread overview]
Message-ID: <87hbyxv4z8.fsf@lechat.rtp-net.org> (raw)
In-Reply-To: <25533456.1943631244033278919.JavaMail.servlet@kundenserver> (Laurent Vivier's message of "Wed\, 03 Jun 2009 14\:47\:58 +0200")
Laurent Vivier <laurent@vivier.eu> writes:
Hi,
>>Hi,
>>
>>This is a new try to fix the fcntl support in linux-user. I tried to
>>adress all comments but as the previous version is several weeks old,
>>it's possible that I've missed some.
>>
>>This patch doesn't handle linux specific fcntl flags. My plan is to get
>>this version of the patch reviewed/fixed and then, add them if wanted.
>>
>>Thanks,
>>Arnaud
>>
>
> I didn't follow the discussion, but for target_to_host_fnctl_cmd(), why not an array like host_to_target_signal_table[], in linux-user/signal.c ?
See the thread at
http://lists.gnu.org/archive/html/qemu-devel/2009-04/msg01208.html.
I was using an array but the problem is that it doesn't check for all
possible wrong input. For instance you may end up passing 0 as command
which is not want you want if the flag is not F_DUPFD.
Arnaud
next prev parent reply other threads:[~2009-06-03 13:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-03 12:47 [Qemu-devel] [PATCH] RFC: fix fcntl support in linux-user - new try Laurent Vivier
2009-06-03 13:09 ` Arnaud Patard [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-06-03 12:35 Arnaud Patard
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=87hbyxv4z8.fsf@lechat.rtp-net.org \
--to=arnaud.patard@rtp-net.org \
--cc=laurent@vivier.eu \
--cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).