From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D2F0AC43334 for ; Mon, 20 Jun 2022 19:27:31 +0000 (UTC) Received: from localhost ([::1]:35560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3N3a-0007iF-MI for qemu-devel@archiver.kernel.org; Mon, 20 Jun 2022 15:27:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3Mxm-0003Dx-Ei for qemu-devel@nongnu.org; Mon, 20 Jun 2022 15:21:31 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:40685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3Mxk-0007Cr-TL for qemu-devel@nongnu.org; Mon, 20 Jun 2022 15:21:30 -0400 Received: by mail-pl1-x62c.google.com with SMTP id k7so10572592plg.7 for ; Mon, 20 Jun 2022 12:21:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=wGztU6FVNwPnanaIt+r+Uaj0QEmAq/XhnTAV8oR5MlU=; b=RH2EpsPuuzggP3x9/BTley2LYP6abdW/7ReUfaxA45ELWdbXBDaH+c0JsUCkZokM39 A2t8ya5CDVmfWIuGqO/e1Tbbck9mJsyPYs7b8K//kivmC4HSElEgp4yczkZMN9qRioaG H/ILE6ex6oTc8Nh8Rf0XRA0nIhYBbXBxwBj9nSQLSUpEKJ2lLt74tVX4go49mlr3DmqN ZEwpJMRwLnHC4yax1JFVKHhNEvbTVTwSiH1wrX5FqWK88/ot3omj4VRhzC626wjrwcLR 83afqzjf3Xtr4IwlXWehrKon191uude2OkNo/PDJUcSLij0Jj9usHY76tIlmKIm6PUjC NJow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=wGztU6FVNwPnanaIt+r+Uaj0QEmAq/XhnTAV8oR5MlU=; b=o+fFhmum+Lrn/4CNr9jRMNhsG8/36DbqU+1OuM30/6vVWwi3gmlidQ6xgGSwwXea7R /jIYsz+047onZgPFEFnAekncdQ6U6Shaa0enGMT9zhVkhHzhYOBr1cmS9FZZ+CfDLbGq +QbmyR0/7+jnBU/gnCADGF38DV6QD6I4/tB6eEtgbspLMQ4dkBpqx6TPHSiY0Jrq4n5R QY++IXDTi/jh9gNF71W0jOB6C/DMSt1/MysluA8k6+lkzD6Ee/VYeFKPrwwZS7BBy0+s dP+YNFlkUIhWQKOWlYLf6Ef1zmxbM1pWH6aeZkzB8QXD0Xr4ceuOtqQPsCMP4p1mJcSV jRPw== X-Gm-Message-State: AJIora/r5BVXLcjAbwNUPZqoKAxWEOEc6vV55Ryx2rH4CRCDXF5d8wN8 YkHwBQmPXj5IWlY7UL0PozyorQ== X-Google-Smtp-Source: AGRyM1vqR4pA0+mH/I2SHCFdymbWieak0STqsaEQLMlpyIT8qxU2Nzt1CrKCf60KxXmnnmu42sgAbg== X-Received: by 2002:a17:90b:1e01:b0:1e3:1f4c:dd71 with SMTP id pg1-20020a17090b1e0100b001e31f4cdd71mr28809716pjb.168.1655752887524; Mon, 20 Jun 2022 12:21:27 -0700 (PDT) Received: from ?IPV6:2602:47:d49e:3c01:a3e0:8a80:7b85:aea6? ([2602:47:d49e:3c01:a3e0:8a80:7b85:aea6]) by smtp.gmail.com with ESMTPSA id jj4-20020a170903048400b001678898ad06sm3096555plb.47.2022.06.20.12.21.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Jun 2022 12:21:27 -0700 (PDT) Message-ID: <469e7f76-a40a-da53-ceae-00191db9433f@linaro.org> Date: Mon, 20 Jun 2022 12:21:25 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH 07/10] bsd-user: Implement chroot and flock Content-Language: en-US To: Warner Losh , qemu-devel@nongnu.org Cc: Kyle Evans , Stacey Son References: <20220620174220.22179-1-imp@bsdimp.com> <20220620174220.22179-8-imp@bsdimp.com> From: Richard Henderson In-Reply-To: <20220620174220.22179-8-imp@bsdimp.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 6/20/22 10:42, Warner Losh wrote: > Signed-off-by: Stacey Son > Signed-off-by: Warner Losh > --- > bsd-user/bsd-file.h | 19 +++++++++++++++++++ > bsd-user/freebsd/os-syscall.c | 8 ++++++++ > 2 files changed, 27 insertions(+) Reviewed-by: Richard Henderson r~