Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2023 21:03:58 -0700
From:      Doug Hardie <bc979@lafn.org>
To:        Paul Procacci <pprocacci@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: execve exect
Message-ID:  <654A6E01-372D-4AE4-AACF-DFCABFE82188@sermon-archive.info>
In-Reply-To: <CAFbbPuj8b3cJq7r11fFmzb8ZYLz1i0uPXys-vZHt0xHGfkucpg@mail.gmail.com>
References:  <38739E09-6C77-4492-86E7-5F340E3A7DC3@sermon-archive.info> <CAFbbPuj8b3cJq7r11fFmzb8ZYLz1i0uPXys-vZHt0xHGfkucpg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_663572B6-4924-46B6-9B8B-F788B7C742D7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

> On Jul 13, 2023, at 20:28, Paul Procacci <pprocacci@gmail.com> wrote:
>=20
>=20
>=20
> On Thu, Jul 13, 2023 at 10:07=E2=80=AFPM Doug Hardie <bc979@lafn.org =
<mailto:bc979@lafn.org>> 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.
>>=20
>> -- Doug
>>=20
>=20
> execve is an/the actual syscall.
> exect (and friends) are just different ways of presenting the =
environment to the underlying syscall which is execve.


Thanks.  I understand now.  I missed the 2 and 3 in those pages.

-- Doug


--Apple-Mail=_663572B6-4924-46B6-9B8B-F788B7C742D7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: =
after-white-space;"><div><blockquote type=3D"cite"><div>On Jul 13, 2023, =
at 20:28, Paul Procacci &lt;pprocacci@gmail.com&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div><div dir=3D"ltr"><div><div><div =
dir=3D"ltr"><br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Thu, Jul 13, 2023 at 10:07=E2=80=AFPM Doug =
Hardie &lt;<a href=3D"mailto:bc979@lafn.org">bc979@lafn.org</a>&gt; =
wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px =
0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex"><div>What is the difference between =
execve and exect other than exect passes along the trace flag?&nbsp; I =
presume there must be a difference since execve has its own man page and =
is not included with all the other exec varients.<div><br><div>
<div>-- Doug</div>

</div>
<br></div></div></blockquote></div><br clear=3D"all"></div>execve is =
an/the actual syscall.<br>
 exect (and friends) are just different ways of presenting the =
environment to the underlying syscall which is =
execve.</div></div></div></blockquote><br></div><div><br></div><div>Thanks=
. &nbsp;I understand now. &nbsp;I missed the 2 and 3 in those =
pages.</div><div><br></div><div>-- =
Doug</div><div><br></div></body></html>=

--Apple-Mail=_663572B6-4924-46B6-9B8B-F788B7C742D7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?654A6E01-372D-4AE4-AACF-DFCABFE82188>