jkoshy
b0f32c379f
Note that functions alq_flush() and alq_post() should not be called in
...
contexts where sleeping is disallowed.
Pointed out by: ru
2005-02-05 02:39:07 +00:00
jeff
0a084a15e2
- Don't release BKGRDINPROG until after we've bufdone'd the copy.
...
Sponsored by: Isilon Systems, Inc.
2005-02-05 01:26:14 +00:00
pjd
e4c6b83cfd
- Use bioq_insert_tail()/bioq_insert_head() instead of bioq_disksort().
...
- Improve mediasize checking.
MFC after: 1 week
2005-02-05 00:30:08 +00:00
glebius
93f2cf1fa1
Do check that version of a message from userland matches ours.
...
MFC after: 3 days
2005-02-04 21:38:42 +00:00
glebius
e7fd5fd51e
When we have converted an ASCII message to binary, set its version in
...
the header. Otherwise we will send a message with zero version.
MFC after: 3 days
2005-02-04 21:36:10 +00:00
imp
50c3fd3802
As threatened, trim the UDPATING file to the branchpoint for RELENG_5.
...
People wishing to see prior changes are encouraged to look at the
UPDATING file on the RELENG_5 branch. Document when RELENG_5 was
branched, as well as the 5.3 release date, as shown in the CVS logs
for newvers.sh.
This change should not be MFC'd.
Noticed by: Matteo Riondato (and ru)
2005-02-04 21:22:06 +00:00
maxim
ba4f5d9f13
Backout rev. 1.17 per ru@ request: there are net.graph.recvspace and
...
net.graph.maxdgram sysctls.
2005-02-04 20:09:11 +00:00
das
2992840cda
Fix a small scripting snafu in the previous revision.
2005-02-04 20:05:39 +00:00
glebius
e11596c717
Call if_link_state_change() when link status changes.
...
PR: kern/76890
Reviewed by: rwatson, sam
2005-02-04 18:36:04 +00:00
das
24d2516dd7
Remove another vestige of support for a non-IEEE libm.
2005-02-04 18:32:13 +00:00
das
a47af911ba
Reduce diffs against vendor source (Sun fdlibm 5.3).
2005-02-04 18:26:06 +00:00
njl
e8403b2368
Don't print out a failure message when an attach for FFixedHW fails.
...
Instead, just fail to attach so another hardware-specific driver can
claim the device. Also, clean up some small memory leaks in the failure
case.
2005-02-04 18:09:01 +00:00
njl
6701a5bbfe
Return a special status of "not supported" for functional fixed hardware
...
since this type of register should be handled by another driver.
2005-02-04 18:07:03 +00:00
imp
d00831d3e0
Don't rely on indirect inclusion of machine/bus.h to use
...
bus_space_{read,write}_* routines. This doesn't matter in the current
tree, but will matter soon (the rest of the tree appears to already be
clean).
2005-02-04 17:33:31 +00:00
jeff
ef8ea3a09d
- Add ke_runq == NULL to the conditions which will cause us to abort
...
adjusting timeshare loads in sched_class(). This is only important if
the thread has never run, otherwise the state checks should work as
expected.
2005-02-04 17:22:46 +00:00
harti
43632a424a
Where the returned line length from Buf_GetAll is not used just pass
...
a NULL to the function. Delete the now unused local variables.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 16:53:35 +00:00
harti
44af3ae976
Rewrite of the buf code:
...
- convert Buf_AddByte from a macro to a function
- move #define's into the header file
- remove unused field in struct Buffer
- remove size fields - they can be easily computed
- inline Buf_OvAddByte
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 16:48:35 +00:00
brueffer
71c4337044
Add a Token Ring section which lists devices supported by oltr(4) for now.
2005-02-04 16:45:11 +00:00
brueffer
90549652f0
Add oltr(4)
2005-02-04 16:43:59 +00:00
glebius
c207fe4548
- Fix build with TRACE_MESSAGES defined
...
- Remove extra parenthesis
2005-02-04 16:08:20 +00:00
nyan
b8bf224a0f
cosmetic changes.
2005-02-04 15:34:52 +00:00
nyan
e349950dc9
The bs and wdc drivers are gone.
2005-02-04 15:29:54 +00:00
ume
a0122cc509
teach scope of IPv6 address to net.inet6.tcp6.getcred.
...
MFC after: 1 week
2005-02-04 14:43:05 +00:00
das
9aed1e79d6
Move machine-dependent crud to its own makefile.
2005-02-04 14:33:39 +00:00
das
ec83c7685d
Remove wrappers and other cruft intended to support SVID, mistakes in
...
C90, and other arcana. Most of these features were never fully
supported or enabled by default.
Ok: bde, stefanf
2005-02-04 14:08:32 +00:00
delphij
aa38886281
Save last displayed file by having the "last" pointer global and save it
...
during we show the first file's tail. Instead of:
tarsier% tail -f 1 2
==> 1 <==
foo
bar
==> 2 <==
bar
foo
==> 2 <==
bar2
foo2
Now with this change, we have:
tarsier% tail -f 1 2
==> 1 <==
foo
bar
==> 2 <==
bar
foo
bar2
foo2
While I'm there, move a comment to where it should belong to. Also,
const'ify the "last" static because we will never need to change the
contents it points to.
MFC After: 1 week
2005-02-04 14:01:06 +00:00
nyan
ed3d473296
Fix pc98 support (broken by previous change).
2005-02-04 13:37:21 +00:00
nyan
64be87543b
Merged from sys/dev/sio/sio.c revision 1.457.
2005-02-04 13:35:21 +00:00
nyan
8ebefadd24
MFi386: revision 1.605.
2005-02-04 13:34:24 +00:00
harti
6861248dfc
None of the users of Buf_Discard used it to get rid of only a part of
...
the buffer. So replace Buf_Discard by Buf_Clear which just gets rid
of the entire contents.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 13:34:16 +00:00
nyan
7403bf4c90
MFi386: revision 1.514.
2005-02-04 13:33:46 +00:00
harti
9c5690ecb4
Inline the ADDWORD() macro in the two places where it is used. It just
...
obfuscates the code.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 13:29:50 +00:00
harti
d01d054183
Use _exit() instead of exit() when the exec() after a vfork() fails.
...
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 13:26:37 +00:00
harti
930c7a333a
Move PrintAddr() from util.c into suff.c - the only file where it is
...
actuall used, and make it static.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 13:23:39 +00:00
harti
92c06224cb
General whitespace cleanup: remove mixes of tabs and spaces, remove
...
space after function names, remove spaces on emtpy lines.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 12:38:57 +00:00
harti
4a76daab98
Minor cleanup: make brk_string to return argc only if the pointer to it
...
was non-NULL. This let's us eliminated an otherwise unused variable.
shellneeded can never return -1 so there is no need to check for it and
hence no need for a variable to hold the returned value.
Submitted by: Max Okumoto <okumoto@ucsd.edu> (partly)
2005-02-04 12:30:54 +00:00
harti
ec85d83f9f
Further constification. Use a temporary hack (copying the input string)
...
until Var_Subst is fixed.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 12:10:20 +00:00
ceri
63e5ce4945
Quote example file names consistently, and fix a small grammatical nit.
2005-02-04 11:37:49 +00:00
pjd
03d733ba6a
Improve EIO error description and mention that it can also occur while
...
writting.
MFC after: 3 days
2005-02-04 11:18:46 +00:00
delphij
419a3a541d
This commit was generated by cvs2svn to compensate for changes in r141261,
...
which included commits to RCS files with non-trunk default branches.
2005-02-04 08:41:44 +00:00
delphij
fe20bac494
Import a (stripped) snapshot of OpenBSD's nc(1) an excellent
...
reimplementation of the famous tool that can do arbitrary TCP
and UDP connections and listens.
This gaves sysadm the same tool the crackers have, so that
they may learn what the network is about and protect it better.
For developers, this is an invaluable debugging tool, and a
good build block of scripts.
Discussed on: freebsd-hackers@
2005-02-04 08:41:44 +00:00
harti
297b2c0b1b
Use an extra variable to assign to instead of missusing an input
...
parameter. This will help in constification.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 08:31:42 +00:00
harti
f95865e632
Replace space, tab mixes by tabs.
...
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 08:15:11 +00:00
harti
2eff456e45
Use tabs to move to the comments instead of wild mixes of tabs and spaces.
...
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 08:11:58 +00:00
harti
ef354ab8d7
Style: line up with tabulators.
2005-02-04 08:03:55 +00:00
harti
ee5929c16a
Use a typedef for the conditional handler function so that declaring
...
pointers to these functions is easier.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 08:02:41 +00:00
harti
81deb36901
Style: remove a space between a function name and the opening
...
paranthesis.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 07:56:40 +00:00
harti
5f05e672b6
Some more easy constification.
...
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 07:51:00 +00:00
njl
c673c301c6
Make the devclass static for now until deciding whether to share them.
2005-02-04 07:25:44 +00:00
njl
7471ede193
Bump __FreeBSD_version for cpufreq addition. Requested by marcus@
2005-02-04 06:59:58 +00:00