Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4090309imm; Wed, 5 Sep 2018 10:30:59 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaKYZVNlBC5k2L7RFAD9+pzQT4nN9zJkqX7T/a9AW+nO31vxBiWJxn2K51u4O/KstdYuDpJ X-Received: by 2002:a17:902:4203:: with SMTP id g3-v6mr40342245pld.30.1536168659011; Wed, 05 Sep 2018 10:30:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536168658; cv=none; d=google.com; s=arc-20160816; b=sSml6R6DHjy7bJ/UXvJzZSlKAmCeLo96hw3gBeliNBVfmLUr30RFmOdClWuK8eNxz9 KNKFv9jzrGlyCGrswpOuM4ALbj0sh9gKmQ2AxDQA9sEpX7QRic4is3zrobZKwEf6T1wH RosJcDjUEWxS00wzXAN/piR6XlTrLluevsyJFBzp7W42TAWnX3uVkYROxqPP/c4jbZPc KnKpDnZSXByTFiGCflZVpN7YE3lqApl8DZIU3E+SeZI7HyoB6wNPA2XO7+AvjYw7eL3j uGAB42xU7epQjv4qSUCtVjaSYWowlX7ZXUO7ThZ3KqmnUboeJBrgAKLWT10x++VoGXqG sKlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date; bh=jY0pw9oP9y/CY0pslA/m5BimNalh33rNTqBF3zByJwA=; b=myotFMkIaQ5RQrApbVpDhnPtKT9y05JKVyTIrDEG7H84mAgj1BQy/la+3ZoRJj2AQl F66B/OUCThWpEK+US1t4R/Jvox/TIpUGEXDVRoB/azflJkNv0YAecNs3UEbLukueEpFP IBUFCcFbiwR8FmCF/HrXOlwUuB5nhgPPVmViKGN+YH41RIvrEj10y6KfWff+nF47bAlT SYkXCDnlUxtKWRm/VVYDHq/7GA41ZPPNMR9nbdIKaNiUcJrGgBGE0SJ+YcUycnIygUJu JcARXCIhcI2y5D3GSHQS5bWuWBagzoZO6mCNjcqkYHUIZxVGFNMYLIA2U0LgpNb0deXY Rp5Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=cmu.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u7-v6si2564929pfi.96.2018.09.05.10.30.43; Wed, 05 Sep 2018 10:30:58 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=cmu.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727715AbeIEWAL (ORCPT + 99 others); Wed, 5 Sep 2018 18:00:11 -0400 Received: from hurricane.elijah.cs.cmu.edu ([128.2.209.191]:60296 "EHLO hurricane.elijah.cs.cmu.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727397AbeIEWAL (ORCPT ); Wed, 5 Sep 2018 18:00:11 -0400 Received: from [127.0.0.1] (helo=cs.cmu.edu) by hurricane.elijah.cs.cmu.edu with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.91) (envelope-from ) id 1fxbbv-000053-Oz; Wed, 05 Sep 2018 13:28:59 -0400 Date: Wed, 5 Sep 2018 13:28:58 -0400 From: Jan Harkes To: Yann Droneaud Cc: David Howells , linux-api@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 05/11] UAPI: coda: Don't use internal kernel structs in UAPI Message-ID: <20180905172858.pv2vafetjzzk5jxs@cs.cmu.edu> Mail-Followup-To: Yann Droneaud , David Howells , linux-api@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org References: <153616286704.23468.584491117180383924.stgit@warthog.procyon.org.uk> <153616291029.23468.16421004714304578585.stgit@warthog.procyon.org.uk> <1c57005277ac723ebb670a1dc847a205f0529d53.camel@opteya.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1c57005277ac723ebb670a1dc847a205f0529d53.camel@opteya.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 05, 2018 at 07:12:37PM +0200, Yann Droneaud wrote: > Le mercredi 05 septembre 2018 ? 16:55 +0100, David Howells a ?crit : > > The size and layout of internal kernel structures may not be relied > > upon outside of the kernel and may even change in a containerised > > environment if a container image is frozen and shifted to another > > machine. > > > > Excise these from Coda's upc_req struct. ... > > This structure should not have been exposed to userspace in the first > place: it's unusable by userspace as it is. It was incorrect to have it > outside of #ifdef __KERNEL__ before commit 607ca46e97a1b ... ... > So the structure can be moved back to . I found a year old patch that clearly fell through the cracks that fixes this exact thing. https://lkml.org/lkml/2017/8/6/186 Jan