ltp.lists.linux.it archive mirror
 help / color / mirror / Atom feed
From: Yang Xu <xuyang2018.jy@fujitsu.com>
To: <ltp@lists.linux.it>
Subject: [LTP] [PATCH 1/4] lapi/sem.h: Add SEMMSL macro
Date: Mon, 20 Mar 2023 14:30:19 +0800	[thread overview]
Message-ID: <1679293822-19378-1-git-send-email-xuyang2018.jy@fujitsu.com> (raw)

This macro is used to trigger semget EINVAL error.

Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
---
 include/lapi/sem.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/lapi/sem.h b/include/lapi/sem.h
index 495afe937..ba559d2f1 100644
--- a/include/lapi/sem.h
+++ b/include/lapi/sem.h
@@ -24,4 +24,8 @@ union semun {
 # define SEM_STAT_ANY 20
 #endif
 
+#ifndef SEMMSL
+# define SEMMSL 32000
+#endif
+
 #endif /* LAPI_SEM_H__ */
-- 
2.39.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

             reply	other threads:[~2023-03-20  6:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-20  6:30 Yang Xu [this message]
2023-03-20  6:30 ` [LTP] [PATCH 2/4] ipc/semget02,03,06: Convert into new api Yang Xu
2023-04-13  9:38   ` Li Wang
2023-03-20  6:30 ` [LTP] [PATCH 3/4] libs/libnewipc: Add GET_USED_ARRAYS api Yang Xu
2023-03-20  6:30 ` [LTP] [PATCH 4/4] ipc/semget05: Convert into new api Yang Xu
2023-04-13  9:46   ` Li Wang
2023-04-14  4:02     ` [LTP] [RESEND] " Yang Xu
2023-04-14  6:47       ` Yang Xu (Fujitsu)
2023-04-14  5:25     ` [LTP] [PATCH 4/4] " Yang Xu (Fujitsu)
2023-04-17  2:39       ` Yang Xu (Fujitsu)
2023-04-17  7:59         ` Li Wang
2023-04-17  8:16           ` Yang Xu (Fujitsu)
2023-03-29  7:52 ` [LTP] [PATCH 1/4] lapi/sem.h: Add SEMMSL macro xuyang2018.jy

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=1679293822-19378-1-git-send-email-xuyang2018.jy@fujitsu.com \
    --to=xuyang2018.jy@fujitsu.com \
    --cc=ltp@lists.linux.it \
    /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).