From nobody Fri May 19 15:00:02 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QN94Z6Qz1z4C2WQ for ; Fri, 19 May 2023 15:00:14 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QN94Z0m9kz3sRL for ; Fri, 19 May 2023 15:00:14 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=W06hvVg1; spf=pass (mx1.freebsd.org: domain of rick.macklem@gmail.com designates 2607:f8b0:4864:20::102f as permitted sender) smtp.mailfrom=rick.macklem@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-253570deb8dso1908549a91.1 for ; Fri, 19 May 2023 08:00:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684508412; x=1687100412; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=XrfpYw5NsyLTzHy6Qrnd5ygSJJdbDEbBhIisKHSGMzQ=; b=W06hvVg1hnxrkmKH4cYhHn+vDHYOv0Q0ZBGJ21XA14zKL3VKmsxnkYFgwN5ORb2deU XLxnTMNA/xvj+NStP9Rfs90JVzoZIuamg1FP8esRE1YBLhK17t6YOMMj3qhR25eVNjPd z6+hde6e/bJvM1fXDNLSbZJ6mttaGmxainYjvbybNTBEHE2ZpfrhSduiUAt+J7csQK2J fWlv8hzyXFnMoOVrPwhyYoa6lkNLZEqu15/OvZ19LpGYQl+rnddctS8jA5NFZ1kEmFLI VBgZKnwrudqpURAWmPQNl8lRjim2bOjyQ7C7PsHSotIAjBD3yfoQs7sYi02qo39WfxlN L+Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684508412; x=1687100412; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XrfpYw5NsyLTzHy6Qrnd5ygSJJdbDEbBhIisKHSGMzQ=; b=eN85/Yx+jGpo15hGoUEb6FJmUhi6i6c5T1P9UWOIQvJDjdQsCU6SuoOtBd7fmtvbhD ap+EBmntpOilrwCkUTKAG1lNDW5+jU77IgwqtTXbArc7Rx8u07iheUpsx9yKrz1wzxzc 4whdSgn8Aq/TdsSbtWF2Vy5aMWK4hXNusz2CvuoPKdWaF74ac/5k5W7702hxECMCW1tO IEO86ZVNSlK3OPedgEizWASSM7Z61ige/YGZU6vY0icSUqyxeD5SbO+1jqZODpE8o7uE odSkkHWrfXVxD0uIxMfluav/3bIpXkXNu4xJL0ROf+/8csm/mlWwITGEuKWEqgYkwJ73 9gmw== X-Gm-Message-State: AC+VfDyWWS3FjSue8/pirBcs9Y5qpPHUH4NGo6wDTJk9KeQxznrAr9BD xseK44dj9oL79wB1WyhEuPaiw6MWkfETEVTAKtm/a6swrQ== X-Google-Smtp-Source: ACHHUZ51UoOxXesCyG9YbrABMUzN2tIS2kd84rt3pozxMTqmcrpfpMo5x52zqQMnml3u8RJifICOCnJqIPLV+vz6ywc= X-Received: by 2002:a17:90a:9802:b0:252:8156:6a34 with SMTP id z2-20020a17090a980200b0025281566a34mr2476277pjo.28.1684508412428; Fri, 19 May 2023 08:00:12 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 From: Rick Macklem Date: Fri, 19 May 2023 08:00:02 -0700 Message-ID: Subject: RFC: MFC'ng a change to struct mount To: FreeBSD CURRENT Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102f:from]; ARC_NA(0.00)[]; TAGGED_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4QN94Z0m9kz3sRL X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hi, Since there seemed to be interest in it, I have MFC'd most of the changes needed to run nfsd(8) in a vnet jail to stable/13. However, there is one change that *might* affect the VFS KAPI. I need to add a pointer called mnt_exjail to struct mount. There is a field called mnt_pad0. It is 32bits, but is followed by a field that is a structure. As such, replacing it with the pointer does not change the offsets of subsequent fields for amd64. --> Since mnt_exjail is only used in generic code, this should not break the VFS KAPI for amd64, I think? I will check i386, but since it will be replacing a 32bit field with a 32bit pointer, I suspect it will be ok. Does anyone think some other architecture will be broken by this or know an easy way I can check all arches? Thanks for any input, rick