From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] syscalls/clone09.c: skip this test if net ns is not supported
Date: Thu, 20 Jul 2017 14:17:17 +0200 [thread overview]
Message-ID: <20170720121717.GG32092@rei> (raw)
In-Reply-To: <1500542704-4889-1-git-send-email-yangx.jy@cn.fujitsu.com>
Hi!
> If net namespace is supported and disable, clone(CLONE_NEWNET) fails
> and sets errno to EINVAL as expected. However, If net namespace is
> not supported(e.g. RHEL5.11GA), clone(CLONE_NEWNET) succeeds abnormally.
This sounds like a kernel bug. The usuall course of action for unknown
flag is to return EINVAL.
--
Cyril Hrubis
chrubis@suse.cz
next prev parent reply other threads:[~2017-07-20 12:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-20 9:25 [LTP] [PATCH] syscalls/clone09.c: skip this test if net ns is not supported Xiao Yang
2017-07-20 12:17 ` Cyril Hrubis [this message]
2017-09-18 11:23 ` Xiao Yang
2017-09-19 1:42 ` [LTP] [PATCH v2] syscalls/clone09.c: add kernel version check Xiao Yang
2017-09-22 8:57 ` Jan Stancek
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=20170720121717.GG32092@rei \
--to=chrubis@suse.cz \
--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