summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Lock up inpcb.hsu2002-06-1015-119/+668
| | | | Submitted by: Jennifer Yang <yangjihui@yahoo.com>
* - Whitespace only: use return statement consistentlt (return (foo), notsobomax2002-06-101-8/+6
| | | | | return(foo)), kill extra blank names between function names; - fix format string in printf(): devtoname() returns string, not pointer.
* In tracking down an installation seg fault with then openoffice portdillon2002-06-102-18/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | Martin Blapp determined that the elf dynamic loader was at fault. In particular, the loader uses alloca() to allocate a symbol cache on the stack. Normally this would work just fine, but if the loader is called from a threaded program and the object being loaded is fairly large the alloca() can blow away the thread stack and effect other nearby thread stacks as well. My testing showed that the symbol cache can be as large as 250KBytes during the openoffice port build and install sequence. Martin was able to work around the problem by disabling the symbol cache (cache = NULL;). However, this solution is not adequate for commit because it can cause an enormous cpu burden for applications which do a lot of dynamic loading (e.g. like konqueror). The solution is to use anonymous mmap() to temporarily allocate space to hold the symbol cache. In testing I found that replacing the alloca() with mmap() has no observable degredation in performance. It should be noted that this bug does not necessarily cause an immediate crash but can instead result in long term corruption and instability in applications that load modules from threads. The bug is almost certainly responsible for some of the instabilities found in konqueror, for example, and possibly netscape too. Sleuthing work by: Martin Blapp <mb@imp.ch> X-MFC after: Before or after the 4.6 release depending on the release engineers
* Put geom_gpt.c under the GEOM option instead of having a special GEOM_GPTphk2002-06-104-7/+3
| | | | option for it.
* Fix up the wording thoughout, and document locking.davidc2002-06-101-16/+25
|
* Fix wording and spelling in the trapsignal() description.davidc2002-06-101-1/+1
|
* cvs -j -j gave me two copies of TARGET_VERSION and I didn't noticeobrien2002-06-101-3/+0
| | | | it before committing.
* Remove -j from synopsis. The form given in the synopsis was incorrect,tjr2002-06-101-1/+0
| | | | and it should not have been there at all since it is a deprecated option.
* When stat(2) fails, put the name of the component it failed on in thetjr2002-06-101-1/+2
| | | | warning message as well as the path argument.
* Sort sections, use Ex macro in Diagnostics section, point out that the firsttjr2002-06-101-11/+4
| | | | example only works with csh(1).
* Add History section. sleep appeared in v4.tjr2002-06-101-0/+5
|
* Add another example for using paste(1) since tjr seemed to want more examplesjmallett2002-06-101-0/+7
| | | | | on IRC. This one is to create a colon seperated list of directories from find(1), suitable for use in the shell's PATH.
* Add an EXAMPLES section with three examples. Document the problem withtjr2002-06-101-0/+17
| | | | multibyte characters and the -d option in a BUGS section.
* Refer to environ(7) for description of COLUMNS instead of describing ittjr2002-06-101-10/+9
| | | | in-line. Document effects of locale environment variables in the same way.
* The 10 occurrence limit for the `s' command documented here has not existedtjr2002-06-101-3/+4
| | | | for a very long time (or never did exist).
* Newlines are not escaped anymore.tjr2002-06-101-2/+0
|
* Don't write escape newlines with `l' command (SUSv3)tjr2002-06-101-3/+3
|
* Go back to taking the user's umask into account. Thanks to Alfred fordougb2002-06-101-23/+31
| | | | | | | hatching the idea of using dc, and Giorgos (keramida) for incubating it. This also reverses most of the previous commit which took out or modified the text about umask stuff.
* o In vm_map_entry_create(), call uma_zalloc() with M_NOWAIT on system maps.alc2002-06-101-5/+6
| | | | | | | Submitted by: tegge o Eliminate the "!mapentzone" check from vm_map_entry_create() and vm_map_entry_dispose(). Reviewed by: tegge o Fix white-space usage in vm_map_entry_create().
* Correctly handle global substitutions where the pattern is only "$", thetjr2002-06-101-0/+3
| | | | | EOL anchor, when the last input line does not end in a newline character. Picked up by the GNU sed test suite.
* Document the cred_update_thread() function, and fix the RETURN VALUES.davidc2002-06-101-2/+19
|
* Note early appearence of some commands. These actually appeared in PWB, butjmallett2002-06-102-1/+6
| | | | | it seems we don't have a macro for that yet, so list them in the first UNIX release since then that we have a .At for: v7.
* Change our default XF86Config location from /etc/ to /etc/X11/,obrien2002-06-104-3/+7
| | | | | | following the lead of The XFree86 Project's default. Approved by: Murray
* The moduledata_t argument is not a pointer, and sysstem_sub_id shoulddavidc2002-06-101-2/+2
| | | | | | | be sysinit_sub_id. PR: docs/34583 Approved by: murray
* Correct the logic for determining whether the per-CPU locks neediedowse2002-06-101-1/+1
| | | | | | | to be destroyed. This fixes a problem where destroying a UMA zone would fail to destroy all zone mutexes. Reviewed by: jeff
* Add signal.9 and friends.davidc2002-06-101-1/+11
|
* New man page that documents many of the kernel related signal functions.davidc2002-06-101-0/+411
| | | | Requested by: alfred
* Check the run dependencies, not the build dependenciesbrian2002-06-101-1/+1
| | | | | Spotted by: steve Pointy hat: brian
* o Add vm_map_wire() for wiring contiguous regions of either kernelalc2002-06-091-1/+159
| | | | | | | | | | | or user vm_maps. This implementation has two key benefits when compared to vm_map_{user_,}pageable(): (1) it avoids a race condition through the use of "in-transition" vm_map entries and (2) it eliminates lock recursion on the vm_map. Note: there is still an error case that requires clean up. Reviewed by: tegge
* o Remove include of <sys/types.h>, it adds too much pollution;mike2002-06-091-9/+28
| | | | | | | | | instead, add typedefs of only gid_t, time_t, and uid_t. o Remove an unneeded conditional that hid macros that are in the implementation namespace and therefore don't need to be hidden when _POSIX_SOURCE is defined. o Adjust some conditionals for compatibility with X/Open and POSIX. o Note missing functions getpwnam_r() and getpwuid_r().
* Don't depend on <pwd.h> to bogusly include <sys/types.h>.mike2002-06-092-0/+4
|
* Fix driver to re-enable sound output on AD1816 based cards caused by anhm2002-06-091-0/+4
| | | | | | | | obviously bogous return value of ad1816chan_setformat(). PR: 37932 Submitted by: Martin Kaeske <Martin.Kaeske@Stud.TU-Ilmenau.DE> Reviewed by: hm MFC after: 10 days
* Catch up with kernel.phk2002-06-096-12/+12
|
* Improve some on the naming.phk2002-06-0912-53/+55
| | | | Submitted by: iedowse
* Stamp out Danglish: Spelling, grammer and other nitpicking.phk2002-06-091-36/+37
| | | | Submitted by: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
* Per previous discussion, and with Mark's blessing, update the valuedougb2002-06-093-1/+6
| | | | of this knob to reflect (-)current reality.
* if you have taken the mbuf out of the message object, then if you passjulian2002-06-091-1/+3
| | | | the object to someone else, you need to put the mbuf back into it first..
* Use socklen_t for the length of a socket structure instead of `int'.keramida2002-06-091-1/+2
| | | | Reviewed by: mike
* Replace <strings.h> with <string.h>. No functions from the former arekeramida2002-06-091-1/+1
| | | | | | | used in this file, and strlen() needs to be prototyped by the latter, for this to compile without warnings. Reviewed by: mike
* Fix bug which has been there since rev 1.1 where && was used instead of &.hsu2002-06-091-1/+1
|
* Renamed the idempotency identifier to match the file name. Cleaned upbde2002-06-091-15/+14
| | | | indentation and comments.
* ANSIfy a few prototypes, thus fixing a few warnings.keramida2002-06-091-5/+5
| | | | Reviewed by: grog
* Check the return value of getcwd() to avoid printf()ing a NULL. Markmike2002-06-091-4/+5
| | | | | | usage() as __dead2 to avoid a GCC warning. Spotted by: keramida
* Allow one to profile FORTRAN77 programs.obrien2002-06-093-7/+35
|
* Fix a '<<' that should have been a '>>' in the 48bit case.sos2002-06-081-1/+1
| | | | | Fortunately we only have had 32bit block counts until recently, and no 2TB disks :)
* Restore revision 1.15 (use profiled C++ libs) which wasn't on the WIP_GCC31obrien2002-06-081-1/+3
| | | | branch and thus was lost in the shuffle on the move to Gcc 3.1.
* Don't have -prefixlen 128 on host routes.ume2002-06-081-8/+5
| | | | Obtained from: KAME
* o Simplify vm_map_unwire() by merging the second and third passesalc2002-06-081-17/+11
| | | | over the caller-specified region.
* Fix compiling FORTRAN77 programs.obrien2002-06-081-0/+1
|
* Allow whitespace to act as a delimiter in the keywords list given to the -o,jmallett2002-06-082-5/+14
| | | | | | | | again, but also allow it in the user-specified header, too. This is far more backwards compatible and SUSv3-happy than allowing only comma to seperate the keywords list. Submitted by: tjr
OpenPOWER on IntegriCloud