summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s/filesystem/file system/ as discussed on -developerstrhodes2002-08-2125-75/+75
|
* s/EDOFUS/EDOOFUS/phk2002-08-214-6/+6
| | | | Persuaded by: Google
* o Merge <machine/ansi.h> and <machine/types.h> into a new headermike2002-08-2193-1402/+1380
| | | | | | | | | | | | | | | | | | | | | called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien
* - Do not pretend to compile a kernel and remove the definitionrobert2002-08-211-2/+0
| | | | | | | of the _KERNEL macro. - Do not include <sys/pcpu.h> for no reason. Suggested by: jake
* Don't use NULL where you really mean 0 to sysctlbyname.imp2002-08-211-1/+1
|
* Fix a few typos, among them s/builtin/built-in/ (except for the refschweikh2002-08-211-36/+36
| | | | | | | to the builtin(1) man page.) This is for consistency with the spelling both proposed by ispell as well as IEEE Std 1003.1-2001. MFC after: 3 days
* Use the _STA method of a battery control method to see if a battery isjhb2002-08-211-10/+16
| | | | | | present or not. My laptop now properly notices when a battery is removed. Reviewed by: iwasaki
* Add myself.obraun2002-08-211-0/+1
| | | | Approved by: dwcjr (mentor)
* - Define the macro _KERNEL to pretend we are compiling a kernel.robert2002-08-211-1/+2
| | | | | | | | | | This is required by recent changes to <sys/pcpu.h>, which uses the #error preprocessor directive to keep non-kernel applications from using it. _KERNEL is defined below the #include <stand.h>, because <stand.h> removes the definition of _KERNEL. - Move the inclusion of <sys/queue.h> above the inclusion of <sys/linker.h> to avoid syntax errors.
* Create new functions in_sockaddr(), in6_sockaddr(), andtruckman2002-08-215-84/+130
| | | | | | | | | | | | | | | | | in6_v4mapsin6_sockaddr() which allocate the appropriate sockaddr_in* structure and initialize it with the address and port information passed as arguments. Use calls to these new functions to replace code that is replicated multiple times in in_setsockaddr(), in_setpeeraddr(), in6_setsockaddr(), in6_setpeeraddr(), in6_mapped_sockaddr(), and in6_mapped_peeraddr(). Inline COMMON_END in tcp_usr_accept() so that we can call in_sockaddr() with temporary copies of the address and port after the PCB is unlocked. Fix the lock violation in tcp6_usr_accept() (caused by calling MALLOC() inside in6_mapped_peeraddr() while the PCB is locked) by changing the implementation of tcp6_usr_accept() to match tcp_usr_accept(). Reviewed by: suz
* Fix a typo in #if 0 codescottl2002-08-211-1/+1
|
* Fix for stand-alone compilingscottl2002-08-211-0/+4
| | | | Reviewed by: mini
* - Document two cases, one in vget and the other in vn_lock, where the statejeff2002-08-212-0/+2
| | | | | of interlock on exit is not consistent. There are probably several bugs relating to this.
* Fix typo and ispell while I'm here.schweikh2002-08-211-2/+2
| | | | | | PR: bin/41819 Submitted by: Christophe Juniet <cjuniet@entreview.com> MFC after: 3 days
* Suggest that function prototypes in kernel headers be alphabetical,imp2002-08-211-0/+3
| | | | | | | unless there's a compelling reason to deviate. Submitted by: Don Lewis Suggestion not objected to by: developers@
* - If vn_lock fails with the LK_INTERLOCK flag set, interlock will not bejeff2002-08-211-2/+3
| | | | | | | released. vcanrecycle() failed to unlock interlock under this condition. - Remove an extra VOP_UNLOCK from a failure case in vcanrecycle(). Pointed out by: rwatson
* - Add two new debugging macros: ASSERT_VI_LOCKED and ASSERT_VI_UNLOCKEDjeff2002-08-214-8/+90
| | | | | | | | - Use the new VI asserts in place of the old mtx_assert checks. - Add the VI asserts to the automated lock checking in the VOP calls. The interlock should not be held across vops with a few exceptions. - Add the vop_(un)lock_{pre,post} functions to assert that interlock is held when LK_INTERLOCK is set.
* Whoops, the manpage lied... ipfw2 has always accepted addr:maskluigi2002-08-211-11/+14
| | | | specifications.
* When setting the WI_RID_ENCRYPTION mode, we have to conditionallyimp2002-08-211-11/+20
| | | | | | | set EXCLUDE_UNENCRYPTED if we're not in OPEN mode (or if we are a symbol card). Obtained from: OpenBSD (looks like a millert@ special)
* comment about the magic number -149imp2002-08-211-0/+6
|
* Treat IBSS the same as ADHOC in wi_get_cur_ssid. This makes ifconfigimp2002-08-211-0/+1
| | | | | work better, but might not make ibss actually work on the prism2 cards that I have (this is the first time I've tried ibss in a long time).
* - Hold the vnode lock across unlink() so that the v_vflag check is safe.jeff2002-08-212-30/+40
| | | | - Fix the long broken error handling for VV_ROOT and VDIR.
* Keep subdirectory list sorted.archie2002-08-201-2/+2
|
* A chunk of cleanup, both stylistic and substantive.mjacob2002-08-206-330/+1021
| | | | | | | | We now also read configuration information for the SCSI cards- this allows us to try and say what the speed settings now are. Start, but not yet complete, the process of reorgs && #defines so that we can backport to RELENG_4 pretty soon.
* Restrict visibility of wcwidth() and wcswidth(); they are XSI extensions.tjr2002-08-201-2/+5
|
* Add ng_l2tp module.archie2002-08-202-2/+9
|
* Man page for new L2TP netgraph node type.archie2002-08-202-0/+304
| | | | Obtained from: Packet Design
* New L2TP netgraph node type.archie2002-08-205-1/+1644
| | | | Obtained from: Packet Design
* Fix url for wordlists.alfred2002-08-201-1/+1
| | | | PR: docs/41830
* Take care of WARNS=3 warnings by using unsigned/signed variablejohan2002-08-201-6/+7
| | | | | | as needed. Approved by: ken, sheldonh (mentor)
* Whitespace and style fixes.jhb2002-08-201-12/+15
| | | | Submitted by: bde
* When declaring local variables in macros, always use "_name" insteadarchie2002-08-201-33/+34
| | | | | of "name" to avoid ugly problems when the containing code already has a variable named "name".
* Previous commit of adding ut to xterm entry broke kterm-color entry.ume2002-08-201-1/+1
| | | | | | | | | 3 bytes (ut:) seems too long for kterm-color. There is a limitation of buffer size within 1024 bytes in our ncurses. Submitted by: mistral@imasy.or.jp Reviewed by: matusita MFC after: 1 day
* Fix buildworld breakage.roberto2002-08-201-1/+1
| | | | Pointy hat: phk
* Document SWIDTH*ache2002-08-201-0/+12
|
* Clean up hostname and hostinfo handling in inithosts():yar2002-08-201-5/+13
| | | | | | | | | o check getaddrinfo(3) return value, not result pointer o getaddrinfo(3) returns int, not pointer o don't leak memory allocated for hostnames and hostinfo structures o initialize pointers that will be checked for NULL somewhere MFC after: 1 week
* Insert missing 'are' to fix grammar bogon.schweikh2002-08-201-1/+1
| | | | MFC after: 3 days
* Remove duplicate vinum entry.nyan2002-08-201-2/+1
|
* Merged from sys/dev/syscons/syscons.c revisions 1.386 and 1.387.nyan2002-08-201-5/+58
|
* Use the __BUS_ACCESSOR macro for NEXUS_ACCESSORmux2002-08-203-42/+6
| | | | | | instead of rolling our own implementation. Reviewed by: tmm
* Allow embedded `:' and `!' in target names.ru2002-08-201-2/+31
| | | | | | PR: bin/6612 Obtained from: OpenBSD MFC after: 1 week
* - Use the __BUS_ACCESSOR macro for EISA_ACCESSOR insteadmux2002-08-201-14/+4
| | | | | | | of reimplementing it. - #undef EISA_ACCESSOR after use like we do for other accessors. Reviewed by: tmm
* Implement list of EA return functionality.phk2002-08-201-9/+33
| | | | | | Correctly delete EA's when the content length is set to zero. Sponsored by: DARPA & NAI Labs.
* Be consistent about quoting things.phk2002-08-201-26/+44
| | | | | | | | | Be (somewhat) prepared for things to change size under us. Recognize a empty attribute name as magic and print the list of attributes. Use <err.h> for code clarity. Deal with zero length returns. Sponsored by: DARPA & NAI Labs.
* Allow one to override ${MINSTALL} in /etc/make.conf.ru2002-08-201-1/+1
| | | | Prompted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
* Back out last commit. Needs slightly more subtle handling.orion2002-08-201-33/+35
|
* Remove the possibility of a race condition when reading the . and ..scottl2002-08-201-15/+16
| | | | entries.
* Don't abuse the stack when translating names.scottl2002-08-201-10/+12
|
* Merge changes in GENERIC to reduce difference (mostly cosmetic).kuriyama2002-08-201-10/+14
|
* Add a manual page for wcwidth().tjr2002-08-202-1/+63
|
OpenPOWER on IntegriCloud