From nobody Fri Jul 14 03:28:38 2023 X-Original-To: questions@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 4R2H4z1dTKz4mXFf for ; Fri, 14 Jul 2023 03:28:51 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: from mail-oo1-xc36.google.com (mail-oo1-xc36.google.com [IPv6:2607:f8b0:4864:20::c36]) (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 4R2H4y72S6z3pVl for ; Fri, 14 Jul 2023 03:28:50 +0000 (UTC) (envelope-from pprocacci@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-oo1-xc36.google.com with SMTP id 006d021491bc7-560b56b638eso892238eaf.0 for ; Thu, 13 Jul 2023 20:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689305330; x=1691897330; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vUjZDkVvalRRwncgXui9b6SP4r5cdnM6aTBsbHAAlMI=; b=LDmgPmuxmQKebZEHM8bNv1/iyde7PRUgYoUMzVBzCTAkLoRLkVOR4+qtu5MvH1syF4 2iURdCyOu3PHq9fx91qQp+4WW7q46cQ8WyHwmkGKcRjZ/LRsUHpMPuVc+UsuGEEt5ltj DVOlFsdE/FiNs0uFMmvkPFWNjXiGrncreLX36UKjpW3dZGcdIgbr+SRLwLGX4jYnySZ4 WFiLiCJ5CuioSr1bktaZYzutwZ3wk/PIdjXciag6uRuCjESRkny5Q97//LBA37Xwt52N aUPTJPHNP5gN5YShWq0Qi3dBB4SaT2JjFq8thUsNdcjL83YKGE7W125RVj6oakIxahdx 6gJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689305330; x=1691897330; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vUjZDkVvalRRwncgXui9b6SP4r5cdnM6aTBsbHAAlMI=; b=eiLZCxWumVWXpPPZXSBlBdYrX1nGWAhKOjJ+wV2rtuxpvy4RbPo6Z1vAC69Q/itbTD J+OILCCIztRz9cpGNtCn0+rULI3Nc6Lq34MylreqRN5K4xQjM1XmjpaidfY+Mvwe34A2 J9RJoECdk/rBNeWbtyo8WNV/ircz2uJlcgswnEl9TuK/SlfC3eXbHp9BfdU7Y7c6Ur1r T7MNZWPp0nI7rzW8tire1jU35ciCx4WkXwCuwsXbUwLx3douN5PXpux0JHTZEj6cT9uj lTpaJwaoLHEV+GPC73750uKEN2CiVLuuvzUKNn0r1cu5dbRKJLUwFjQ/IqAUhrU1dKzj pCWQ== X-Gm-Message-State: ABy/qLahm1UQ8FHucGR/VULsvc+asXiWvf2lHGRlx4LFTYwgWcjbTtQ5 JJuNlW0Ga6caxsPpSuB+g/WVeJzqPuL8ZQooYoVrBNDtQQ== X-Google-Smtp-Source: APBJJlH0oIKlIZypp67djS7jmunL1DrjS6xGgn1Q8oqqV+aojzMDyYgAjhnc247Bh8JRX8LhLEw+8uzpCtRKPtbmgH0= X-Received: by 2002:a4a:e2ce:0:b0:560:bc01:24e2 with SMTP id l14-20020a4ae2ce000000b00560bc0124e2mr1152744oot.4.1689305329668; Thu, 13 Jul 2023 20:28:49 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <38739E09-6C77-4492-86E7-5F340E3A7DC3@sermon-archive.info> In-Reply-To: <38739E09-6C77-4492-86E7-5F340E3A7DC3@sermon-archive.info> From: Paul Procacci Date: Thu, 13 Jul 2023 23:28:38 -0400 Message-ID: Subject: Re: execve exect To: Doug Hardie Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="0000000000001796c806006a0c9c" X-Rspamd-Queue-Id: 4R2H4y72S6z3pVl X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --0000000000001796c806006a0c9c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jul 13, 2023 at 10:07=E2=80=AFPM Doug Hardie wrote= : > What is the difference between execve and exect other than exect passes > along the trace flag? I presume there must be a difference since execve > has its own man page and is not included with all the other exec varients= . > > -- Doug > > execve is an/the actual syscall. exect (and friends) are just different ways of presenting the environment to the underlying syscall which is execve. ~Paul --=20 __________________ :(){ :|:& };: --0000000000001796c806006a0c9c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, Jul 13, 2023 at 10:= 07=E2=80=AFPM Doug Hardie <bc979@lafn.= org> wrote:
What is the difference between execve and exect other than exect pa= sses along the trace flag?=C2=A0 I presume there must be a difference since= execve has its own man page and is not included with all the other exec va= rients.

-- Doug


execve is an/the= actual syscall.
exect (and friends) are just different ways of presenting the environment = to the underlying syscall which is execve.

~Paul

--
=
__________________

:(){ := |:& };:
--0000000000001796c806006a0c9c--