#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
212965 |
|
21-Sep-2010 |
alc |
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
|
#
208027 |
|
13-May-2010 |
uqs |
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
|
#
207735 |
|
06-May-2010 |
jilles |
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.
|
#
195380 |
|
05-Jul-2009 |
pjd |
- 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)
|
#
182191 |
|
26-Aug-2008 |
kib |
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.
|
#
178245 |
|
16-Apr-2008 |
kib |
Man pages for the openat(2), fexecve(2) and related syscalls.
Reviewed by: ru
|
#
165903 |
|
08-Jan-2007 |
imp |
Per Regents of the University of Calfornia letter, remove advertising clause.
# If I've done so improperly on a file, please let me know.
|
#
131594 |
|
04-Jul-2004 |
ru |
Sort SEE ALSO references (in dictionary order, ignoring case).
|
#
131539 |
|
03-Jul-2004 |
ru |
Eliminate double whitespace.
|
#
131504 |
|
02-Jul-2004 |
ru |
Mechanically kill hard sentence breaks.
|
#
108087 |
|
19-Dec-2002 |
ru |
mdoc(7) police: "The .Fa argument.".
|
#
108040 |
|
18-Dec-2002 |
ru |
mdoc(7) police: Fixed abuses of the .Ar and .Em macros.
|
#
108028 |
|
18-Dec-2002 |
ru |
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.
|
#
101480 |
|
07-Aug-2002 |
wollman |
Document file descriptor reopening and current standardization status.
|
#
100144 |
|
15-Jul-2002 |
keramida |
The .Fn function.
|
#
87359 |
|
04-Dec-2001 |
ru |
mdoc(7) police: markup the previous delta.
|
#
87025 |
|
28-Nov-2001 |
jwd |
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: b@etek.chalmers.se Reviewed by: bsd MFC after: 2 weeks
|
#
85555 |
|
26-Oct-2001 |
ru |
Remove the internal implementation details of wrapping syscalls, which do not match the reality anyway.
Approved by: deischen, bde
|
#
84306 |
|
01-Oct-2001 |
ru |
mdoc(7) police: Use the new .In macro for #include statements.
|
#
79754 |
|
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
#
79531 |
|
10-Jul-2001 |
ru |
mdoc(7) police: removed HISTORY info from the .Os call.
|
#
79454 |
|
09-Jul-2001 |
dd |
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
|
#
79366 |
|
06-Jul-2001 |
ru |
mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).
|
#
72126 |
|
07-Feb-2001 |
ru |
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.
|
#
71895 |
|
01-Feb-2001 |
ru |
mdoc(7) police: split punctuation characters + misc fixes.
|
#
69276 |
|
27-Nov-2000 |
sobomax |
Add reference to elf(5) in addition to already mentioned a.out(5) and add both elf(5) and a.out(5) into `SEE ALSO' section.
|
#
68575 |
|
10-Nov-2000 |
ru |
Avoid use of direct troff requests in mdoc(7) manual pages.
|
#
64283 |
|
05-Aug-2000 |
ben |
Fix description of argv[0] passed to interpreted scripts; it's the name of the interpreter, _not_ the argv[0] passed in the original exec() call.
|
#
59954 |
|
04-May-2000 |
phantom |
Use `Er' variable to define first column width in ERRORS section. It was initially suggested by mdoc(7) style, but was broken over the years
|
#
59460 |
|
21-Apr-2000 |
phantom |
Introduce ".Lb" macro to libc manpages.
More libraries manpages updates following.
|
#
57686 |
|
02-Mar-2000 |
sheldonh |
Remove single-space hard sentence breaks. These degrade the quality of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
|
#
50476 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
49828 |
|
15-Aug-1999 |
mpp |
Various man page cleanup:
- Sort xrefs - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlines in mdoc(7) - Other misc mdoc cleanup.
PR: doc/13144 Submitted by: Alexy M. Zelkin <phantom@cris.net>
|
#
49709 |
|
14-Aug-1999 |
chris |
Change reference to mount(1) to mount(8)
|
#
46107 |
|
27-Apr-1999 |
hoek |
Mention that set-id bits are not honoured for shell scripts and filesystems with the "nosuid" option. Mention that syscall tracing is disabled sometimes.
PR: misc/11328
|
#
32447 |
|
11-Jan-1998 |
alex |
Document that arg max is controllable via sysctl.
|
#
27280 |
|
08-Jul-1997 |
adam |
execve of interpreter files reword for grammar/clarity
|
#
23778 |
|
12-Mar-1997 |
mpp |
Cleanup some of the Lite2 merge. Most of it is mdoc cleanup, but in one case the Lite2 changes were flat out wrong and caused the man page to disagree with a header file.
There are still some *roff macro calls that were added that I have yet to figure out what to do with in some of the man pages.
|
#
23660 |
|
11-Mar-1997 |
peter |
Merge from Lite2 onto mainline - - add undelete() and undelete.2 (requires libc minor bump some time) - man page updates
|
#
21570 |
|
11-Jan-1997 |
mpp |
Remove the EINVAL error from the ERRORS sections that say is means that a pathname had the high-order bit set, since this is no longer an error.
|
#
17780 |
|
22-Aug-1996 |
mpp |
Update a bunch of man pages to use .Fn instead of .Nm when referencing funciton names.
|
#
17615 |
|
15-Aug-1996 |
mpp |
NCARGS is defined as 65536 in the released system, not 20480.
|
#
15874 |
|
22-May-1996 |
mpp |
Fixed various problems: typos, grammer, missing include files wrong function type declarations, and wrong argument type declarations.
|
#
14038 |
|
11-Feb-1996 |
mpp |
Correct a bunch of man page cross references and generally try and silence "manck".
ncurses, rpc, and some of the gnu stuff are still a big mess, however.
|
#
13545 |
|
21-Jan-1996 |
julian |
Reviewed by: julian and (hsu?) Submitted by: John Birrel(L?)
changes for threadsafe operations
|
#
1574 |
|
27-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1573, which included commits to RCS files with non-trunk default branches.
|
#
1573 |
|
27-May-1994 |
rgrimes |
BSD 4.4 Lite Lib Sources
|