From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZHpD7-00062W-QK for ltp-list@lists.sourceforge.net; Wed, 22 Jul 2015 08:17:05 +0000 Received: from mx3-phx2.redhat.com ([209.132.183.24]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1ZHpD3-0000Fk-6k for ltp-list@lists.sourceforge.net; Wed, 22 Jul 2015 08:17:05 +0000 Date: Wed, 22 Jul 2015 04:16:51 -0400 (EDT) From: Jan Stancek Message-ID: <825821983.1905967.1437553011524.JavaMail.zimbra@redhat.com> In-Reply-To: <1437532823-19315-1-git-send-email-wangxg.fnst@cn.fujitsu.com> References: <371268015.770228.1437399185640.JavaMail.zimbra@redhat.com> <1437532823-19315-1-git-send-email-wangxg.fnst@cn.fujitsu.com> MIME-Version: 1.0 Subject: Re: [LTP] [PATCH] syscalls/getrandom: add configure check for linux/random.h List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Xiaoguang Wang Cc: ltp-list@lists.sourceforge.net ----- Original Message ----- > From: "Xiaoguang Wang" > To: ltp-list@lists.sourceforge.net > Sent: Wednesday, 22 July, 2015 4:40:23 AM > Subject: [LTP] [PATCH] syscalls/getrandom: add configure check for linux/random.h > > For simplicity, I think we should just verify whether 'linux/random.h' > is valid, here if it's valid, that means such codes will be compiled > correctly. > > #include > int main(void) > { > getrandom(NULL, 100, 0); > return 0; > } > Signed-off-by: Xiaoguang Wang I added paragraph about autoconf behaviour before 2.64, removed getrandom() call from commit message and pushed. Thank you, Jan ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list