summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* We have a place for extern declarations of global variables in ed.h, do notjmallett2002-06-202-3/+2
| | | | use main() to do it locally.
* Remove two unused variables.jmallett2002-06-201-2/+0
|
* Minor const cleanup.jmallett2002-06-202-4/+4
| | | | Don't discard qualifiers we don't need to discard.
* Add a warning regarding the SENDMAIL_*_MC make.conf variable values.gshapiro2002-06-202-0/+30
| | | | | | | | Using /etc/mail/sendmail.mc will create /etc/mail/sendmail.cf during a buildworld. PR: misc/39397 MFC after: 3 days
* Grrr, make the test for embedded variables in the left-hand-side actually dojmallett2002-06-202-4/+4
| | | | the right thing in every case. Yuck.
* o Acquire and release the vm_map lock instead of Giant in obreak().alc2002-06-201-11/+7
| | | | | | Consequently, use vm_map_insert() and vm_map_delete(), which expect the vm_map to be locked, instead of vm_map_find() and vm_map_remove(), which do not.
* Solve the 'unregistered netisr 18' information notice with a sledgehammer.peter2002-06-201-4/+7
| | | | | | Register the ISR early, but do not actually kick off the timer until we see some activity. This still saves us from running the arp timers on a system with no network cards.
* - Move the computation of pflags out of the page allocation loop injeff2002-06-191-17/+21
| | | | | | | kmem_malloc() - zero fill pages if PG_ZERO bit is not set after allocation in kmem_malloc() Suggested by: alc, jake
* - Remove the lock(9) protecting the kernel linker system.arr2002-06-191-14/+46
| | | | | | | | | | | - Added a mutex, kld_mtx, to protect the kernel_linker system. Note that while ``classes'' is global (to that file), it is only read only after SI_SUB_KLD, SI_ORDER_ANY. - Add a SYSINIT to flip a flag that disallows class registration after SI_SUB_KLD, SI_ORDER_ANY. Idea for ``classes'' read only by: jake Reviewed by: jake
* - Remove bogus use of kmem_alloc that was inherited from the old zonejeff2002-06-192-17/+18
| | | | | | | | | allocator. - Properly set M_ZERO when talking to the back end page allocators for non malloc zones. This forces us to zero fill pages when they are first brought into a cache. - Properly handle M_ZERO in uma_zalloc_internal. This fixes a problem where per cpu buckets weren't always getting zeroed.
* Teach kmem_malloc about M_ZERO.jeff2002-06-191-4/+10
|
* Correct spelling of 'supplied'.robert2002-06-191-1/+1
| | | | PR: misc/39528
* We don't use this any more.des2002-06-192-10/+1
| | | | Sponsored by: DARPA, NAI Labs
* Enable OPIE for sshd and telnetd. I thought I'd done this a long timedes2002-06-192-0/+4
| | | | | | ago... Sponsored by: DARPA, NAI Labs
* Make locate.updatedb tell about the security risk when it is run as root.eivind2002-06-191-0/+5
|
* Change spelling of `u_char' to `unsigned char' to avoid requiringmike2002-06-191-1/+1
| | | | <sys/types.h> as a prerequisite.
* Add a test for what was fixed in revision 1.27 and 1.28 of make(1)'s var.c,jmallett2002-06-192-0/+34
| | | | | | expansion of embedded variables in the left-hand-side of an assignment expression, using the simplest case - hiding recursion using nil-expanded variables.
* Fix a memory leak from previous commit by freeing the possibly expandedjmallett2002-06-191-2/+8
| | | | | string at the first opportunity, being sure to now always allocate the new string from VarPossiblyExpand. Oops.
* Add better mediaopt support for ibss and friends.imp2002-06-193-39/+171
| | | | | | Now the driver is closer to matching the wi man page. Submitted by: jhay (who obtained it from OpenBSD).
* Possibly expand the variable name's embedded variables before using it, asjmallett2002-06-191-0/+26
| | | | | | | | | seen (somewhat) in NetBSD. This catches a few extra recursion cases that could be hidden by expanding a NIL variable causing an existing variable to be returned (which caused infinite looping and climbing memory usage in at least one case). Obtained from: NetBSD (in principle)
* Set PATH statically, and use 'env -i' to kick chroot(8). As a result,matusita2002-06-191-2/+2
| | | | | | | | | the second buildworld environment is fully isolated from parent's environment variables. Tested virtually on: snapshots.jp.FreeBSD.org Approved by: arch@ (silently) MFC after: 2 weeks
* MFi386: revisions from 1.342 to 1.344nyan2002-06-191-0/+2
|
* Backout previous change and merge from sys/dev/sio/sio.c revision 1.375.nyan2002-06-192-12/+46
|
* Merged from sys/isa/fd.c revision 1.233.nyan2002-06-192-86/+58
|
* Use si_iosize_max to tell the upper layers not to use moresos2002-06-192-44/+18
| | | | | than 32K chunks on ZIP drives instead of deblocking it in the driver.
* Add yet another (older) Promise chipsos2002-06-192-5/+10
|
* Bring documentation on CDPATH and its effects on cd(1) back into sync withtjr2002-06-191-4/+6
| | | | | | | | | reality (and POSIX): current directory isn't searched unless CDPATH has a "." element or is unset. PR: 38442 Submitted by: oleg dashevskii <be9@be9.ru> MFC after: 1 week
* Fix duplicate % in %b format introduced in rev 1.22.tjr2002-06-191-5/+6
|
* In rev 1.72 a situation related to write/mmap was fixed which could resultdillon2002-06-191-7/+11
| | | | | | | | | | | | | | | | | | | | | | in a user process gaining visibility into the 'old' contents of a filesystem block. There were two cases: (1) when uiomove() fails (user process issues illegal write), and (2) when uiomove() overlaps a mmap() of the same file at the same offset (fault -> recursive buffer I/O reads contents of old block). Unfortunately 1.72 also had the unintended effect of forcing the filesystem to do a read-before-write in the case of a full-block-write (non append case), e.g. 'dd if=/dev/zero of=test.dat bs=1m count=256 conv=notrunc'. This destroys performance.. not only is a read forced for every write, but clustering breaks as well. The solution is to clear the buffer manually in the full-block case rather then asking BALLOC to do it (BALLOC issues the read-before-write). In the partial-block case we want BALLOC to do it because the read-before-write is necessary. This patch should greatly improve database and news-feed server performance. Found by: MKI <mki@mozone.net> MFC after: 3 days
* Let printf(1) tell the difference between zero width/precision andtjr2002-06-191-7/+9
| | | | | | | | unspecified width/precision. PR: 39116 Submitted by: Egil Brendsdal <egilb@ife.no> MFC after: 1 week
* Remove the compat bits for the mis-aligned struct disklabel on alpha,phk2002-06-194-64/+0
| | | | | | people got three times longer than I promised. Sponsored by: DARPA & NAI Labs.
* Don't try to dereference conn when we know it's NULL.des2002-06-191-2/+5
|
* Allow format strings containing "%%" to be reused.tjr2002-06-191-2/+2
| | | | | | PR: 39116 Submitted by: Egil Brendsdal <egilb@ife.no> MFC after: 1 week
* Allow `%' to be written out with an octal escape (\45 or \045).tjr2002-06-191-1/+5
| | | | | | PR: 39116 Submitted by: Egil Brendsdal <egilb@ife.no> MFC after: 1 week
* Indicate that env(1) allows you to supply arguments to the utility ittjr2002-06-192-8/+8
| | | | | | | | | | executes in the usage() message and manual page. Use "utility" instead of "command" in both places to emphasise that shell builtins etc. will not work, and to be consistent with the terminology used by POSIX. PR: 39210 Submitted by: Danny J. Zerkel <dzerkel@columbus.rr.com> MFC after: 1 week
* Squish the "could sleep with process lock" messages caused by callingalfred2002-06-194-19/+52
| | | | | | | | | | | | | | | | | | | | uifind() with a proc lock held. change_ruid() and change_euid() have been modified to take a uidinfo structure which will be pre-allocated by callers, they will then call uihold() on the uidinfo structure so that the caller's logic is simplified. This allows one to call uifind() before locking the proc struct and thereby avoid a potential blocking allocation with the proc lock held. This may need revisiting, perhaps keeping a spare uidinfo allocated per process to handle this situation or re-examining if the proc lock needs to be held over the entire operation of changing real or effective user id. Submitted by: Don Lewis <dl-freebsd@catspoiler.org>
* Guard definitions for use with C++ code.obrien2002-06-191-0/+4
| | | | Submitted by: Ed Hall <edhall@yahoo-inc.com>
* o Replace GIANT_REQUIRED in vm_object_coalesce() by the acquisition andalc2002-06-192-8/+10
| | | | | | | | release of Giant. o Reduce the scope of GIANT_REQUIRED in vm_map_insert(). These changes will enable us to remove the acquisition and release of Giant from obreak().
* Disconnect the docs until we figure out if there are any with v3.obrien2002-06-191-1/+1
|
* Another good suggestion from Bruce, only create links if thedougb2002-06-191-2/+2
| | | | file doesn't exist already.
* Don't convert a single space before a tab stop into a tab when thetjr2002-06-191-2/+2
| | | | -i option is used.
* fix whitespace botch in previous commit.billf2002-06-191-1/+1
|
* Removed unneeded files.pdeuskar2002-06-184-5322/+0
| | | | | | | if_em_fxhw.[c,h] and if_em_phy.[c,h] have been merged into one [c,h] file. MFC after: 3 days
* setsugid() touches p->p_flag so assert that the proc is locked.alfred2002-06-181-0/+2
|
* A node that creates a device entry in /dev (yay devfs)julian2002-06-185-0/+798
| | | | | | | | | | so that /dev/mumble can be the entrypoint to some networking graph, e.g. a tunnel or a remote tape drive or whatever... Not fully tested (by me) yet. Submitted by: Mark Santcroos <marks@ripe.net> MFC after: 3 weeks
* Make the speed used by gdb over serial settable in the kernel configuration.n_hibma2002-06-188-55/+108
| | | | | | This facilitates the use in circumstances where you are using a serial console as well. GDB doesn't support anything higher than 9600 baud (19k2 if you are lucky), but the console does.
* Fix a typo in the named startup optionsgordon2002-06-181-1/+1
| | | | Submitted by: sheldonh@
* o Remove LK_CANRECURSE from the vm_map lock.alc2002-06-181-2/+2
|
* FreeBSD is one of the OS's that does not require the use of libio with Gcc 3.1.obrien2002-06-18212-41351/+0
|
* Fix style and wording bugs introduced in my last commit.chris2002-06-181-11/+9
| | | | Sponsored by: DARPA, NAI Labs
OpenPOWER on IntegriCloud