From: Arnd Bergmann <arnd@arndb.de>
To: Krzysztof Benedyczak <golbi@mat.uni.torun.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC][PATCH] 2/6 POSIX message queues
Date: Fri, 20 Feb 2004 14:55:25 +0100 [thread overview]
Message-ID: <200402201455.25782.arnd@arndb.de> (raw)
Krzysztof Benedyczak wrote:
> +
> +struct mq_attr {
> + long mq_flags; /* message queue flags */
> + long mq_maxmsg; /* maximum number of messages */
> + long mq_msgsize; /* maximum message size */
> + long mq_curmsgs; /* number of messages currently queued */
> +};
> +
Does POSIX mandate that these have to be 'long'? If you can change them
all to any of 'int', '__s32' or '__s64', the handlers for 32 bit system
call emulation on 64 bit machines will get a lot simpler because the
32 bit user structures are then identical to the 64 bit ones.
Arnd <><
next reply other threads:[~2004-02-20 14:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-20 13:55 Arnd Bergmann [this message]
2004-02-20 18:11 ` [RFC][PATCH] 2/6 POSIX message queues Krzysztof Benedyczak
2004-02-22 12:23 ` Arnd Bergmann
-- strict thread matches above, loose matches on Subject: below --
2004-02-22 15:12 Manfred Spraul
2004-02-19 14:28 Krzysztof Benedyczak
2004-02-19 14:53 ` Christoph Hellwig
2004-02-19 19:07 ` Sam Ravnborg
2004-02-19 19:44 ` Manfred Spraul
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=200402201455.25782.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=golbi@mat.uni.torun.pl \
--cc=linux-kernel@vger.kernel.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