From nobody Thu Sep 28 15:45:14 2023 X-Original-To: dev-commits-src-all@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 4RxHqd2dqWz4txWF; Thu, 28 Sep 2023 15:45:17 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RxHqd22ftz4Hrh; Thu, 28 Sep 2023 15:45:17 +0000 (UTC) (envelope-from kevans@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695915917; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aGp/2b/OKuMAWV+FUyUGCRyJeosvKHmDkkOEfmQ/ghM=; b=PFcuBybS4D6DoHAj0FgBZHukpyd0OkDUilBjL5mPJP+/+7yQl5MFAzuqfy2cFXn4M5mzQL +aWdUpkNQTnelB7HqcH3s4vlk6ku25OV6nV382eaZhEmcq/wAOkvkZZU3mDkDbVAn4L+ym Q73Xf2egYyEnj8OPVJakf0fOWWcV2J71zHKh0T5SpKV0zgFZlGpZnuB0DNKhnPG7ED8IDi mtm2SM9G6pLHsuyXt48QQVa+N/VKbVY4GX0GPCUeUxxOYkWBxJtshQSa4UF4rjMEXzaNPA fUTSA4OGYuIIA5EyJLRTWzKdKRw4nUfu365AmOPlZuMWQzl9+3ozjzwzddYV6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695915917; a=rsa-sha256; cv=none; b=gjKJ+EwMD/5DUTUYQ6lWQp1Z0GQ74RRRF5LKguSr7IuQm0czx6o6IGkL1BG4GH9k0JcQDZ YY71URxS6D12ciJLgJxLDbf7wpc3GkXAEo4U+x5g47RVNjAMN5JI+EDudwGrwZ6TFerox6 82JzRkF1lT8rzZsQvjBbZ7OG/XOCcjrQnFF08s4TAtCFEokmlup04TO1NI0OtzIb2iDGbO HGjVLw5nK37w1GuvYgt8jA7nfvB8qBczlCWT56wLE4h7wjYWB0N2xbHDiTDTeSMU85vJfs OCAa/4PP0Oum62LYsoMOEX8u/3Ed3jCp53yVjfXrs3DZNKRWo6PphvEjpdv3xg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695915917; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aGp/2b/OKuMAWV+FUyUGCRyJeosvKHmDkkOEfmQ/ghM=; b=fr5pO+MKUhA4q8978cH4o0WyOP82AuxzYZrKS58jD0vGqhZqLg3tNRRkLeMLpEPe6aD0ee Etisj5dgKFwcoZxuerWJ/If4bWIqMSNw3XY97b7V+NI3A2NQqWGFLM/PjnuAEvkYs49u9L +a3scJxukiAzv7tSL/IX+S+MSVQWyeAwrI4+Vp7hmE/jtp09qmDGge9eHRxLFzsTcEAtfg kmcjTqbNDAY3iqVccnhYwKml+bmSin08vjHspJr6ley6WnMNVqCTXo1yn6Dc7kzJ0PD3wD sXuXjKkwplDz611abB7hqfffgnzKBN2UQ9f4JEikd4IG+OpGB67M/oDj9JwS2g== Received: from [10.9.4.95] (unknown [209.182.120.176]) (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 did not present a certificate) (Authenticated sender: kevans/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RxHqc4yQYzB9J; Thu, 28 Sep 2023 15:45:16 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Message-ID: Date: Thu, 28 Sep 2023 10:45:14 -0500 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: git: 1f31e00e19f9 - main - flua: add fbsd module Content-Language: en-US To: Mark Johnston , Baptiste Daroussin Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org References: <202309271400.38RE0s2R037013@gitrepo.freebsd.org> From: Kyle Evans In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 9/28/23 09:58, Mark Johnston wrote: > On Wed, Sep 27, 2023 at 02:00:54PM +0000, Baptiste Daroussin wrote: >> The branch main has been updated by bapt: >> >> URL: https://cgit.FreeBSD.org/src/commit/?id=1f31e00e19f9e24d4c891a24973e08a027c4f71c >> >> commit 1f31e00e19f9e24d4c891a24973e08a027c4f71c >> Author: Baptiste Daroussin >> AuthorDate: 2023-09-13 07:43:33 +0000 >> Commit: Baptiste Daroussin >> CommitDate: 2023-09-27 14:00:00 +0000 >> >> flua: add fbsd module >> >> This module is bundled into flua, it only provides for now the exec >> function. The point of the function is to be able to execute a program >> without actually executing a shell. >> >> to use it: >> fbsd.exec({"id", "bapt"}) > > Hi Baptiste, > > How is this different from posix.unistd.exec in the luaposix module? > Wouldn't it be better to add this to the existing posix.unistd namespace > in lposix.c? exec does not seem FreeBSD-specific. > fwiw, posix.unistd is expected to match some subset of the actual lposix module: https://github.com/luaposix/luaposix -- we could add something there, but I'd prefer to see it go upstream first before we adopt it, in general, if it's one of these subsets-of-a-module that we implement. Thanks, Kyle Evans