Received: by 10.223.185.116 with SMTP id b49csp7441767wrg; Thu, 1 Mar 2018 05:43:49 -0800 (PST) X-Google-Smtp-Source: AG47ELuvWSiawD8J06tghOuGT+4hshmmGWVnnT12lhUKC0EDV6T0SYzwVPfbk61GUNVEKAMO++FY X-Received: by 2002:a17:902:47aa:: with SMTP id r39-v6mr1961863pld.72.1519911829667; Thu, 01 Mar 2018 05:43:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519911829; cv=none; d=google.com; s=arc-20160816; b=osRL4vwXDjnkjaPdYyM5Rhbxu5OVAyhdf8oUVNKOX/5EQ93NcsOBMe0p5IPJc0m5xp vAg6aBw81tBIEqCMTtJ9qYix6b9BfQviLl8BZ5dkbIHAF+4lsOLBBtGnMtbOv+hfX4EJ 7oQBXM3dHe0q3kvjH2qcrUKwklg8HM50SROA5Ew8Qlet/FtPjhEyQR4VI4IabWQxSpiF J4W/80H0HAHWQy8MlCr+kwVsdtiL1ZtfPSuAJ69496qmJI9iPaLOL9QFC0oCS5LZte87 60e7dZ+mrvKjDyt+tfW8s9i/57qxmvYqwW79/H+YT/ARc7q98ResRnWbmyUchmFVDLvx dCEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=YG0E4MKE2J4/zI8C5xgJpwOfd/v0mlrIJQinVr199FY=; b=pGM/ppCe24UBbc0wu7gyosrWuyps//BChgn+GaQy2NxnPy11kX2M3/kqDHaT1t01C5 62Pek042zixtq90cWHakr8DvD2fVRkOuYxOtJwCst4Qe/HJxUcDt6j1oSSjFeUFuw/w2 51uYm+f48S0qhC+sppWTjlIk2r+mBJjkOy06H6hTDU8MYm5xlwwL5YU4rWcjBT1MXeTP 25vq7qZPsOUoPbDQF33stcRDWNuQNelxYHZ5iJBfmVkGnuL6tj3qaVAHeye2v820bNcf m8s8z6Om4Gz6XgPNt4HJ9wrrzEfc9jPWgdnWqdV/L+lukr3TT1yI5KeNyMg43Av1Frej s1zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=vXFzQm/y; 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 k69si2470389pgd.354.2018.03.01.05.43.34; Thu, 01 Mar 2018 05:43:49 -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=vXFzQm/y; 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 S1030817AbeCANmM (ORCPT + 99 others); Thu, 1 Mar 2018 08:42:12 -0500 Received: from mail-wm0-f53.google.com ([74.125.82.53]:35491 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030694AbeCANmK (ORCPT ); Thu, 1 Mar 2018 08:42:10 -0500 Received: by mail-wm0-f53.google.com with SMTP id x7so11753912wmc.0 for ; Thu, 01 Mar 2018 05:42:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=YG0E4MKE2J4/zI8C5xgJpwOfd/v0mlrIJQinVr199FY=; b=vXFzQm/ysZB1DXrIayg6RZ8uOGRD3Q7PD+9Gskd74lU1XBhsQNzw4YazBfNkvhnPAZ 7CSzxGfnAn3fVwSnvJ4r1jf9/VLHjN+p8csAUsL8SIK2q08iiNYlrCTQPrg3gZUBInfY 3rRDtfNjUonNbPuy1FGmb3xR1loCD3sAHeMchM7fABnoSF+w+XO1Scquy/jw2j+QPJpJ wWmR7EJ49pLSbVQqxzD2XQUrOThCB1+idvZwoQbUcgGQj1JR2yDZqVpqMuaIKUONjbRQ RUlXB2XlNMVREheGRPdCF9PnnwbtvQEyF3EW9gbHgsriiMmF4nhP9yjhj/t/uVHFebcZ 2csw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=YG0E4MKE2J4/zI8C5xgJpwOfd/v0mlrIJQinVr199FY=; b=Uver7Pb52QF+3dq8A4cq8sDJ/m8FycvbuuQ4y0X7g8kjlFDLPT+JtjizUVESPzBMW7 f531tIXRMECvsgGsXKD+SYjCsqxX9948+a10OIeSZra+owlQJo8CSmqHcYOB67/iJ2oL UYwJTFjOuBwWXxuuhg5QECbqfB5tw+SaFJ/uKmyHFTZBGpvCFSnJpd/1VS7X7XfOJrgE kEmHKOup6iYKrGS6cpL2jgs/Bwi4OfPwqhQLGhZgaSFszEbVxyKBbFOKE5yrwU9hLFJO JC1F0lYQk7ckU5EzYYTjHZ1P2PSiVmiQ+Cm7y2sbaSkJEXEjOXemC8//s/Uc8Xbj0L7h fT1w== X-Gm-Message-State: AElRT7HML1z6iJ4haDi+OpQUyPC6BfhypLLDLCbHVNXGeoHfWmBifHDV Qcr1h5V28TQgJzyTMmsdkxJxDsbHM9LGWaKwyMtl X-Received: by 10.46.36.16 with SMTP id k16mr1415386ljk.14.1519911728712; Thu, 01 Mar 2018 05:42:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.216.167 with HTTP; Thu, 1 Mar 2018 05:42:08 -0800 (PST) X-Originating-IP: [108.20.156.165] In-Reply-To: <20180301083316.GA6779@localhost.localdomain> References: <20180301083316.GA6779@localhost.localdomain> From: Paul Moore Date: Thu, 1 Mar 2018 08:42:08 -0500 Message-ID: Subject: Re: Regression found when running LTP connect01 on next-20180301 To: Anders Roxell , richard_c_haines@btinternet.com Cc: netdev@vger.kernel.org, selinux@tycho.nsa.gov, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 1, 2018 at 3:33 AM, Anders Roxell wrote: > 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 Hi Anders, 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. 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). -- paul moore www.paul-moore.com