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
[-- Attachment #1 --] > On Jul 13, 2023, at 20:28, Paul Procacci <pprocacci@gmail.com> wrote: > > > > On Thu, Jul 13, 2023 at 10:07 PM 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. >> >> -- 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. Thanks. I understand now. I missed the 2 and 3 in those pages. -- Doug [-- Attachment #2 --] <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><blockquote type="cite"><div>On Jul 13, 2023, at 20:28, Paul Procacci <pprocacci@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div><div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 13, 2023 at 10:07 PM Doug Hardie <<a href="mailto:bc979@lafn.org">bc979@lafn.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="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? 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="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. I understand now. I missed the 2 and 3 in those pages.</div><div><br></div><div>-- Doug</div><div><br></div></body></html>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?654A6E01-372D-4AE4-AACF-DFCABFE82188>
