This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] wordexp: Split out command execution tests from posix/wordexp-test
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Tue, 8 Oct 2019 15:58:02 +0000
- Subject: Re: [PATCH] wordexp: Split out command execution tests from posix/wordexp-test
- Ironport-sdr: U5opeHCctJsSFybad+LaCid2fFsc3NgFtrawpThD0BmIveaJn6NSfzjT0kJmc7A7ns5/v5sGdi vrJxD/Fj4f69Ms6FDvca5NI7hw7DHbRgxgBeGOB+bwsLxEylyH9mIpXl0gVuU+a1CUwuMKp1Jt IGKiuizpsqSRW1fpGxX/F9xeER5U7ZAakib5AuwU097tP3RByBALdYZZjCUptziu1KCxi25uLE YgmuHra99ZOZRWpgivg9CfGhuTQ7QXpfnRsa+gfFvPujXZwud10CIPTrweLw+cvy3hPPtIpxtE 5n8=
- Ironport-sdr: +RYeSytkQHZep0R9LcrB0hdu6GcI3Le1uVXKKbkTWY9+TTqmnHRQ3+K0mAFPn+6eAsTl2vmii4 Hctl2aOIfnTbBFypCAB3EXIcac5ep05jkjYEL9wreWbX/8VKoBHJW761z0x1mvn636MGLfhgWT sk77SvrzqZoO5oLTVdUKnzrJuMe9B3vCbXQWjR+LyTtkVLiEZ2DAKkp8b4qlVKze8h7OWRcNZb a+SUChLu45WbJwEJm7cwlx3ktL2RNgTB8rJqBHeTRsVQo8L6eh6P8AvVEPjfbRq9sb5GsgSIEz swM=
- References: <8736g3cxbq.fsf@oldenburg2.str.redhat.com>
On Tue, 8 Oct 2019, Florian Weimer wrote:
> +#ifdef CLONE_NEWPID
> + if (unshare (CLONE_NEWPID) != 0)
> + printf ("warning: unshare (CLONE_NEW_PID) failed: %m\n"
> + "warning: This leads to reduced test coverage.\n");
> + else
> + pid_tests_supported = true;
> +#else
> + printf ("warning: CLONE_NEW_PID not available.\n"
The messages are saying CLONE_NEW_PID when the actual code is using
CLONE_NEWPID.
--
Joseph S. Myers
joseph@codesourcery.com