| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
usr.bin/lex/lib for the 32 bit libraries on amd64. Add an explicit
obj for these two directories that are built in for the "libraries" target.
Notes:
svn path=/head/; revision=138291
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
initializations but we did have lofty goals and big ideals.
Adjust to more contemporary circumstances and gain type checking.
Replace the entire vop_t frobbing thing with properly typed
structures. The only casualty is that we can not add a new
VOP_ method with a loadable module. History has not given
us reason to belive this would ever be feasible in the the
first place.
Eliminate in toto VOCALL(), vop_t, VNODEOP_SET() etc.
Give coda correct prototypes and function definitions for
all vop_()s.
Generate a bit more data from the vnode_if.src file: a
struct vop_vector and protype typedefs for all vop methods.
Add a new vop_bypass() and make vop_default be a pointer
to another struct vop_vector.
Remove a lot of vfs_init since vop_vector is ready to use
from the compiler.
Cast various vop_mumble() to void * with uppercase name,
for instance VOP_PANIC, VOP_NULL etc.
Implement VCALL() by making vdesc_offset the offsetof() the
relevant function pointer in vop_vector. This is disgusting
but since the code is generated by a script comparatively
safe. The alternative for nullfs etc. would be much worse.
Fix up all vnode method vectors to remove casts so they
become typesafe. (The bulk of this is generated by scripts)
Notes:
svn path=/head/; revision=138290
|
|\
| |
| |
| |
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
Notes:
svn path=/head/; revision=138288
|
| |
| |
| |
| | |
Notes:
svn path=/vendor-sys/acpica/dist/; revision=138287
|
| |
| |
| |
| |
| |
| |
| | |
Approved by: alfred
Notes:
svn path=/head/; revision=138286
|
| |
| |
| |
| |
| |
| |
| | |
Approved by: alfred
Notes:
svn path=/head/; revision=138285
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=138281
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
in the _PRS or _CRS of link devices. If faced with multiple DPFs in a
_PRS, we just use the first one. We assume that if _CRS has DPF tags they
only contain a single set since multiple DPFs wouldn't make any sense. In
practice, the only DPFs I've seen so far for link devices are that the one
IRQ resource is surrounded by a DPF tag pair for no apparent reason, and
this should handle that case fine now.
- Only allocate link structures for IRQ resources for link devices rather
than allocating a link structure for every resource.
Reviewed by: njl
Tested by: phk
Notes:
svn path=/head/; revision=138280
|
| |
| |
| |
| |
| |
| |
| | |
argument.
Notes:
svn path=/head/; revision=138279
|
| |
| |
| |
| |
| |
| |
| | |
fifos.
Notes:
svn path=/head/; revision=138278
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=138277
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=138276
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
boot.flp in 5.3 and later is not self-contained and thus not suitable for
CD booting. /boot/cdboot is now the only way to boot the install CDs.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=138275
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
in the error cases, causing panics.
Adapted from similar fix to NFSv3 mkdir submitted by Mohan Srinivasan mohans
at yahoo-inc dot com
Approved by: alfred
Notes:
svn path=/head/; revision=138274
|
| |
| |
| |
| |
| |
| |
| | |
macro for this; reorder an if.
Notes:
svn path=/head/; revision=138273
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
should not return ERESTART after it caught a signal, otherwise
thr_wake() call will be lost, also a timeout wait should not be
restarted. Final, using wakeup not wakeup_one to be safeness.
Notes:
svn path=/head/; revision=138272
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=138270
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
other until the window is closed. Then one of the sockets is closed, which
will generate a RST once the TCP at the other socket does a window probe.
All versions of FreeBSD prior to 11/26/2004 will ignore this RST into a 0
window, causing the connection (and application) to hang indefinitely.
On patched versions of FreeBSD (and other operating systems), the RST
will be accepted and the program will exit in a few seconds.
Submitted by: Michiel Boland
Reviewed by: silby
Notes:
svn path=/head/; revision=138269
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is done to keep both versions in RELENG_5 and support both APIs.
Reviewed by: scottl
Approved by: julian (mentor), implicitly
Notes:
svn path=/head/; revision=138268
|
| |
| |
| |
| |
| |
| |
| | |
to prototype VOP functions with.
Notes:
svn path=/head/; revision=138266
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
pointer constant as NULL.
Checked by: diff -r on the object files before and after
Notes:
svn path=/head/; revision=138264
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
also.
Polish badfo stuff.
Notes:
svn path=/head/; revision=138263
|
| |
| |
| |
| |
| |
| |
| | |
driver at the bottom of the file.
Notes:
svn path=/head/; revision=138262
|
| |
| |
| |
| |
| |
| |
| | |
as this is more correct and matches the sysctl variable.
Notes:
svn path=/head/; revision=138261
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=138260
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=138259
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
they would leave enough elements on the stack that if you escaped to the
loader prompt and then typed 'setenv', it would pull in all of the leaked
junk and cause an exception in the environment. There still seems to be
3 leaked elements, but they don't appear to be coming from this file.
Notes:
svn path=/head/; revision=138258
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
a deadlock (with NFS exclusive vnode locks enabled). Lookup
grabs the parent's lock and wants to lock child. Readdirplus
locks the child and wants to lock parent (for loading the attrs
for ".."). The fix is to not load the attrs for ".." in
readdirplus.
Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com
Reviewed by: rwatson
Notes:
svn path=/head/; revision=138256
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This closes a major hole in close-to-open consistency support.
Added a new sysctl so that this can be disabled for single NFS
client applications with very large amounts of mmap'ed IO (for
performance).
Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com
Reviewed by: rwatson
Notes:
svn path=/head/; revision=138255
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
returned back to df from a statfs call. Causing df to print negative
values.
Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com
Reviewed by: rwatson
Notes:
svn path=/head/; revision=138254
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
specified register, but a pointer to the in-memory representation of
that value. The reason for this is twofold:
1. Not all registers can be represented by a register_t. In particular
FP registers fall in that category. Passing the new register value
by reference instead of by value makes this point moot.
2. When we receive a G or P packet, both are for writing a register,
the packet will have the register value in target-byte order and
in the memory representation (modulo the fact that bytes are sent
as 2 printable hexadecimal numbers of course). We only need to
decode the packet to have a pointer to the register value.
This change fixes the bug of extracting the register value of the P
packet as a hexadecimal number instead of as a bit array. The quick
(and dirty) fix to bswap the register value in gdb_cpu_setreg() as
it has been added on i386 and amd64 can therefore be removed and has
in fact been that.
Tested on: alpha, amd64, i386, ia64, sparc64
Notes:
svn path=/head/; revision=138253
|
| |
| |
| |
| |
| |
| |
| | |
keep the locking and solve the real problem.
Notes:
svn path=/head/; revision=138251
|
| |
| |
| |
| |
| |
| |
| | |
did anything, so this commit should be considered a NO-OP.
Notes:
svn path=/head/; revision=138249
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
@sys/dev/acpica/acpi_pci_link.c:153" panic by backing out rev 1.37 in the SMP
case. It appears that on a dual-proc machine the assertions in the rev 1.37
commit log hold true.
Notes:
svn path=/head/; revision=138248
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Introduce domain_init_status to keep track of the init status of the domains
list (surprise). 0 = uninitialized, 1 = initialized/unpopulated, 2 =
initialized/done. Higher values can be used to support late addition of
domains which right now "works", but is potential dangerous. I choose to
only give a warning when doing so.
Use domain_init_status with if_attachdomain[1]() to ensure that we have a
complete domains list when we init the if_afdata array. Store the current
value of domain_init_status in if_afdata_initialized. This way we can update
if_afdata after a new protocol has been added (once that is allowed).
Submitted by: se (with changes)
Reviewed by: julian, glebius, se
PR: kern/73321 (partly)
Notes:
svn path=/head/; revision=138239
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
call net_add_domain(). Calling this function too early (or late) breaks
assertations about the global domains list.
Actually it should be forbidden to call net_add_domain() outside of
SI_SUB_PROTO_DOMAIN completely as there are many places where we traverse
the domains list unprotected, but for now we allow late calls (mostly to
support netgraph). In order to really fix this we have to lock the domains
list in all places or find another way to ensure that we can safely walk the
list while another thread might be adding a new domain.
Spotted by: se
Reviewed by: julian, glebius
PR: kern/73321 (partly)
Notes:
svn path=/head/; revision=138238
|
| |
| |
| |
| |
| |
| |
| | |
lines while here.
Notes:
svn path=/head/; revision=138237
|
| |
| |
| |
| |
| |
| |
| | |
Pointy hat: njl from nskyline_r35 at yahoo com
Notes:
svn path=/head/; revision=138236
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=138235
|
| |
| |
| |
| |
| |
| |
| | |
but allows a "nodev" in /etc/fstab, etc.
Notes:
svn path=/head/; revision=138234
|
| |
| |
| |
| |
| |
| |
| |
| | |
anyway and for some reason, witness seems confused about what's already
locked and triggers a false panic.
Notes:
svn path=/head/; revision=138233
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
and the sizeof operator, missing empty lines, void casts, extra empty lines.
Checked by: diff on make *.o lst.lib/*.o
Submitted by: Max Okumoto <okumoto@soe.ucsd.edu> (partly)
Notes:
svn path=/head/; revision=138232
|
| |
| |
| |
| |
| |
| |
| | |
Requested by: ru
Notes:
svn path=/head/; revision=138230
|
| |
| |
| |
| |
| |
| |
| |
| | |
Stumbled upon by: markus
MFC after: 3 days
Notes:
svn path=/head/; revision=138229
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
versions of the structure definition for this: one with const char
pointers, because otherwise gcc won't let us initialize the fields with
constant strings, and one without the const, because we need to work
with the structure.
Notes:
svn path=/head/; revision=138228
|
| |
| |
| |
| |
| |
| |
| |
| | |
to the CVS-Meisters x-mode just happens to work, but is not guaranteed to
do so. Try to be on the safe side.
Notes:
svn path=/head/; revision=138227
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=138225
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
lock collision.
2. Fix two race conditions. One is between _umtx_unlock and signal,
also a thread was marked TDF_UMTXWAKEUP by _umtx_unlock, it is
possible a signal delivered to the thread will cause msleep
returns EINTR, and the thread breaks out of loop, this causes
umtx ownership is not transfered to the thread. Another is in
_umtx_unlock itself, when the function sets the umtx to
UMTX_UNOWNED state, a new thread can come in and lock the umtx,
also the function tries to set contested bit flag, but it will
fail. Although the function will wake a blocked thread, if that
thread breaks out of loop by signal, no contested bit will be set.
Notes:
svn path=/head/; revision=138224
|
| |
| |
| |
| |
| |
| |
| |
| | |
stubs that at least handle the stack correctly. This makes it much easier to
experiment with loader scripts from userland.
Notes:
svn path=/head/; revision=138223
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the semantic of Lst_Datum which formerly returned NULL when the argument
node was NULL. There was only one place in the source that relied on this
so change that place.
Notes:
svn path=/head/; revision=138222
|