<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libc/gen/exec.3, branch release/3.2.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F3.2.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F3.2.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>1999-05-24T16:47:10Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>1999-05-24T16:47:10Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>1999-05-24T16:47:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bff5b80e6cde3256fd760aec0882f8b9fa85b5ee'/>
<id>urn:sha1:bff5b80e6cde3256fd760aec0882f8b9fa85b5ee</id>
<content type='text'>
'RELENG_3_2_0_RELEASE'.

This commit was manufactured to restore the state of the 3.2-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
</content>
</entry>
<entry>
<title>Fixed searching of $PATH in execvp().  Do what sh(1) should do according</title>
<updated>1997-10-14T07:23:16Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1997-10-14T07:23:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1df595f25dae340c439be4d028cbb72a0894e1a6'/>
<id>urn:sha1:1df595f25dae340c439be4d028cbb72a0894e1a6</id>
<content type='text'>
to POSIX.2.  In particular:

- don't retry for ETXTBSY.  This matches what sh(1) does.  The retry code
  was broken anyway.  It only slept for several seconds for the first few
  retries.  Then it retried without sleeping.
- don't abort the search for errors related to the path prefix, in
  particular for ENAMETOOLONG, ENOTDIR, ELOOP.  This fixes PR1487.  sh(1)
  gets this wrong in the opposite direction by never aborting the search.
- don't confuse EACCES for errors related to the path prefix with EACCES
  for errors related to the file.  sh(1) gets this wrong.
- don't return a stale errno when the search terminates normally without
  finding anything.  The errno for the last unsuccessful execve() was
  usually returned.  This gave too much precedence to pathologies in the
  last component of $PATH.  This bug is irrelevant for sh(1).

The implementation still uses the optimization/race-inhibitor of trying
to execve() things first.  POSIX.2 seems to require looking at file
permissions using stat().  We now use stat() after execve() if execve()
fails with an ambiguous error.  Trying execve() first may actually be a
pessimization, since failing execve()s are fundamentally a little slower
than stat(), and are significantly slower when a file is found but has
unsuitable permissions or points to an unsuitable interpreter.

PR:		1487
</content>
</entry>
<entry>
<title>Fixed synopsis.  The envp arg for execle() can't be given in the prototype.</title>
<updated>1997-09-03T03:25:35Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1997-09-03T03:25:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=853aa1faf37cd30b2166fc6a35aaf87aa0475aa7'/>
<id>urn:sha1:853aa1faf37cd30b2166fc6a35aaf87aa0475aa7</id>
<content type='text'>
Fortunately, the man page doesn't refer to "envp" so just deleting it is OK.
</content>
</entry>
<entry>
<title>Fixed various problems: typos, grammer, missing include files</title>
<updated>1996-05-23T01:05:25Z</updated>
<author>
<name>Mike Pritchard</name>
<email>mpp@FreeBSD.org</email>
</author>
<published>1996-05-23T01:05:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=712dc76e87bd7bbeb3f781e690886b69a1f9c5ca'/>
<id>urn:sha1:712dc76e87bd7bbeb3f781e690886b69a1f9c5ca</id>
<content type='text'>
wrong function type declarations, and wrong argument type
declarations.
</content>
</entry>
<entry>
<title>Added missing section numbers to a bunch of .Xr macros, or</title>
<updated>1996-03-27T20:49:07Z</updated>
<author>
<name>Mike Pritchard</name>
<email>mpp@FreeBSD.org</email>
</author>
<published>1996-03-27T20:49:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=064f007493a990a098f3f0f5ae66732c5747c837'/>
<id>urn:sha1:064f007493a990a098f3f0f5ae66732c5747c837</id>
<content type='text'>
converted them into .Fn macros where appropriate.  Also fixed
up some minor formatting problems.
</content>
</entry>
<entry>
<title>Correct a bunch of man page cross references and generally</title>
<updated>1996-02-11T22:38:05Z</updated>
<author>
<name>Mike Pritchard</name>
<email>mpp@FreeBSD.org</email>
</author>
<published>1996-02-11T22:38:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=78b0b234eb5a179413189a3e2561e894c9c18135'/>
<id>urn:sha1:78b0b234eb5a179413189a3e2561e894c9c18135</id>
<content type='text'>
try and silence "manck".

ncurses, rpc, and some of the gnu stuff are still a big mess, however.
</content>
</entry>
<entry>
<title>BSD 4.4 Lite Lib Sources</title>
<updated>1994-05-27T05:00:24Z</updated>
<author>
<name>Rodney W. Grimes</name>
<email>rgrimes@FreeBSD.org</email>
</author>
<published>1994-05-27T05:00:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=58f0484fa251c266ede97b591b499fe3dd4f578e'/>
<id>urn:sha1:58f0484fa251c266ede97b591b499fe3dd4f578e</id>
<content type='text'>
</content>
</entry>
</feed>
