summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix ukrainian translation of 'Norwegian' wordphantom2001-11-141-5/+5
| | | | | PR: misc/28605 Submitted by: Alexey Klimov <klim@unique.kiev.ua>
* Remove ifnet.if_mpsafe for now. If this is needed, it won't be neededjhb2001-11-143-11/+1
| | | | | | until much later when the network stack locking is farther along. Approved by: jlemon
* o Modify nfslockdans() to accept a thread reference instead of a procrwatson2001-11-143-14/+16
| | | | | | | | | | | reference: with td->td_ucred, it will be desirable to authorize based on td->td_ucred, rather than p->p_ucred. o Since the same variable 'p' was later used with pfind() on the target process for the wakeup, introduce a new local variable 'targetp' to use instead. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* The new libedit from a while back depends on ncurses, so put -ledit beforejhb2001-11-144-4/+4
| | | | | | -lncurses so the fixit crunch binary links. Tested on: alpha
* Fix the type of the NULL arg to execl().obrien2001-11-141-1/+1
|
* "make cleandir" before building a kernel and modules.matusita2001-11-141-1/+1
| | | | | | | This will hopefully fix the recent 'I cannot compile linux module with buildworld' problem. MFC will come shortly. Submitted by: imura@ryu16.org
* Cross-reference the fdopen and fileno manpages.murray2001-11-142-1/+3
| | | | | PR: docs/31866 Submitted by: W. Campbell <wcampbel@botbay.net>
* Oops, when trying the dirhash sequential-access optimisation,iedowse2001-11-141-1/+1
| | | | | | | | | | | | | | compare the slot offset against the predicted offset, not a boolean flag. This typo effectively disabled the sequential optimisation, but was otherwise harmless. Not surprisingly, fixing this improves performance in the sequential access case. I am seeing a 7% speedup on one machine here; using dirhash when sequentially looking up directory entries is now about 5% faster instead of 2% slower than the non-dirhash case. Submitted by: KOIE Hidetaka <koie@suri.co.jp> MFC after: 1 week
* After further discussion on -CURRENT, some people (jhb) do not likecjc2001-11-141-2/+2
| | | | | | | | | the idea of not masking passwords on comments in case the administrator comments out an entry without clearing the password. Instead completely ignore comments (since they have no security impact) when doing the diff of the old and new passwd file. Suggested by: rwatson
* If the mask length is zero, there is no need to convert it to aps2001-11-141-1/+4
| | | | | | | | netmask. PR: 31947 Submitted by: Aaron Scarisbrick <aaronsca@hotmail.com> MFC after: 1 week
* Avoid unnecessary calls to expr(1) by using standard shell arithmeticsheldonh2001-11-1413-13/+13
| | | | expansion instead.
* remove holdfp()dillon2001-11-145-118/+176
| | | | | | | | | | | | | | | | | | | Replace uses of holdfp() with fget*() or fgetvp*() calls as appropriate introduce fget(), fget_read(), fget_write() - these functions will take a thread and file descriptor and return a file pointer with its ref count bumped. introduce fgetvp(), fgetvp_read(), fgetvp_write() - these functions will take a thread and file descriptor and return a vref()'d vnode. *_read() requires that the file pointer be FREAD, *_write that it be FWRITE. This continues the cleanup of struct filedesc and struct file access routines which, when are all through with it, will allow us to then make the API calls MP safe and be able to move Giant down into the fo_* functions.
* Rework the utmp(5) page:yar2001-11-141-16/+67
| | | | | | | | o Fix a number of wrong statements o Clarify the structure of the files and the C structures theirselves o Add cross-references to login(3), logout(3), logwtmp(3) MFC after: 1 month
* The interrupt nesting level is per-thread not per-CPU on FreeBSD.jhb2001-11-142-2/+0
|
* Fix a typo in rev 1.30 that broke the release: s/-dlint/-Dlint/jhb2001-11-141-1/+1
|
* Create a mutex pool API for short term leaf mutexes.dillon2001-11-138-74/+162
| | | | | Replace the manual mutex pool in kern_lock.c (lockmgr locks) with the new API. Replace the mutexes embedded in sxlocks with the new API.
* Replace use of "0" constraints in inline asm with "+" constraints,keramida2001-11-131-4/+4
| | | | | | when an operand is used both for input and output. Reviewed by: jhb
* sysinstall complains about creating acd0t* devices while all dists arematusita2001-11-131-1/+1
| | | | | | | | | | | extracted and recreating device files. Without this, you'll see following messages when 'MAKEDEV all': [: : out of range [: : out of range acd0t is invalid -- can't have more than 32 devices or 169 tracks Reported by: David Syphers <dsyphers@uchicago.edu> (at current@FreeBSD.org)
* - Modify to make the generated device driver code work with current.arr2001-11-132-10/+11
| | | | | | - Use M_ZERO instead of another call to bzero(). Inspired by: misc/31905
* Never added my entry which the committers guide says is aarr2001-11-131-0/+1
| | | | tradition.
* Cleanups after previous change:jhb2001-11-132-18/+4
| | | | | | | | | | | - Renumber labels since the previous revision removed one. - Remove useless and wrong comment. - Repeating the function name is just redundant. - The previous revision made the comment about %edx useless. - The comment about %eax was wrong (but did explain why %eax used to be fixed up). Submitted by: bde
* As a followup to the previous fixes to inferior, revert some of thejhb2001-11-131-6/+3
| | | | | | | changes in 1.80 that were needed for locking that are no longer needed now that a lock is simply asserted. Submitted by: bde
* Set full-path of cvsup.matusita2001-11-131-1/+1
| | | | | | | | | | | | | | | In src/Makefile rev 1.232, environment variable PATH is set explicitly to /sbin:/bin:/usr/sbin:/usr/bin. As a result, binaries located on non-standard path cannot be executed without full-path (it's the change of this revision). However, cvsup is not in our base system -- you lose if you try to "make update" without setting SUP in make.conf or command line argument. I think it is safe to assume that cvsup is located at /usr/local/bin, and it would help other people who first try to do "make update". PR: 31932 MFC after: 1 day
* Add yet another VIA ATA100 southbridge.sos2001-11-132-0/+2
|
* Fix bogon, free() the right memory type.sos2001-11-131-1/+1
|
* Turn on NO_WERROR and set WARNS to 1.alfred2001-11-135-20/+27
| | | | | | | | | | | | Fix the WARNS 1 warnings except unused variables. Add prototype for log_netobj(). Don't compare signed/unsigned. Cast u_int64_t to 'unsigned long long' and print using %llu. Fix constness of string arrays. Use a cast to avoid an unused parameter in a signal handler. alarm(2) can't fail, so don't check for it. ANSI'ify some functions.
* Have rpcgen output the prototypes for the dispatch tablesalfred2001-11-131-0/+19
|
* NFS split forgot to prototype nfsclnt() syscall, do it.alfred2001-11-131-0/+1
|
* Update the KLD examples so they will work with current.arr2001-11-132-4/+10
| | | | Reviewed: jhb
* Better error message when cardtype is not recognizedimp2001-11-131-1/+1
|
* The kernel already fixes up %eax for parents that return from fork, sojhb2001-11-136-110/+4
| | | | | don't bother manually fixing up %eax for the parent process by testing the value in %edx and zeroing and already zeroed %eax.
* Fix a signed bug in the crashdump code for systems with > 2GB of ram.ps2001-11-137-8/+8
| | | | Reviewed by: peter
* Now it gets interesting...des2001-11-131-17/+88
|
* Don't enable FP in the kernel. It is not needed when -msoft-float is used.mp2001-11-132-2/+0
| | | | Reminded by: benno
* Use a slightly less predictable temp file name, remove a stale list of PRsdes2001-11-131-22/+2
| | | | | with corrupted submission dates (they were fixed on freefall a while ago), and uncomment the code that removes the temp file when we're done.
* This is a PR statistics-gathering script I wrote a while ago. It currentlydes2001-11-121-0/+302
| | | | doesn't do much of interest except produce graphs similar to phk's.
* Change constraints to use "+" in inline asm instead of mapping inputkeramida2001-11-122-2/+2
| | | | | | to output parameters with "0". Reviewed by: jhb
* Remove EOL whitespace.keramida2001-11-121-8/+8
| | | | Reviewed by: alfred
* Make KASSERT's print the values that triggered a panic.keramida2001-11-121-2/+3
| | | | Reviewed by: alfred
* Clean up breakage in inferior() I introduced in 1.92 of kern_proc.c:jhb2001-11-122-9/+10
| | | | | | | | | | - Restore inferior() to being iterative rather than recursive. - Assert that the proctree_lock is held in inferior() and change the one caller to get a shared lock of it. This also ensures that we hold the lock after performing the check so the check can't be made invalid out from under us after the check but before we act on it. Requested by: bde
* Use newer constraints for atomic_cmpset().jhb2001-11-122-22/+18
| | | | Requested by: bde
* Add the ability to distinguish between compile environments thatmike2001-11-121-0/+5
| | | | | | support `long long' and those that don't. Reviewed by: bde
* Use newer constraints for inline assembly for an operand that is both anjhb2001-11-122-42/+42
| | | | | | | input and an output by using the '+' modifier rather than listing the operand in both the input and output sections. Reviwed by: bde
* fix parameters to lock_answer().alfred2001-11-121-1/+1
| | | | Submitted by: Timo Geusch <freebsd@unix-consult.com>
* Fixup for WARNS.alfred2001-11-121-6/+9
|
* Use make_dev_alias() instead of call make_dev() twice.nyan2001-11-121-4/+8
|
* Fix a typo:joe2001-11-121-1/+1
| | | | | | Flinstone -> Flintstone. Submitted by: grog (during the kernel debugging session at BSDConEurope)
* -msoft-float must always be turned on when compiling the PowerPC kernel.benno2001-11-121-1/+3
|
* Implement eficlock_set() to set hardware clock.peter2001-11-121-1/+13
|
* Commit the better version that I had a while ago. This has only onepeter2001-11-121-2/+5
| | | | reference to curthread. (#define curproc (curthread->td_proc)).
OpenPOWER on IntegriCloud