| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
present or not. My laptop now properly notices when a battery is removed.
Reviewed by: iwasaki
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
| |
of "name" to avoid ugly problems when the containing code already has
a variable named "name".
|
| |
|
| |
|
|
|
|
|
|
| |
instead of rolling our own implementation.
Reviewed by: tmm
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
entries.
|
| |
|
| |
|
|
|
|
|
|
| |
it keeps asking you if you want to overwrite it or not.
Submitted by: peter
|
| |
|
|
|
|
|
| |
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
|
|
|
| |
in the arguments to vn_rdwr(). Hopefully the last.
|
|
|
|
|
|
|
|
| |
ap->a_cred, and pass in ap->a_td->td_ucred as the active_cred to
soo_poll().
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
| |
COMPAT_SVR4 is broken and usage is, until fixed, not recommended
BTW; does anybody remember why this is here?
|
| |
|
| |
|
|
|
|
| |
so the conditional compile should never have been used.
|
|
|
|
| |
'device atkbdc 1'.
|
|
|
|
|
|
| |
but since pc hardware only allows one AT-style keyboard controller, this
doesn't seem particularly urgent. (I do not know what the old sunriver
remote keyboard/mouse/vga cards do, that might be an exception).
|
|
|
|
|
|
|
|
| |
little more than a place holder, because nothing actually counted the
number of 'sc' units to compare it against NSC. A bit more work here
is needed so that the scaling of SC_MAX_HISTORY_SIZE and extra_history_size
goes up when more sc units are added. But, it does not appear that we can
have more than one console yet, so it does not seem particularly urgent.
|
|
|
|
| |
Reviewed by: tmm
|
| |
|
|
|
|
|
|
| |
reimplementing it.
Reviewed by: tmm
|
|
|
|
| |
others.
|
|
|
|
|
|
|
|
|
|
| |
proc locking when revoking access to mmaps. Instead, perform this
later once we've changed the process label (hold onto a reference
to the new cred so that we don't lose it when we release the
process lock if another thread changes the credential).
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
|
|
|
| |
epic_common_attach().
|
| |
|
|
|
|
|
| |
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
|
|
| |
TCP/UDP port seperated by a colon. This is for the log_in_vain facility.
Pointed out by: Edward J. M. Brocklesby
Reviewed by: ume
MFC after: 2 weeks
|
|
|
|
|
| |
Submitted by: "Vladimir B. " Grebenschikov <vova@sw.ru>
Pointy hat to: brooks
|