Received: by 10.223.185.116 with SMTP id b49csp7184763wrg; Thu, 1 Mar 2018 01:01:01 -0800 (PST) X-Google-Smtp-Source: AG47ELv+OiqTkilpQYeSyd1WZcnvoNguUPRyWEGg4wgR12qYi1KPhZwhV+9KvPmcFdtOf3lE8iog X-Received: by 10.98.139.145 with SMTP id e17mr1182301pfl.53.1519894861601; Thu, 01 Mar 2018 01:01:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519894861; cv=none; d=google.com; s=arc-20160816; b=sbqNl3R4kdczlWvNiyVmGv9Nc6IRg+hlq7guxZINAG5RZApI364Mxm7sNCaR5YoXg0 bYONLspgBqy3DL/hesA+Z0rQVoLIamT3eOPCvYF2hWzXG7PTU9ojrMhZ5Yh9Qc9Q3aWM xRHvs+aHIsbxCQQQgNJEEuCRAB6GQNfPlwFrO5qGpQWZRW3ZR0IIDatRAfA0LxO3g08d mwqYVWkSj4Rht4FslnxlgagmzmCcH2UD635i/vp79JAbyM4E1xjvaefT+AR44IGSy6pP jVkAdz1h/dG2bgvdGwSFXzyiay+iv/NhwRbqKcqmBChObVJP3flqN7mXP7gUi8/HIoO4 XMJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=WdNwFwD1mwfrYK1zQlmPZumyMKuZrwfRDp2UNXiZD/U=; b=CgKEVaXl8qWxkBWCDyVc6XE23igUaFjwzS0TJPsNEn3TSMXRswzjqluebHedw7y4ys DE9xsu5HRtGhNwrv+aac+G9YSMYjXlWRnmj+CVU48hCKOHhvTo3RKYHYFV6pL5joHK7I ibqO1QKslUF1PT3PlZB7Uftw0dGGJW9+0Tbw+1JG3P7FzBgZgKzH7iWUW00k+cMBx9qa oSDPe8dwX3Sbcelgqw4VZKkZhJYLH2WsArtSGbe5PCG5qca5boBKUHfxHZK0KF/q9kxg GhEvPMdtRNg93Q7rlQOKUXnn+XmksG8PG2EPVwTOiXfDuQYCC/zQYGF1pGkhpRA30enI C1HQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SMDsoyjI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i124si2169186pgc.589.2018.03.01.01.00.46; Thu, 01 Mar 2018 01:01:01 -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=@linaro.org header.s=google header.b=SMDsoyjI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966620AbeCAJAK (ORCPT + 99 others); Thu, 1 Mar 2018 04:00:10 -0500 Received: from mail-lf0-f44.google.com ([209.85.215.44]:41274 "EHLO mail-lf0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965361AbeCAJAI (ORCPT ); Thu, 1 Mar 2018 04:00:08 -0500 Received: by mail-lf0-f44.google.com with SMTP id m69so7674691lfe.8 for ; Thu, 01 Mar 2018 01:00:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=WdNwFwD1mwfrYK1zQlmPZumyMKuZrwfRDp2UNXiZD/U=; b=SMDsoyjIzgIwtPvS9Zr7iT942I17OSoKpCSzDYYWMOQs1bG0fKXSx+dG/Fg5DXEIIN QhrtUlrkV7dxdDRfyvPOxCc/UYpJsktnEQnwVxU7YrdYmlqndvyk1wgwrYTEH0Ox7bXm EJb/ZF6qEy9uS0mrescZ+rRQOfFx3OhXnkkBQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=WdNwFwD1mwfrYK1zQlmPZumyMKuZrwfRDp2UNXiZD/U=; b=Ml75nSHG+ubEVihTTwpWv/Moql1kJzTbKlB1ClK9Lj+spc/Dy1mypqb5EqiViwPeIu wJvOOx4AVfU0dKnfbSnjwIlwIybb83G++CfvBe5AaUMNF+gwm0MNl9GFjQjrHtt7KhP/ e/yf66hY9YhsogqysRypfx91xBNlD0IDWb508JDlNCJCFCSES5yW4snk1tZyPtomYXRX BLOb2cscFsOpkK91o3Va7Egzq/YH4CTwgJfEEhAz5zcuSzf/2olir213iEWfuD+EQwBU i90iWrDtyrStAEWUNo5Fo/0eHSadVNkbr6xvf84WRZkjGJyftqrd3kx7Yq8nVhXLj83Z 6IKQ== X-Gm-Message-State: APf1xPDaektK0mqWcKX7oKZi7gnTo8sBEnQUa6fWfizPOK3i38SXAvup 6nR3BJguz+MI62l1h18eW+P5Qg== X-Received: by 10.46.4.74 with SMTP id 71mr818864lje.51.1519894807068; Thu, 01 Mar 2018 01:00:07 -0800 (PST) Received: from localhost.localdomain (c-073070d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.48.7]) by smtp.gmail.com with ESMTPSA id u129sm779766lff.72.2018.03.01.01.00.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Mar 2018 01:00:06 -0800 (PST) Date: Thu, 1 Mar 2018 09:33:16 +0100 From: Anders Roxell To: richard_c_haines@btinternet.com, paul@paul-moore.com Cc: netdev@vger.kernel.org, selinux@tycho.nsa.gov, linux-kernel@vger.kernel.org Subject: Regression found when running LTP connect01 on next-20180301 Message-ID: <20180301083316.GA6779@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, 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. 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 " The output from the test expected 97 and we received 22, can you please elaborate on what have been changed? Cheers, Anders [1] https://github.com/linux-test-project/ltp/blob/20180118/testcases/kernel/syscalls/connect/connect01.c#L146