From: Florian Weimer via Libc-alpha <libc-alpha@sourceware.org>
To: Adhemerval Zanella via Libc-alpha <libc-alpha@sourceware.org>
Subject: Re: [PATCH] shm_open/unlink: fix errno if namelen >= NAME_MAX
Date: Tue, 27 Oct 2020 11:27:15 +0100 [thread overview]
Message-ID: <87r1pk6k1o.fsf@oldenburg2.str.redhat.com> (raw)
In-Reply-To: <6d7d271d-282f-7811-5b3f-355f1030b452@linaro.org> (Adhemerval Zanella via Libc-alpha's message of "Mon, 26 Oct 2020 16:44:44 -0300")
* Adhemerval Zanella via Libc-alpha:
> I think it would be good to refactor the code to use a PATH_MAX variable
> instead, something like:
As this is generic code, I don't think we can assume PATH_MAX is defined
(Hurd does not have it AFAIK).
Thanks,
Florian
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
next prev parent reply other threads:[~2020-10-27 10:27 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-16 10:09 [PATCH] shm_open/unlink: fix errno if namelen >= NAME_MAX Chen Li
2020-10-26 19:44 ` Adhemerval Zanella via Libc-alpha
2020-10-27 10:27 ` Florian Weimer via Libc-alpha [this message]
2020-10-27 11:53 ` Adhemerval Zanella via Libc-alpha
-- strict thread matches above, loose matches on Subject: below --
2020-11-03 9:14 [PATCH v2 1/3] y2038: Convert cnd_timedwait to support 64 bit time Lukasz Majewski
2020-11-03 9:14 ` [PATCH v2 2/3] y2038: Convert mtx_timedlock " Lukasz Majewski
2020-11-03 14:45 ` [PATCH] shm_open/unlink: fix errno if namelen >= NAME_MAX Chen Li
2020-11-03 16:43 ` Adhemerval Zanella via Libc-alpha
2020-11-03 16:49 ` Florian Weimer via Libc-alpha
2020-11-03 16:57 ` Adhemerval Zanella via Libc-alpha
2020-11-03 15:28 ` [PATCH v2 2/3] y2038: Convert mtx_timedlock to support 64 bit time Alistair Francis via Libc-alpha
2020-11-11 20:06 ` Adhemerval Zanella via Libc-alpha
2020-11-03 9:14 ` [PATCH v2 3/3] y2038: Convert thrd_sleep " Lukasz Majewski
2020-11-03 15:32 ` Alistair Francis via Libc-alpha
2020-11-11 20:08 ` Adhemerval Zanella via Libc-alpha
2020-11-03 15:24 ` [PATCH v2 1/3] y2038: Convert cnd_timedwait " Alistair Francis via Libc-alpha
2020-11-11 20:05 ` Adhemerval Zanella via Libc-alpha
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
List information: https://www.gnu.org/software/libc/involved.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r1pk6k1o.fsf@oldenburg2.str.redhat.com \
--to=libc-alpha@sourceware.org \
--cc=fweimer@redhat.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).