aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak c++filt. It was disconnected from the build and never fixed duringAlexander Kabaev2004-11-071-8/+1
| | | | | | | | | GCC 3.4.2 work unintentioanlly. Reminded by: bms Notes: svn path=/head/; revision=137333
* Avoid second person usage.Christian Brueffer2004-11-071-1/+1
| | | | | | | | Obtained from: OpenBSD MFC after: 1 week Notes: svn path=/head/; revision=137332
* Allow fdinit() to be called with a NULL fdp argument so we can usePoul-Henning Kamp2004-11-073-33/+19
| | | | | | | | | it when setting up init. Make fdinit() lock the fdp argument as needed. Notes: svn path=/head/; revision=137331
* Install in /usr/local/bin.Dag-Erling Smørgrav2004-11-071-0/+1
| | | | Notes: svn path=/head/; revision=137330
* Add comments to clarify why we need to run shutdown code on the BSP, updateNate Lawson2004-11-071-4/+9
| | | | | | | | an old comment about boot() being MI, and note that splhigh() no longer disables interrupts. Notes: svn path=/head/; revision=137329
* Reflect that -h takes an argument and belatedly bump .Dd for addition of -hDima Dorfman2004-11-071-3/+4
| | | | Notes: svn path=/head/; revision=137328
* Make the usage message match reality about -h and -w.Dima Dorfman2004-11-071-2/+10
| | | | Notes: svn path=/head/; revision=137327
* Fix the release date of 5.3-RELEASE.Hiroki Sato2004-11-071-1/+1
| | | | Notes: svn path=/head/; revision=137326
* When we open /dev/null for stdin/out/err for safety reasons, do it right:Poul-Henning Kamp2004-11-061-3/+5
| | | | | | | we should preserve f_data and f_ops if they are already set. Notes: svn path=/head/; revision=137325
* Eliminate an unnecessary atomic operation. Articulate the rationale inAlan Cox2004-11-061-4/+11
| | | | | | | a comment. Notes: svn path=/head/; revision=137324
* FreeBSD does have uintmax_t, so it can correctlyTim Kientzle2004-11-061-0/+1
| | | | | | | | | print out very large file sizes. Thanks to: Yar Tikhiy Notes: svn path=/head/; revision=137322
* Get even closer to not crashing ext2fsPoul-Henning Kamp2004-11-064-4/+2
| | | | Notes: svn path=/head/; revision=137321
* Get closer to unbreaking ext2fsPoul-Henning Kamp2004-11-062-0/+4
| | | | Notes: svn path=/head/; revision=137320
* ANSI'fy nfsd(8) and some minor changes to make it WARNS=6 clean.Xin LI2004-11-062-10/+6
| | | | | | | | | | | | | This commit does not affect the code generated, as proven by md5'ing resulting binaries. Bump WARNS accordingly. Compiled on: sparc64, ia64, i386 Reviewed by: alfred (but blame me if anything goes wrong :-) Notes: svn path=/head/; revision=137319
* Add description of all available options.Pawel Jakub Dawidek2004-11-061-0/+17
| | | | Notes: svn path=/head/; revision=137318
* Allow to write random data while testing RAID device, so we can alsoPawel Jakub Dawidek2004-11-061-6/+23
| | | | | | | test data integrity. Notes: svn path=/head/; revision=137317
* Add ftp8.de.freebsd.orgJosef El-Rayes2004-11-062-0/+4
| | | | | | | | Requested by: vs Approved by: ssouhlal Notes: svn path=/head/; revision=137316
* Bump .Dd, replace missing letter, and prefer to use a verb thatDima Dorfman2004-11-061-5/+3
| | | | | | | | | | matches the option letter. Submitted by: ru Should know better by now: dd Notes: svn path=/head/; revision=137315
* Back out recent TTYDEF_LFLAG_ECHO invention.Andrey A. Chernov2004-11-061-1/+1
| | | | | | | | This change is NOP, because TTYDEF_LFLAG = TTYDEF_LFLAG_ECHO now, but to minimize diffs with other BSDs. Notes: svn path=/head/; revision=137314
* First there was an -m option.Ruslan Ermilov2004-11-061-3/+0
| | | | | | | | | Then Peter killed it and made it the default. Then Brooks and Poul-Henning added it again. Then Ruslan fixed the manpage... Notes: svn path=/head/; revision=137313
* Sync description of IP portrange sysctls with reality.Mike Makonnen2004-11-061-10/+9
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=137312
* Be consistent and use 'if (error != 0)' instead of 'if (error)' everywhere.Pawel Jakub Dawidek2004-11-061-5/+5
| | | | Notes: svn path=/head/; revision=137311
* For file backed md(4) devices output their source file viaPawel Jakub Dawidek2004-11-063-8/+22
| | | | | | | | 'mdconfig -l -u <unit>'. Bump version number, as this change breaks ABI/API. Notes: svn path=/head/; revision=137310
* Abstract the logic to look up the uma_bucket_zone given a desiredRobert Watson2004-11-061-7/+23
| | | | | | | | | | | | number of entries into bucket_zone_lookup(), which helps make more clear the logic of consumers of bucket zones. Annotate the behavior of bucket_init() with a comment indicating how the various data structures, including the bucket lookup tables, are initialized. Notes: svn path=/head/; revision=137309
* Properly implement a default version of VOP_GETWRITEMOUNT.Poul-Henning Kamp2004-11-066-5/+1
| | | | | | | | Remove improper access to vop_stdgetwritemount() which should and will instead rely on the VOP default path. Notes: svn path=/head/; revision=137308
* Increase default HZ for i386 to 1000Poul-Henning Kamp2004-11-061-4/+6
| | | | Notes: svn path=/head/; revision=137307
* Remove dangling variablePoul-Henning Kamp2004-11-061-1/+0
| | | | Notes: svn path=/head/; revision=137306
* Annotate what bucket_size[] array does; staticize since it's used onlyRobert Watson2004-11-061-1/+5
| | | | | | | in uma_core.c. Notes: svn path=/head/; revision=137305
* Remove a useless use of cat, strip overzealous punctuation, andDima Dorfman2004-11-061-16/+16
| | | | | | | clarify some text. Notes: svn path=/head/; revision=137304
* Parse file mode with setmode(3) for consistency with other programsDima Dorfman2004-11-062-12/+9
| | | | | | | that do this kind of thing. Notes: svn path=/head/; revision=137303
* Fix a double-free in the 'm->m_len < sizeof (struct ip)' sanity check.Andre Oppermann2004-11-061-2/+2
| | | | | | | | Bug report by: <james@towardex.com> MFC after: 2 weeks Notes: svn path=/head/; revision=137302
* Update the description of -l to reflect reality. After mdconfig.cDima Dorfman2004-11-061-6/+5
| | | | | | | | 1.25, -l without -u only lists the names, so specifying -u does more than just limit the output to one device. Notes: svn path=/head/; revision=137301
* If there aren't any devices to list, output nothing instead of anDima Dorfman2004-11-061-10/+2
| | | | | | | | | empty line. This is consistent with other utilities. While I'm here, remove artifacts of the previous list implementation. Notes: svn path=/head/; revision=137300
* Fix the last known race in swapoff(), which could lead to a spurious panic:David Schultz2004-11-061-21/+14
| | | | | | | | | | | | | | | | swapoff: failed to locate %d swap blocks The race occurred because putpages() can block between the time it allocates swap space and the time it updates the swap metadata to associate that space with a vm_object, so swapoff() would complain about the temporary inconsistency. I hoped to fix this by making swp_pager_getswapspace() and swp_pager_meta_build() a single atomic operation, but that proved to be inconvenient. With this change, swapoff() simply doesn't attempt to be so clever about detecting when all the pageout activity to the target device should have drained. Notes: svn path=/head/; revision=137299
* Clean up the comments, rewording, adding missing punctuationGiorgos Keramidas2004-11-061-35/+26
| | | | | | | | | and other minor nits. Approved by: jhb Notes: svn path=/head/; revision=137298
* Move a call to wakeup() from vm_object_terminate() to vnode_pager_dealloc()Alan Cox2004-11-064-2/+7
| | | | | | | | | | | | because this call is only needed to wake threads that slept when they discovered a dead object connected to a vnode. To eliminate unnecessary calls to wakeup() by vnode_pager_dealloc(), introduce a new flag, OBJ_DISCONNECTWNT. Reviewed by: tegge@ Notes: svn path=/head/; revision=137297
* Ooops. ssize_t != int. <sigh>Tim Kientzle2004-11-064-4/+4
| | | | | | | Thanks to: Oliver Lehmann and Peter Wemm Notes: svn path=/head/; revision=137296
* i386_set_ldt() is not available when running 32 bit binaries on amd64Peter Wemm2004-11-064-0/+26
| | | | | | | | kernels. Use the recently exposed direct-set routines instead. This is only activated for when we compile i386 support libraries on amd64. Notes: svn path=/head/; revision=137295
* Cosmetic tweaks to reduce diffs to the i386 counterpart.Peter Wemm2004-11-062-4/+6
| | | | Notes: svn path=/head/; revision=137294
* The 32 bit compatability ld-elf32.so.1 cannot use i386_set_ldt() whenPeter Wemm2004-11-061-0/+6
| | | | | | | | running on an amd64 kernel. Use the recently exposed direct %fs/%gs set routines instead for the TLS setup of 32 bit binaries. Notes: svn path=/head/; revision=137293
* Use the recently exposed fs/gs set functions when compiling libthr toPeter Wemm2004-11-061-0/+12
| | | | | | | | | | run as a 32 bit support library for an amd64 kernel. 32 bit consumers of libthr have zero chance of running on an amd64 kernel since we don't implement the i386_set_ldt() family of functions. Note that this commit doesn't make it actually work, it just removes one more obstacle. Notes: svn path=/head/; revision=137292
* When building the custom i386 libraries for use on amd64 kernels, wePeter Wemm2004-11-066-0/+170
| | | | | | | | | | | | can't use the i386_set_ldt() family of routines, because they are not implemented. Instead, use the recently exposed direct access sysarch routines for setting what %fs and %gs point to. Use this for the i386 TLS _set_tp() routine, but only when compiling to run as a 32 bit support binary for amd64 kernels. Notes: svn path=/head/; revision=137290
* Begin an invasion of i386-land by amd64.Peter Wemm2004-11-061-0/+11
| | | | | | | | | Expose some of the amd64-specific sysarch functions to allow alternative implementations of the %fs/%gs code for TLS, threads, etc. USER_LDT does not exist on the amd64 kernel, so we have to implement things other ways. Notes: svn path=/head/; revision=137289
* Convert tools/lib32/build.sh into world connectable hooks. This stillPeter Wemm2004-11-062-1/+95
| | | | | | | | | | | | | | | rates pretty high on the "hack!" scale, but it works for me. Adding -DWANT_LIB32 to the world build command line, or 'WANT_LIB32=yes' to /etc/make.conf will include the 32 bit libraries with the build. I have not made this default behavior. Cross compiling this stuff is an adventure I have not investigated. This is still a WIP. We needed this at work so that we could install from a readonly obj tree - lib32/build.sh wasn't up to that. Notes: svn path=/head/; revision=137288
* Don't define SOFTFLOAT directly in source files, it's now done in the Makefile.Olivier Houchard2004-11-052-2/+1
| | | | Notes: svn path=/head/; revision=137287
* Fix signalcontext and makecontext.Olivier Houchard2004-11-053-14/+17
| | | | Notes: svn path=/head/; revision=137286
* Remove getcontext.S, it is not needed.Olivier Houchard2004-11-052-64/+1
| | | | Notes: svn path=/head/; revision=137285
* Import a Makefile for arm.Olivier Houchard2004-11-051-0/+8
| | | | Notes: svn path=/head/; revision=137284
* Partial support of KSE for arm.Olivier Houchard2004-11-058-118/+132
| | | | Notes: svn path=/head/; revision=137283
* Disable interrupts for atomic_cmpset_32, this one is just not atomic.Olivier Houchard2004-11-051-10/+13
| | | | | | | Don't export it to userland. Notes: svn path=/head/; revision=137282