Received: by 10.223.185.116 with SMTP id b49csp7729590wrg; Thu, 1 Mar 2018 10:05:24 -0800 (PST) X-Google-Smtp-Source: AG47ELtqQAOtPCWNKtNScz7c/dEvqBLoxmnVO/aLMV47ZzZkb2o2HLGt7AxRUv+WGSx73ZlP5psV X-Received: by 10.98.220.80 with SMTP id t77mr2787427pfg.55.1519927524569; Thu, 01 Mar 2018 10:05:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519927524; cv=none; d=google.com; s=arc-20160816; b=kqhX91dP5e51zsjcigVRxLF7C014TTQvD48xbKjK0lUEdXCqPR5qTufxEJ+WjZoZrE fShD3YWkzIswi1sJVlNrZhU7ef/EsJkMvhdL8YS54WwA0B8n66kU+VTixauh6woNx0QH /SmARmjRhre9vxS2gkdmILR04qGPCIJOmwYMKQtVXpM2npNTtstq1aLy4DpndSMbJLVG lgG0Yp6um5vr/7DrNHkGrLFr5P8LCiVN5f6vMEtCoyum6WDjS2TrJ7lVRkmnjTev7wPy UNPB3qqn9iYINDh42xDXESu8OrRiSUWWl+Wo3f/D6LRkBCtpFH7Sdg1p24mp6p6bvzQu SFPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :subject:user-agent:references:in-reply-to:message-id:date:cc:to :from:dkim-signature:arc-authentication-results; bh=x5M3b+b4y82u2W6emPHJdYLUMhxqOS8mglzA2nsdVIE=; b=n2kPjRMEHfWDmOo8eIfZgGbf3q7nOHWxMgfxBXy10svcRG/S+4dQ2GVtheDyN9lTfC Nd9sW3u77anE1N6B2ZlIk6a51JOdmyXcYmuG1FNXYvClSPtVrxziGxGpZ6Vx7avtO2vP mDxpEQm50TrEO8IR015ydEKle8ECyt0RZhSBAq/CtO1dGsCynO/MuUwbg86eK9id45f9 ipso70Rt/KvvLRg6pz5CgUEtHQfLZMvP//Za9I66OjOcpFTpq0VFJCkrGt3iDxFw/CD9 bBUKa+tcpmeqSmeVdJf5qehCtQd0hrc/1rcyBfBFY870gCbQw62DT1qTnvVXk0SFOiSC bRIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=dU7zWuxF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4si2732691pgh.771.2018.03.01.10.05.08; Thu, 01 Mar 2018 10:05:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=dU7zWuxF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033831AbeCASED (ORCPT + 99 others); Thu, 1 Mar 2018 13:04:03 -0500 Received: from mail-qt0-f195.google.com ([209.85.216.195]:34658 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1033627AbeCASEA (ORCPT ); Thu, 1 Mar 2018 13:04:00 -0500 Received: by mail-qt0-f195.google.com with SMTP id l25so8698117qtj.1 for ; Thu, 01 Mar 2018 10:04:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:date:message-id:in-reply-to:references:user-agent :subject:mime-version:content-transfer-encoding; bh=x5M3b+b4y82u2W6emPHJdYLUMhxqOS8mglzA2nsdVIE=; b=dU7zWuxF/RJNT14y+VW/eZe9HjV/1pAvkynrl2QgJvjcNPTXzaoN3poGAl7AHViWIn DMykzuXusT7TZQ3BLMfPeBwDu8y4ecSogOvP4mYPQEUAHtE2JiTtw7Io+DrC04V+pI6z ju3qJeqrQuRDE/bO/JRenGqiRetlk1zR8W7tiCpss1WSYd4gbbrBY5IRuCksJy4agJ+6 PDTNiCLHhJ6my4ZbxVLAONfNA9+DNOYUfVQ2nxFc/GEtKvxu1FTR+roLYAAcmvo8yQx4 UZ/5/5Jhy5ToYPgu9vWBB27Tf79U1bVNlb+xx9SVwqhbhgjgJeF4Z6NfR1mtJ1yrFcUv PvdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:user-agent:subject:mime-version :content-transfer-encoding; bh=x5M3b+b4y82u2W6emPHJdYLUMhxqOS8mglzA2nsdVIE=; b=pwTgxNxHzB/X44up9o5gxF+yCg2vdqpM5KOcWQ9zCX5Q4nXyQs0kfNv7WK9dOieMTA MNeqkzJL0xuHEhZNRcchvMcmxLEjiQbVT4xx1i4affNwE/thDCbJifl89nj9PbSNSUeZ lrLH3/NdvDnvB7V7rsvWvFLT4AGV+1qyqz57zsTTutFDmmL/RcI0cbMAaXRzC5xFgryL hB/dBRpk8qD+dfXgAFcZRRqVwkv33jq5lcOsIZRM3uwPm2eGxhuBassB2KtOq9fU4X9s 5+5pN+u6g2Xzmkd0dxvcsEOHKVXMNuq4O2NdqoQWdc8ZcY4/EzUwcE6naNzYGsxZIjqy 3r7w== X-Gm-Message-State: AElRT7Hv5kV5ePDVF+/K7nGGsurwemX8Fx0zlLUxKUElJ8rvds1Vcfbm zSurRllj4NQk9ZMRq45HaKrH X-Received: by 10.200.57.8 with SMTP id s8mr4265625qtb.328.1519927439712; Thu, 01 Mar 2018 10:03:59 -0800 (PST) Received: from [192.168.7.82] (pool-108-20-156-165.bstnma.fios.verizon.net. [108.20.156.165]) by smtp.gmail.com with ESMTPSA id z67sm3026764qke.19.2018.03.01.10.03.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Mar 2018 10:03:57 -0800 (PST) From: Paul Moore To: Richard Haines CC: , , , Date: Thu, 01 Mar 2018 13:03:51 -0500 Message-ID: <161e2bc0f58.2781.85c95baa4474aabc7814e68940a78392@paul-moore.com> In-Reply-To: <1519914989.3063.1.camel@btinternet.com> References: <20180301083316.GA6779@localhost.localdomain> <1519914989.3063.1.camel@btinternet.com> User-Agent: AquaMail/1.13.2-730 (build: 101300200) Subject: Re: Regression found when running LTP connect01 on next-20180301 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On March 1, 2018 9:36:37 AM Richard Haines wrote: > On Thu, 2018-03-01 at 08:42 -0500, Paul Moore wrote: >> On Thu, Mar 1, 2018 at 3:33 AM, Anders Roxell > rg> wrote: >> > Hi, >> >=20 >> > I was running LTP's testcase connect01 [1] and found a regression >> > in linux-next >> > (next-20180301). Bisect gave me this patch as the problematic >> > patch (sha >> > d452930fd3b9 "selinux: Add SCTP support") on a x86 target. >> >=20 >> > Output from the test(LTP release 20180118): >> > $ cd /opt/ltp/ >> > $ cat runtest/syscalls |grep connect01>runtest/connect-syscall >> > $ ./runltp -pq -f connect-syscall >> > " >> > Running tests....... >> > connect01 1 TPASS : bad file descriptor successful >> > connect01 2 TPASS : invalid socket buffer successful >> > connect01 3 TPASS : invalid salen successful >> > connect01 4 TPASS : invalid socket successful >> > connect01 5 TPASS : already connected successful >> > connect01 6 TPASS : connection refused successful >> > connect01 7 TFAIL : connect01.c:146: invalid address family ; >> > returned -1 (expected -1), errno 22 (expected 97) >> > INFO: ltp-pan reported some tests FAIL >> > LTP Version: 20180118 >> > " >> >=20 >> > The output from the test expected 97 and we received 22, can you >> > please >> > elaborate on what have been changed? >> >=20 >> > Cheers, >> > Anders >> > [1] https://github.com/linux-test-project/ltp/blob/20180118/testcas >> > es/kernel/syscalls/connect/connect01.c#L146 >>=20 >> Hi Anders, >>=20 >> Thanks for the report. Out of curiosity, we're you running the full >> LTP test suite and this was the only failure, or did you just run the >> connect01 test? Either answer is fine, I'm just trying to understand >> the scope of the regression. >>=20 >> Richard, are you able to look into this? If not, let me know and >> I'll >> dig a bit deeper (I'll likely take a quick look today, but if the >> failure is subtle it might require some digging). > > I'll have a look today. One more thing I forgot to mention earlier, if there is a patch to fix this= , could you please base it on top of the existing SELinux/SCTP patches that= have already been merged, and not respin an earlier patch? Thank you. -- paul moore www.paul-moore.com