From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1U5Fim-0004I0-Gl for ltp-list@lists.sourceforge.net; Tue, 12 Feb 2013 13:16:28 +0000 Date: Tue, 12 Feb 2013 14:16:58 +0100 From: chrubis@suse.cz Message-ID: <20130212131658.GE9378@rei> References: <20130212130926.GD9378@rei> <1446382265.1343619.1360674762081.JavaMail.root@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1446382265.1343619.1360674762081.JavaMail.root@redhat.com> Subject: Re: [LTP] [PATCH v2 3/3] setns: add new syscall test setns02 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: Jan Stancek Cc: ltp-list@lists.sourceforge.net Hi! > > > > What happens when the syscall is not supported? The call should > > > > return > > > > -1 and errno should be set to ENOSYS but the return value is not > > > > checked, I'm puzzled. > > > > > > It's a bit unfortunate name collision with syscall macro defined > > > in linux_syscall_numbers.h. That macro contains check for ENOSYS. > > > > Ah, now I remeber. > > > > We really should change that one. Any volunteers? > > Sure :-), would "ltp_syscall" as name of that macro work for everyone? Works for me. -- Cyril Hrubis chrubis@suse.cz ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list