summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix ability to use csh(1) as the make(1) shell.jmallett2002-09-291-1/+3
| | | | Sponsored by: Bright Path Solutions
* New translationgioria2002-09-281-34/+39
|
* Make make(1) WARNS=6 clean except for const issues. This mostly involvesjmallett2002-09-287-69/+69
| | | | | | | | | | | renaming variables to not shadow libc functions or greater scope locals. Kinda makes one wonder if the extern ones weren't meant in some of these places :) The only thing I'd still like to do WRT this is possibly combine rstat and status in compat.c -- that should be fine, as I do not think the codepaths will want both around at once. Sponsored by: Bright Path Solutions
* New translationgioria2002-09-281-72/+92
|
* s/behaviour/behavior/ in the chmod(1) manualtrhodes2002-09-281-1/+1
|
* Deal with some SMP races by doing the entire copyin at once ratherpeter2002-09-282-30/+56
| | | | | | | than doing the checks piecemeal and then doing a second copyin later. PR: 38021 Submitted by: davidx (I've tweaked the patch a bit)
* Continuing MFen 1.423gioria2002-09-281-787/+1046
|
* Rename "struct device" to "struct midway_device" to avoid clashingphk2002-09-282-3/+3
| | | | with newbus.
* Move includ of <sys/bus_priate.h> later to get semantic identity ofphk2002-09-281-1/+1
| | | | | | | | device_t the same throughout kernel. This is a very fine point of C which fortunatly does not make any difference in normal circumstances but which due to the pervasiveness of device_t in the kernel can make a lint barf a lot.
* Change a return to a break so the local buffers get properly freeed.phk2002-09-281-1/+1
| | | | | | Spotte by: FlexeLint Reviewed by: rwatson
* s/struct dev_t */dev_t */phk2002-09-281-1/+1
|
* This driver doesn't need to include <sys/bus_private.h> either.phk2002-09-282-2/+0
| | | | Spotted by: FlexeLint
* Disabuse this driver of the notion that it needs to includephk2002-09-282-4/+2
| | | | | | <sys/bus_private.h> to find the unit from a device_t. Spotted by: FlexeLint
* There is no need for start/num to be signed in i386_ldt_args.peter2002-09-282-4/+4
|
* Fix merge error in previous commit.jmallett2002-09-281-1/+1
| | | | Sponsored by: Bright Path Solutions
* Add empty default cases where they should be, remove non-local execution stuffjmallett2002-09-289-14/+36
| | | | | | | | | | in compat.c which doesn't even have preprocessor-conditional-hidden support code, and add a debugging statement where we might end up with a nil list somehow, but where I doubt it. First confirmed userland kill for Flexelint. Sponsored by: Bright Path Solutions
* Zero the local-variable mutexes before we call mtx_init() on them,phk2002-09-281-0/+2
| | | | | | | failing to do this may lead mtx_init() to belive they have already been initialized. Detected by: Marc Recht <marc@informatik.uni-bremen.de>
* Repair range checking for reading the ldt list.peter2002-09-282-2/+2
| | | | | PR: 38016 Submitted by: davidx
* We go more on MFen 1.423gioria2002-09-281-63/+114
|
* When spamming me with a printf(9), under DIAGNOSTIC, at least be nice enoughjmallett2002-09-281-1/+1
| | | | | | | to include a newline. MFC after: 4 days Sponsored by: Bright Path Solutions
* Make P_MAGIC fit in p_magic.phk2002-09-281-1/+1
|
* Add support for the BCM5702x chips.iwasaki2002-09-282-0/+3
| | | | | Reviewed by: jdp MFC after: 1 week
* Don't use GCC shorthand for ?: unless it really matters.phk2002-09-281-2/+3
|
* Remove unused includes.phk2002-09-281-4/+4
| | | | | Clarify the intention of a while(); Move a local variable to avoid potential name-confusion.
* Fix mis-indent.phk2002-09-281-1/+1
|
* Newer Netgear MA401RA entry.imp2002-09-281-0/+6
| | | | Submitted by: Michael Ranner
* Don't call function in return() for a void function.phk2002-09-283-9/+15
|
* Fix an indentation problem.phk2002-09-281-1/+1
|
* Don't use unnamed anonymous structs: give it a name.phk2002-09-281-3/+3
|
* Be consistent about "static" functions: if the function is markedphk2002-09-2868-173/+174
| | | | | | static in its prototype, mark it static at the definition too. Inspired by: FlexeLint warning #512
* Create symlink for /etc/group. MAKEDEV file will use this file (group namematusita2002-09-282-0/+2
| | | | | | | | to gid conversion). PR: 43455 Submitted by: n-kogane@syd.odn.ad.jp X-MFC after: immediately if re@ permits, or after 4.7-RELEASE is out
* Put the casts on the right hand side of =.phk2002-09-281-1/+1
|
* Don't return(foo(bla)) when foo returns void.phk2002-09-281-2/+4
|
* I misplaced a local variable yesterday.phk2002-09-281-1/+1
|
* Correctly order VI_UNLOCK(), local variables and block comment.phk2002-09-281-4/+4
|
* Style, whitespace and lint fixes.phk2002-09-2811-77/+75
| | | | Sponsored by: DARPA & NAI Labs.
* Void functions cannot use return(foo) even if foo is also returning void.phk2002-09-281-14/+28
| | | | Sponsored by: DARPA & NAI Labs.
* Fix two style problems which made FlexeLint unhappy:phk2002-09-281-2/+2
| | | | | | Don't use zero-dimension array in struct pargs. Comma after the last element of an enum doesn't make sense.
* Rewrite the kse_create() function to better aproach the semantics wejulian2002-09-281-56/+71
| | | | have specified in the design.
* First confirmed kill from my Flexelint license: Check return valuephk2002-09-281-0/+4
| | | | | | | of g_clone_bio(). Detected by: http://www.gimpel.com/html/flex.htm Sponsored by: DARPA & NAI Labs.
* Remove masking macros for getwc(), putwc(), putwchar() and getwchar().tjr2002-09-285-17/+4
| | | | | | Although there was nothing wrong with getwc() and putwc(), getwchar() and putwchar() assumed that <stdio.h> had been included before <wchar.h>, which is not allowed by the standard.
* Place 'completed thread anchor' in pre-zero'd secion of the KSEGRPjulian2002-09-281-1/+1
| | | | structure, not the copied section.
* Remove more two-letters names,ache2002-09-281-8/+9
| | | | | | we don't use them in termcap already many years. Add "su" as alias to "dumb" to help login, with comment.
* Renamed intr_enqueue to intr_vector and intr_dequeue to intr_fast, tojake2002-09-285-12/+12
| | | | better reflect how they are called.
* Moved most interrupt related code to a new file, interrupt.S.jake2002-09-284-151/+190
|
* Zap now-unused SHLIB_MINORpeter2002-09-2840-40/+1
|
* Add a workaround for what seems to be confusion between binutils and thejake2002-09-274-8/+60
| | | | | | | | | | | sparc v9 ABI. The Elf_Rela records for local symbols appear to already have the symbol's value added in to the addend field, even though the ABI specifies we need to lookup the symbol and add its value too. This breaks text relocations in klds because the symbol's value is added twice, and the resulting address points off into nowhere land, so for now just use the addend. Tested by: rwatson
* Add a missing pair of curly braces to a conditional debuggibbs2002-09-271-2/+3
| | | | | statement. This ensures that debug code doesn't trigger if it isn't enabled. <blush>
* Update to match current kernel code.phk2002-09-275-203/+207
| | | | | | Fix a couple of reference data which were found to be in error. Sponsored by: DARPA & NAI Labs.
* Add "missing scratch-pad register" to the first of the two portsphk2002-09-271-2/+2
| | | | | | on the Argosy SP-320 dual-port async PCcard. An amazing piece of hardware seen from an ISO9000 point of view.
OpenPOWER on IntegriCloud