summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Push down the acquisition and release of Giant into pmap_protect() onalc2004-07-306-2/+20
| | | | | | | | those architectures without pmap locking. - Eliminate the acquisition and release of Giant from vm_map_protect(). (Translation: mprotect(2) runs to completion without touching Giant on alpha, amd64, i386 and ia64.)
* Giant is no longer required by vm_waitproc() and vmspace_exitfree().alc2004-07-302-3/+0
| | | | Eliminate it acquisition and release around vm_waitproc() in kern_wait().
* - Add pmap locking to ia64's pmap_enter() and pmap_enter_quick(). (Thisalc2004-07-301-8/+31
| | | | | | | | | | brings ia64 to parity with alpha, amd64, and i386 in this area.) - Prevent a race in pmap_find_pte(): If pmap_find_pte() sleeps in uma_zalloc(), another thread could allocate a pte at the same address. Instead, sleep at a higher level and retry the lookup before retrying the allocation. Reviewed and tested by: marcel@
* Nuke geom_mirror class. New geom_mirror class is in the way.pjd2004-07-302-240/+0
| | | | Approved by: phk
* Allow to create slices on providers from class LABEL and class NOP.pjd2004-07-301-1/+5
| | | | | | | | This is really ugly way to do this, but there is no other way for now. It allows to mount root file system from providers which belong to those classes. Approved by: phk
* Ditto for (gid_t).yar2004-07-301-1/+1
|
* Kill casts to (uid_t) obviously left from the K&R era.yar2004-07-301-14/+14
| | | | | Prototyping library functions in header files has rendered them superfluous.
* Finish cleanup of rc.d/netif. It's now possible to start/stop moremtm2004-07-302-17/+32
| | | | | | | | | | | than one interface from the command line: # /etc/rc.d/netif start bfe0 xl0 It's also possible to restart an interface(s): # /etc/rc.d/netif restart bfe0 This required some changes to rc.subr(8) so that if the start/stop commands are overidden the rest of the command line (after the start/stop/etc... cmd) is passed through to the subroutines.
* Add a comment to explain that the loop around the call to bind(2)yar2004-07-301-0/+9
| | | | is not a hack, but it has a clear purpose.
* o Assertions to catch that stuff that shouldn't happen is not happening.mtm2004-07-303-20/+19
| | | | | | | | | | o In the rwlock code: move a duplicated check inside an if..else to after the if...else clause. o When initializing a static rwlock move the initialization check inside the lock. o In thr_setschedparam.c: When breaking out of the trylock...retry if busy loop make sure to reset the mtx pointer to null if the mutex is nolonger in a queue.
* Open a socket for a data transfer in active mode using euidyar2004-07-301-1/+1
| | | | | | | | | | | | | | of the current user, not root. This will allow neat things like matching anonymous FTP data traffic with a single ipfw(8) rule: ipfw add ... tcp from any to any uid ftp Note that the control connection socket still belongs to the user ftpd(8) was started from, usually root. PR: bin/65928 Submitted by: Eugene Grosbein <eugen at grosbein.pp.ru> MFC after: 1 month
* MFia64:ps2004-07-301-17/+1
| | | | | Fix -O builds with gcc 3.4 by defining ffs as __builtin_ffs instead of creating an inline function that just calls __builtin_ffs.
* Fix a copy and paste error. Do not include errors.c in libgcc_int.a,kan2004-07-301-1/+1
| | | | | | it is only used by build tools. Submitted by: grehan
* Fix the reset sequence for sx4/sx4000 type controllers, it could hang thesos2004-07-301-1/+1
| | | | chip in an indefinite state.
* Fix mdoc(7) and grammar errors from previous commit.glebius2004-07-301-14/+17
| | | | Requested, submitted and reviewed by: ru
* Fix a memory leak in the device pager which is exposed by the NVIDIAdfr2004-07-301-13/+41
| | | | | | OpenGL driver. Submitted by: nvidia (possibly also tegge)
* Fix handling of msync(2) for character special files.dfr2004-07-301-1/+3
| | | | Submitted by: nvidia
* Check for read errors.tjr2004-07-301-0/+2
|
* Fix new compiler error (s/bcopy/memcpy/).nyan2004-07-304-9/+9
|
* Get rid of another lockmgr(9) consumer by using sx locks for the usermux2004-07-302-27/+19
| | | | | | | | | maps. We always acquire the sx lock exclusively here, but we can't use a mutex because we want to be able to sleep while holding the lock. This is completely equivalent to what we were doing with the lockmgr(9) locks before. Approved by: alc
* Document the behaviour of the "-o file" option when "file" is a directorycperciva2004-07-301-0/+4
| | | | | | (downloaded file(s) are created inside the directory). MFC after: 3 days
* Update to the 2004 Edition of POSIX.ru2004-07-301-2/+2
|
* - Add '-S' option, which allow to specify sector size for transparentpjd2004-07-304-6/+26
| | | | | | | | | | provider. - Bump version number. This allows for a quite interesting trick. One can setup a stripe with stripe size of 512 bytes and create transparent provider on top of it with sector size equal to <ndisks> * 512. The result will be something like RAID3 without parity disk (every access will touch all disks).
* Sync with FSF.ru2004-07-301-6/+13
|
* This commit was generated by cvs2svn to compensate for changes in r132873,ru2004-07-301-8/+48
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Pull up latest mdoc(7) changes:ru2004-07-302-14/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | : 2004-05-10 Werner LEMBERG <wl@gnu.org> : : * tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread, : doc-str-Lb-librt): Reset font. : (Lb): Rename `doc-str-Lb' to `doc-str-Lb1'. : Provide `doc-str-Lb' to reset font. : * tmac/groff_mdoc.man: Updated. : 2004-07-08 Thomas Klausner <wiz@netbsd.org> : : * tmac/doc-syms (doc-str-St--p1003.1-2004): New string. : * tmac/groff_mdoc.man: Updated.
* | Fix typo.pjd2004-07-301-1/+1
| |
* | Fix -O builds with gcc 3.4 by defining ffs as __builtin_ffs instead ofmarcel2004-07-301-6/+1
| | | | | | | | creating an inline function that just calls __builtin_ffs.
* | Compile boot2 with -fno-unit-at-a-time. GCCs aggressive optimizationkan2004-07-302-2/+6
| | | | | | | | breaks boot in spectacular ways otherwise.
* | Conditionalize the bzip2/gzip compression/decompressionkientzle2004-07-305-0/+29
| | | | | | | | | | | | | | | | | | | | | | code on the existence of the relevant libraries (actually, the existence of the include files). This will allow the library to be easily ported to systems that don't have these libraries. (Of course, it also means that clients using the library on such systems will not be able to take advantage of the automatic compression format detection.)
* | Improve portability to FreeBSD 4.kientzle2004-07-301-0/+6
| | | | | | | | Thanks to: Barry Bouwsma
* | Fix comment.kientzle2004-07-301-1/+1
| | | | | | | | Thanks to: Johan Karlsson
* | Minor message cleanup.njl2004-07-302-6/+4
| |
* | Add support for the Synaptics Touchpad mouse driver. I reworked thenjl2004-07-303-2/+451
| | | | | | | | | | | | | | | | | | submitted version with style cleanups and changes to comments. I also modified the ioctl interface. This version only has one ioctl (to get the Synaptics-specific config parameters) since this is the only information a user might want. Submitted by: Arne Schwabe <arne -at- rfc2549.org>
* | Clean up local memcpy implementation to take void * parameters.kan2004-07-302-6/+12
| |
* | Document incorrect handling of multibyte characters.tjr2004-07-301-1/+3
| |
* | Stop the practice of installing external headers into GCC-specific directory.kan2004-07-301-1/+1
| | | | | | | | Install FlexLexer.h into /usr/include directly.
* | Mark as WARNS 6 now that sign cleanups are done.njl2004-07-301-1/+1
| |
* | Fix printing of stats by printing an unsigned value as unsigned. ANSIfynjl2004-07-301-197/+152
| | | | | | | | | | | | function prototypes. Remove unnecessary returns. Submitted by: David Hill <davidh -at- wmis.net>
* | Re-word the COMPATIBILITY section, taking care to use the word "deprecated"tjr2004-07-2912-98/+74
| | | | | | | | | | | | to describe the 4.4BSD extension of accepting arguments outside the range of unsigned char. This gives us freedom to remove this extension when we remove the <rune.h> interface in FreeBSD 6.
* | Add support for multibyte characters, based on Bruno Haible's worktjr2004-07-292-56/+81
| | | | | | | | in the util-linux package.
* | Remove obsolete ASM_FINAL_SPEC definition.kan2004-07-291-3/+0
| | | | | | | | Reported by: green
* | Syscall kill(2) called for a zombie process should return 0.pjd2004-07-291-1/+10
| | | | | | | | Obtained from: Darwin
* | Fill some informations about zombie processes as well.pjd2004-07-291-7/+6
| | | | | | | | | | | | | | Before this change every zombie process were reported as an owner of PID 0 in ps(1) output. Reviewed by: julian
* | Correct a documentation bug.ceri2004-07-291-1/+1
| | | | | | | | Approved by: jhb
* | Correct typo in a comment.ceri2004-07-291-1/+1
| | | | | | | | Approved by: jhb
* | Advance the state of pmap locking on alpha, amd64, and i386.alc2004-07-294-55/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Enable recursion on the page queues lock. This allows calls to vm_page_alloc(VM_ALLOC_NORMAL) and UMA's obj_alloc() with the page queues lock held. Such calls are made to allocate page table pages and pv entries. - The previous change enables a partial reversion of vm/vm_page.c revision 1.216, i.e., the call to vm_page_alloc() by vm_page_cowfault() now specifies VM_ALLOC_NORMAL rather than VM_ALLOC_INTERRUPT. - Add partial locking to pmap_copy(). (As a side-effect, pmap_copy() should now be faster on i386 SMP because it no longer generates IPIs for TLB shootdown on the other processors.) - Complete the locking of pmap_enter() and pmap_enter_quick(). (As of now, all changes to a user-level pmap on alpha, amd64, and i386 are performed with appropriate locking.)
* | The signal number has to be less than NSIG strictly.maxim2004-07-291-1/+1
| | | | | | | | | | | | PR: misc/69768 Submitted by: bronek MFC after: 1 week
* | Document new control messages NGM_PPPOE_GETMODE, NGM_PPPOE_SETMODE.glebius2004-07-291-19/+49
| | | | | | | | | | | | Note that sysctl net.graph.nonstandard_pppoe is deprecated. Approved by: julian (mentor)
* | Use newly added __used attribute to keep static function symbols from beingkan2004-07-291-8/+8
| | | | | | | | eliminated by compiler optimizer.
OpenPOWER on IntegriCloud