public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <petr.vorel@gmail.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 2/3] accept4: Remove fallback definitions
Date: Mon, 23 Mar 2020 23:49:32 +0100	[thread overview]
Message-ID: <20200323224933.2613658-2-petr.vorel@gmail.com> (raw)
In-Reply-To: <20200323224933.2613658-1-petr.vorel@gmail.com>

They're already defined in lapi/fcntl.h.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
 testcases/kernel/syscalls/accept4/accept4_01.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/testcases/kernel/syscalls/accept4/accept4_01.c b/testcases/kernel/syscalls/accept4/accept4_01.c
index a596b9b1a..55aa210ae 100644
--- a/testcases/kernel/syscalls/accept4/accept4_01.c
+++ b/testcases/kernel/syscalls/accept4/accept4_01.c
@@ -25,13 +25,6 @@
 
 #define PORT_NUM 33333
 
-#ifndef SOCK_CLOEXEC
-# define SOCK_CLOEXEC    O_CLOEXEC
-#endif
-#ifndef SOCK_NONBLOCK
-# define SOCK_NONBLOCK   O_NONBLOCK
-#endif
-
 static const char *variant_desc[] = {
 	"libc accept4()",
 	"__NR_accept4 syscall",
-- 
2.25.1


  reply	other threads:[~2020-03-23 22:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-23 22:49 [LTP] [PATCH 1/3] accept4: Use tst_variant Petr Vorel
2020-03-23 22:49 ` Petr Vorel [this message]
2020-03-24 23:36   ` [LTP] [PATCH 2/3] accept4: Remove fallback definitions Cyril Hrubis
2020-03-23 22:49 ` [LTP] [PATCH 3/3] travis: Update musl build Petr Vorel
2020-03-23 23:03 ` [LTP] [PATCH 1/3] accept4: Use tst_variant Petr Vorel
2020-03-24  6:53   ` Petr Vorel
2020-03-24 13:08     ` Li Wang
2020-03-24 23:35 ` Cyril Hrubis
2020-03-24 18:07   ` Petr Vorel

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=20200323224933.2613658-2-petr.vorel@gmail.com \
    --to=petr.vorel@gmail.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