History log of /freebsd-12.1/lib/libc/sys/execve.2 (Results 1 – 25 of 48)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0
# fbbd9655 28-Feb-2017 Warner Losh <[email protected]>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <[email protected]>
Pull Request: https://github.com/freebsd/freebsd/pull/96

show more ...


Revision tags: release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0, release/7.4.0, release/8.2.0
# 8f7f5a7f 21-Sep-2010 Alan Cox <[email protected]>

Fix exec_imgact_shell()'s handling of two error cases: (1) Previously, if
the first line of a script exceeded MAXSHELLCMDLEN characters, then
exec_imgact_shell() silently truncated the line and passe

Fix exec_imgact_shell()'s handling of two error cases: (1) Previously, if
the first line of a script exceeded MAXSHELLCMDLEN characters, then
exec_imgact_shell() silently truncated the line and passed on the truncated
interpreter name or argument. Now, exec_imgact_shell() will fail and return
ENOEXEC, which is the commonly used errno among Unix variants for this type
of error. (2) Previously, exec_imgact_shell()'s check on the length of the
interpreter's name was ineffective. In other words, exec_imgact_shell()
could not possibly fail and return ENAMETOOLONG. The reason being that the
length of the interpreter name had to exceed MAXSHELLCMDLEN characters in
order that ENAMETOOLONG be returned. But, the search for the end of the
interpreter name stops after at most MAXSHELLCMDLEN - 2 characters are
scanned. (In the end, this particular error is eventually discovered
outside of exec_imgact_shell() and ENAMETOOLONG is returned. So, the real
effect of this second change is that the error is detected earlier, in
exec_imgact_shell().)

Update the definition of MAXINTERP to the actual limit on the size of
the interpreter name that has been in effect since r142453 (from
2005).

In collaboration with: kib

show more ...


Revision tags: release/8.1.0
# 0afc94c1 13-May-2010 Ulrich Spörlein <[email protected]>

mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the
bottom of the manpages and order them consistently.

GNU groff doesn't care about the ordering, and doesn't even mention
CAVEATS a

mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the
bottom of the manpages and order them consistently.

GNU groff doesn't care about the ordering, and doesn't even mention
CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put
them.

Found by: mdocml lint run
Reviewed by: ru

show more ...


# c84cab56 06-May-2010 Jilles Tjoelker <[email protected]>

Update xrefs from 4.3BSD to modern signal functions in various man pages.

sigvec(2) references have been updated to sigaction(2), sigsetmask(2) and
sigblock(2) to sigprocmask(2), sigpause(2) to sigs

Update xrefs from 4.3BSD to modern signal functions in various man pages.

sigvec(2) references have been updated to sigaction(2), sigsetmask(2) and
sigblock(2) to sigprocmask(2), sigpause(2) to sigsuspend(2).

Some legacy man pages still refer to them, that is OK.

show more ...


Revision tags: release/7.3.0, release/8.0.0
# 69a789b9 05-Jul-2009 Pawel Jakub Dawidek <[email protected]>

- Don't suggest opening file for writing in preparation for fexecve(2).
- execve(2)/fexecve(2) won't return ETXTBSY if file is open for reading.

Approved by: re (kib)


Revision tags: release/7.2.0, release/7.1.0, release/6.4.0
# eaad1099 26-Aug-2008 Konstantin Belousov <[email protected]>

When calculating arguments to the interpreter for the shebang script
executed by fexecve(2), imgp->args->fname is NULL. Moreover, there is
no way to recover the path to the script being executed.
Do

When calculating arguments to the interpreter for the shebang script
executed by fexecve(2), imgp->args->fname is NULL. Moreover, there is
no way to recover the path to the script being executed.
Do what some other U*ixes do unconditionally, namely supply /dev/fd/n
as the script path when called from fexecve(). Document requirement of
having fdescfs mounted as caveat.

show more ...


# a141af69 16-Apr-2008 Konstantin Belousov <[email protected]>

Man pages for the openat(2), fexecve(2) and related syscalls.

Reviewed by: ru


