Received: by 10.213.65.68 with SMTP id h4csp18900imn; Fri, 16 Mar 2018 15:56:59 -0700 (PDT) X-Google-Smtp-Source: AG47ELudOGXLiQv5AaQJNSHuP/wSgBzOABCXF9jRShC8KE7Ju7gJSIkMjUZT2neSW9ANzDvemKmM X-Received: by 10.101.77.195 with SMTP id q3mr2725143pgt.283.1521241019395; Fri, 16 Mar 2018 15:56:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521241019; cv=none; d=google.com; s=arc-20160816; b=ENZxpVQ9flf0LBBxIpFE06oAuCb7S8ltrAx4nfJxPnh4pgoyE8iIlKDEQP89C9oIwa B6fp0cyalqe1lzZI7ucEvmnl6CxwjaZ6VhgMRTUeseu3NcrZgcrv9Z1clcXOrw56m2KE qWXb8rDQJIk/IfTZQAlCc3lZUgsaXzMy/88dIvikokS7/Ap6GLBVHqrnOnQ5tNEIPgAz UkM0jW8T/ELXnynDDh1owAEBxDddb0P+ksv6hrjiLfz6BuTsQQptfyQGUUzyDNVG7sc/ DLBNXw5/N+qHlMxYgxkMkjumK8DOvpxsgjU6guCN6b5E4V+lZL82/KZU0KnDfF5NFpsD 6n3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature :arc-authentication-results; bh=c9KtYbH+MEc8ykeG8oyaNn64McVmLQo+w/dLHZwIveA=; b=MakrbH3lIniZW0EPAH3FKNDO9zGVD0+lbnWjngkpntv3wvUdu/fxyB0jyhaE3hrtWl oiRBYlBQvjyig0A9P8lSP8xFc1mHzRHUlc3ik24v44Y58lqdV4CXSYbKWJme+0nKGHLL ZVOg6cukav2QldcvRjkMCKBMmOaEKdK0ftx9fhJi8ldIIIpLRMbr++mgtZNfGhXg/91h dM2VPfP3rV/UMlulAOEpqRT6MEnOnElU+Y0kmSmDOVvdoQYPbZPk1/K/mF4+UNkitaUh IVSU97BQlzTGAjcKNQLeF51ziXrRZX+2tHVsWLhu9uqkFw9mIN6SrGEsw43bNdXa/c6B vUYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=BLGu0DJB; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=AVHvmei4; 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=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m16si5707303pgn.416.2018.03.16.15.56.44; Fri, 16 Mar 2018 15:56:59 -0700 (PDT) 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=@fb.com header.s=facebook header.b=BLGu0DJB; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=AVHvmei4; 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=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752800AbeCPWzb (ORCPT + 99 others); Fri, 16 Mar 2018 18:55:31 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:39800 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752774AbeCPWz2 (ORCPT ); Fri, 16 Mar 2018 18:55:28 -0400 Received: from pps.filterd (m0109334.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w2GMll5S003818; Fri, 16 Mar 2018 15:55:13 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=facebook; bh=c9KtYbH+MEc8ykeG8oyaNn64McVmLQo+w/dLHZwIveA=; b=BLGu0DJBOKCCX+PjW2UBXC5Wjt63OcptcfmdJ0V+atGPHAGvUSBGeMcO0oxc4Hsq2iGI JqdM1igT2jpFaIzUtruTWCoHMdwYBbzoUI9oaU02j29TCo4lOldn4IDmzH09pjcnhnZJ 2qZKCNApcwigbaD2wksJrvI8SNWUapTkalY= Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0a-00082601.pphosted.com with ESMTP id 2grq0hg0pf-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 16 Mar 2018 15:55:13 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (192.168.183.28) by o365-in.thefacebook.com (192.168.177.28) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 16 Mar 2018 18:55:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=c9KtYbH+MEc8ykeG8oyaNn64McVmLQo+w/dLHZwIveA=; b=AVHvmei4mIODZ0RmA3hYEZMGexAmC9L+TaiQKp6mWS2Aes4rBoQmahasNGQ168lPi5R8v9tgEAkRQBJPzkyqNzhp5gqvlhqsO8tU6KcZGqfvJ5L0OwXqmMQ/XbjwgFCf3ZqZeT49YQD62NSKIJKl+4jfQCW8c/djQCxy1+NIVqo= Received: from [IPv6:2620:10d:c083:1309:ff83:7b3f:34e4:e069] (2620:10d:c090:200::4:6d8e) by CY1PR15MB0534.namprd15.prod.outlook.com (2a01:111:e400:59d8::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.567.14; Fri, 16 Mar 2018 22:55:07 +0000 Subject: Re: [PATCH] bpf: whitelist syscalls for error injection To: Dominik Brodowski CC: Andy Lutomirski , Ingo Molnar , LKML , Linux API , Al Viro , Thomas Gleixner , Yonghong Song , "David S . Miller" , Thomas Garnier , kernel-team References: <20180313231627.1247-1-hmclauchlan@fb.com> From: Howard McLauchlan Message-ID: Date: Fri, 16 Mar 2018 15:55:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [2620:10d:c090:200::4:6d8e] X-ClientProxiedBy: DM5PR15CA0029.namprd15.prod.outlook.com (2603:10b6:4:4b::15) To CY1PR15MB0534.namprd15.prod.outlook.com (2a01:111:e400:59d8::24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 03d7e92f-a2be-496e-18c5-08d58b90f74f X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603328)(7153060)(7193020);SRVR:CY1PR15MB0534; X-Microsoft-Exchange-Diagnostics: 1;CY1PR15MB0534;3:628zJBOZNmgTx7m89wz/gI5kpqat4qVZgz92KdNfY+kthJLvTCxcMb/hTGI2QEYO8Yz80W5Y8DS7BUeYdtKEkpS7e1D0cF3Yuqs5I4p8Bbv+tpdMaPZwWz9H3jKUxTJMyqau5RvDiU5Xx/L96vkd36EG0S8b03+lT9BxlPZLe1424Mw+VWCbtyQlrI5oxSvuWSA5j4DFPN0n/Nm9kjJTRd6+KdAw0vEo0g2C9nfZCBxj0Bs0uG1e03catRvdiMM8;25:A5eyWzZNSAlbRCHKWlBZ5llEOK//OleM0tCmrHJPEEXV+hW0n9AV+2ftSM57t1asmk6NY7Gq/rEJk0Ekg0mX+Y/uUY1zNarxiYUPjFX4aNe3jo7ifL5qKsJhrxzsl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3/DqqE/dtWYyQz+9bhWQqY0HZgpdxSjEn4PIE3VdArsI1OKqDg3K0G280Ux9WkaVL369uzHPj/mDC8Hq7VntWSARwO2vXpMZsCvg1gYWtAw8JZE+Bg0AchltIEjuqJ01M19XLlQC1ZOpXpdL7oplJde/pBT3iKo8VfIDlzmi7qTCdwOX9rgAk+NBC+oJljYVwIuOHzVYl1enbOW376UulFicgoVl6R6u8op0Brsdj6pXEuDUqqZOUyIy1TeRE9W/uurJtTe3NLdvBPIM0nCqbU1Z6+Pg39PFAqOQlX1TCybnk X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(67672495146484); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231221)(11241501184)(944501285)(52105095)(93006095)(93001095)(10201501046)(6041310)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(6072148)(201708071742011);SRVR:CY1PR15MB0534;BCL:0;PCL:0;RULEID:;SRVR:CY1PR15MB0534; X-Forefront-PRVS: 0613912E23 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(396003)(376002)(39380400002)(346002)(366004)(39860400002)(76104003)(189003)(199004)(36756003)(65956001)(97736004)(47776003)(65806001)(6666003)(76176011)(53936002)(65826007)(105586002)(68736007)(81156014)(386003)(8936002)(59450400001)(8676002)(6916009)(81166006)(316002)(2950100002)(16526019)(1706002)(53546011)(46003)(4326008)(52116002)(230700001)(2486003)(2906002)(52396003)(52146003)(7736002)(23676004)(478600001)(25786009)(6116002)(6246003)(31686004)(5660300001)(54906003)(86362001)(229853002)(50466002)(58126008)(106356001)(31696002)(305945005)(64126003)(6486002);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR15MB0534;H:[IPv6:2620:10d:c083:1309:ff83:7b3f:34e4:e069];FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Received-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cdMrLjO3Vu31Yg+6XblR9OlqaXne+jDuvbjQaR2EcgnfaTTwvEpI0NXrgRMS3seUdfx7Ay1jMnkO0SM2wGIWlm6owG5nzAYJ43YHRRlQ3TiF6ZfYfs6Pb0Dz8vXOiLXxKJsH1G+9y2/pyIdY+Tm/VqBCRV+W1DuYzN3s45feuukpt4h82r0rYHZY6nY+h7d/GF8z5Nm0djGGOrPmIW SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR15MB0534;20:9dxxq7BnaJFNQgUNp3bbvNYU5Bpx/+zEb6dsk8OffyjoJZbYaaiTHzw4voOC79yrz0pIZ6t5JA47ZWeuE2YQ+Dvv23+F0lXj/Ug5bM02kp+QtPCFsiIlTZymvECLSUOTsnFwQnVDLwdhvcoS1KoteAbxG3iJiErtbhb6lwXqvUI= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Mar 2018 22:55:07.2719 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 03d7e92f-a2be-496e-18c5-08d58b90f74f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR15MB0534 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-16_14:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/13/2018 04:56 PM, Andy Lutomirski wrote: > On Tue, Mar 13, 2018 at 11:16 PM, Howard McLauchlan wrote: >> Error injection is a useful mechanism to fail arbitrary kernel >> functions. However, it is often hard to guarantee an error propagates >> appropriately to user space programs. By injecting into syscalls, we can >> return arbitrary values to user space directly; this increases >> flexibility and robustness in testing, allowing us to test user space >> error paths effectively. > > Temporary NAK IMO. Specifically: > >> diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h >> index a78186d826d7..e8c6d63ace78 100644 >> --- a/include/linux/syscalls.h >> +++ b/include/linux/syscalls.h >> @@ -191,6 +191,8 @@ static inline int is_syscall_trace_event(struct trace_event_call *tp_event) >> >> #define SYSCALL_DEFINE0(sname) \ >> SYSCALL_METADATA(_##sname, 0); \ >> + asmlinkage long sys_##sname(void); \ >> + ALLOW_ERROR_INJECTION(sys_##sname, ERRNO); \ > > sys_xyz() is not just the syscall itself; it's also a helper that's > used for entirely silly reasons by various bits of kernel code for > quite a few syscalls. Fortunately, Dominik has patches to fix that, > and Linus is even considering pulling them for 4.16. This patch will > most likely conflict with the final result of Dominik's series. > > Can you and Dominik coordinate a bit to get this patch or its > equivalent landed on top of Dominik's work? It might make sense for > Dominik to just add this patch to his series so it can land with the > rest of it. Dominik, Ingo, what do you think? > > --Andy > Dominik, This patch applies cleanly on top of your patch series. Is there anything you'd need from me to get this in on top of your work? Howard