public inbox for developer@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
From: Alan Coopersmith <alan.coopersmith@oracle.com>
To: illumos-developer <developer@lists.illumos.org>,
	Andy Fiddaman <illumos@fiddaman.net>
Subject: Re: [developer] Review - 5798 fexecve() needed per POSIX 2008
Date: Sat, 13 Jan 2024 09:03:45 -0800	[thread overview]
Message-ID: <4b3446c9-f401-4afc-b018-7a474dff343c@oracle.com> (raw)
In-Reply-To: <17013819-31a2-40dc-82e1-a79f311f7075@fiddaman.net>

On 1/13/24 04:22, Andy Fiddaman wrote:
> On Sat, 13 Jan 2024, Cedric Blancher wrote:
>> Solaris 11 implements fexecve() has syscall, see
>> https://docs.oracle.com/cd/E26502_01/html/E29032/fexecve-2.html#scrolltoc
> 
> Solaris just has the 'execve' syscall, so they presumably extended it or did
> something similar to this change. 

Technically, Solaris 11 just has the execvex() syscall, which replaced
SYS_execve:

https://docs.oracle.com/cd/E88353_01/html/E37841/execvex-2.html

Despite having man pages in section 2, the other exec calls are just libc
wrappers around this actual system call.

	-alan-

  reply	other threads:[~2024-01-13 17:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-12 14:06 Andy Fiddaman
2024-01-13  0:45 ` [developer] " Cedric Blancher
2024-01-13  0:55   ` Robert Mustacchi
2024-01-13  0:57   ` Bill Sommerfeld
2024-01-13  1:52     ` Cedric Blancher
2024-01-13  3:49       ` Bill Sommerfeld
2024-01-13 12:22   ` Andy Fiddaman
2024-01-13 17:03     ` Alan Coopersmith [this message]
2024-01-13 21:26     ` Jason King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4b3446c9-f401-4afc-b018-7a474dff343c@oracle.com \
    --to=alan.coopersmith@oracle.com \
    --cc=developer@lists.illumos.org \
    --cc=illumos@fiddaman.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).