Revision tags: release/7.0.0, release/6.3.0, release/6.2.0
# c879ae35 09-Jan-2007 Warner Losh <[email protected]>

Per Regents of the University of Calfornia letter, remove advertising
clause.

# If I've done so improperly on a file, please let me know.


Revision tags: release/5.5.0, release/6.1.0, release/6.0.0, release/5.4.0, release/4.11.0, release/5.3.0
# 1c85060a 04-Jul-2004 Ruslan Ermilov <[email protected]>

Sort SEE ALSO references (in dictionary order, ignoring case).


# 30950a21 03-Jul-2004 Ruslan Ermilov <[email protected]>

Eliminate double whitespace.


# 1a0a9345 02-Jul-2004 Ruslan Ermilov <[email protected]>

Mechanically kill hard sentence breaks.


Revision tags: release/4.10.0, release/5.2.1, release/5.2.0, release/4.9.0, release/5.1.0, release/4.8.0, release/5.0.0
# 2efeeba5 19-Dec-2002 Ruslan Ermilov <[email protected]>

mdoc(7) police: "The .Fa argument.".


# 5c564bae 18-Dec-2002 Ruslan Ermilov <[email protected]>

mdoc(7) police: Fixed abuses of the .Ar and .Em macros.


# 2faeeff4 18-Dec-2002 Ruslan Ermilov <[email protected]>

mdoc(7) police: Tidy up the syscall language.

Stop calling system calls "function calls".

Use "The .Fn system call" a-la "The .Nm utility".

When referring to a non-BSD implementation in
the HISTOR

mdoc(7) police: Tidy up the syscall language.

Stop calling system calls "function calls".

Use "The .Fn system call" a-la "The .Nm utility".

When referring to a non-BSD implementation in
the HISTORY section, call syscall a function,
to be safe.

show more ...


Revision tags: release/4.6.2
# 48797398 07-Aug-2002 Garrett Wollman <[email protected]>

Document file descriptor reopening and current standardization status.


# 1f2cec10 15-Jul-2002 Giorgos Keramidas <[email protected]>

The .Fn function.


# dd98d57b 04-Dec-2001 Ruslan Ermilov <[email protected]>

mdoc(7) police: markup the previous delta.


# a5f75648 28-Nov-2001 John W. De Boskey <[email protected]>

Return a more meaningful errno when the length of the interpreter
exceeds MAXSHELLCMDLEN to avoid secondary /bin/sh execution.

Update execve man page to reflect change.

Increase MAXSHELLCMDLEN to a

Return a more meaningful errno when the length of the interpreter
exceeds MAXSHELLCMDLEN to avoid secondary /bin/sh execution.

Update execve man page to reflect change.

Increase MAXSHELLCMDLEN to a slightly more meaningful value.

PR: kern/32106
Submitted by: [email protected]
Reviewed by: bsd
MFC after: 2 weeks

show more ...


# db8caf03 26-Oct-2001 Ruslan Ermilov <[email protected]>

Remove the internal implementation details of wrapping syscalls,
which do not match the reality anyway.

Approved by: deischen, bde


# 32eef9ae 01-Oct-2001 Ruslan Ermilov <[email protected]>

mdoc(7) police: Use the new .In macro for #include statements.


# 7ebcc426 15-Jul-2001 Dima Dorfman <[email protected]>

Remove whitespace at EOL.


# a307d598 10-Jul-2001 Ruslan Ermilov <[email protected]>

mdoc(7) police: removed HISTORY info from the .Os call.


# 70d51341 09-Jul-2001 Dima Dorfman <[email protected]>

mdoc(7) police: remove extraneous .Pp before and/or after .Sh.


# 5521ff5a 06-Jul-2001 Ruslan Ermilov <[email protected]>

mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).


Revision tags: release/4.3.0
# 46eea498 07-Feb-2001 Ruslan Ermilov <[email protected]>

mdoc(7) police: Change -filled displays (which just happen
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted a

mdoc(7) police: Change -filled displays (which just happen
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.

show more ...


12