| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Persuaded by: Google
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
of the _KERNEL macro.
- Do not include <sys/pcpu.h> for no reason.
Suggested by: jake
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
present or not. My laptop now properly notices when a battery is removed.
Reviewed by: iwasaki
|
|
|
|
| |
Approved by: dwcjr (mentor)
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Reviewed by: mini
|
|
|
|
|
| |
of interlock on exit is not consistent. There are probably several bugs
relating to this.
|
|
|
|
|
|
| |
PR: bin/41819
Submitted by: Christophe Juniet <cjuniet@entreview.com>
MFC after: 3 days
|
|
|
|
|
|
|
| |
unless there's a compelling reason to deviate.
Submitted by: Don Lewis
Suggestion not objected to by: developers@
|
|
|
|
|
|
|
| |
released. vcanrecycle() failed to unlock interlock under this condition.
- Remove an extra VOP_UNLOCK from a failure case in vcanrecycle().
Pointed out by: rwatson
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
specifications.
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
| |
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).
|
|
|
|
| |
- Fix the long broken error handling for VV_ROOT and VDIR.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Obtained from: Packet Design
|
|
|
|
| |
Obtained from: Packet Design
|
|
|
|
| |
PR: docs/41830
|
|
|
|
|
|
| |
as needed.
Approved by: ken, sheldonh (mentor)
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
| |
of "name" to avoid ugly problems when the containing code already has
a variable named "name".
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Pointy hat: phk
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
MFC after: 3 days
|
| |
|
| |
|
|
|
|
|
|
| |
instead of rolling our own implementation.
Reviewed by: tmm
|
|
|
|
|
|
| |
PR: bin/6612
Obtained from: OpenBSD
MFC after: 1 week
|
|
|
|
|
|
|
| |
of reimplementing it.
- #undef EISA_ACCESSOR after use like we do for other accessors.
Reviewed by: tmm
|
|
|
|
|
|
| |
Correctly delete EA's when the content length is set to zero.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Prompted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
|
| |
|
|
|
|
| |
entries.
|
| |
|
| |
|
| |
|