Colin Percival
b6f7c57ecf
Document POSIX stupidity: Attempts to mmap zero bytes will succeed (and
...
have no effect), while attempts to munmap zero bytes will fail.
2004-04-18 23:36:45 +00:00
David E. O'Brien
076419d207
Add -c option simular to du(1).
...
PR: 19635
Submitted by: cyrille.lefevre@laposte.net
2004-04-18 20:56:31 +00:00
Ruslan Ermilov
ae24a36e78
Style and code unobfuscation.
2004-04-18 19:38:20 +00:00
Ruslan Ermilov
b088717c11
Fixed a bug from rev. 1.42: cast to a correct type.
...
Submitted by: luigi
2004-04-18 19:36:01 +00:00
Max Laier
8614fb12a0
Make if_(un)route static in if.c as they are called from if_up/if_down only.
...
This is also cleanup to make locking easier.
Reviewed by: luigi
Approved by: bms(mentor)
2004-04-18 18:59:44 +00:00
Bill Paul
e1c0113ffd
In ntoskrnl_unlock_dpc(), use atomic_store instead of atomic_cmpset
...
to give up the spinlock.
Suggested by: bde
2004-04-18 18:38:59 +00:00
David E. O'Brien
cd4db58afd
Revert rev 1.21 which configured with --enable-64-bit-bfd.
...
GDB 5.2 can't handle a 64-bit BFD on a 32-bit host.
We can revisit configuring with --enable-64-bit-bfd when we get a modern GDB.
2004-04-18 16:09:33 +00:00
Bruce Evans
8a148d55b7
Moved the function pointer in struct puc_device_description to the end
...
of the struct, so that a placeholder for it (or unportable C99
initializers) are not needed for entries that don't use it. Use a C99
initializer for the 1 entry that uses it. Removed 91 placeholders.
This also restores API compatibility with NetBSD and RELENG_4 for most
entries.
2004-04-18 14:37:27 +00:00
Max Laier
1abe035580
FreeBSD-if .4 manpages for pf/pflog/pfsync.
...
PR: docs/65687
Submitted by: Sergey Matveychuk
Approved by: bms(mentor)
2004-04-18 13:59:12 +00:00
Luigi Rizzo
24665342d3
constify the last argument of m_copyback.
2004-04-18 13:01:28 +00:00
Luigi Rizzo
485b4cba56
+ move MKGet()/MKFree() into the only file that can use them.
...
+ remove useless wrappers around bcmp(), bcopy(), bzero().
The code assumes that bcmp() returns 0 if the size is 0, but
this is true for both the libc and the libkern versions.
+ nuke Bcmp, Bzero, Bcopy from radix.h now that nobody uses them anymore.
2004-04-18 11:48:35 +00:00
Luigi Rizzo
6b96f1af6d
+ replace Bcmp/Bzero with 'the real thing' as in the rest of the file.
...
+ remember to check and fix or explain a strange cast in route_output()
2004-04-18 11:47:04 +00:00
Luigi Rizzo
1838a6471f
replace Bcopy with bcopy as in the rest of the file.
2004-04-18 11:46:29 +00:00
Luigi Rizzo
ac912b2dc8
Replace Bcopy with 'the real thing' as in the rest of the file.
2004-04-18 11:45:49 +00:00
Luigi Rizzo
056c7327e4
Replace Bcopy/Bzero with 'the real thing' as in the rest of the file.
2004-04-18 11:45:28 +00:00
Luigi Rizzo
4158372f1a
replace Bcmp() with the same bcmp() used in the rest of the file.
2004-04-18 11:01:15 +00:00
Alan Cox
377a50503d
MFamd64
...
Simplify the sf_buf implementation. In short, make it a veneer
over the direct virtual-to-physical mapping.
2004-04-18 08:10:04 +00:00
Bruce Evans
bd1516c8e6
Miscellaneous style fixes, including yet another attempt to get the
...
0x1393/0x1041 entry and its bad templates right.
2004-04-18 07:36:41 +00:00
Alan Cox
3edd4a4094
MFamd64
...
Simplify the sf_buf implementation. In short, make it a veneer
over the direct virtual-to-physical mapping.
2004-04-18 07:11:12 +00:00
Bruce Evans
361994141b
Fixed some style bugs in rev.1.1 (only 2 entries were misformatted).
2004-04-18 07:06:45 +00:00
Bruce Evans
afe167a0e0
Fixed some style bugs (perfect tab lossage on every line) in rev.1.4.
2004-04-18 06:49:26 +00:00
Bruce Evans
3fd635c702
Fixed some style bugs (misformatting) in rev.1.9.
2004-04-18 06:42:27 +00:00
Bruce Evans
921e623763
Oops, fixed some more style bugs (tab lossage) in rev.1.28. Fixed the
...
same style bug in revs.1.20, 1.18, 1.15 and 1.12.
2004-04-18 06:36:12 +00:00
Alan Cox
c9b7c6e802
MFamd64
...
Simplify the sf_buf implementation. In short, make it a veneer
over the direct virtual-to-physical mapping.
2004-04-18 06:24:51 +00:00
Bruce Evans
00dcaee469
Fixed some style bugs in rev.1.24. Almost every line was misformatted,
...
and Oxford was misspelled.
2004-04-18 05:52:35 +00:00
Bruce Evans
e096ea4428
Fixed some style bugs (formatting errors) in rev.1.25.
2004-04-18 05:46:37 +00:00
David E. O'Brien
2d06787c3b
Script for downloading and printing in hex, the offical vendor ID's from
...
USB.org.
2004-04-18 05:37:34 +00:00
Alan Cox
ec8544f744
Simplify the sf_buf implementation. In short, make it a trivial veneer
...
over the direct virtual-to-physical mapping.
2004-04-18 05:36:37 +00:00
Bruce Evans
d4e132ea17
Fixed some style bugs (tab lossage) in rev.1.26.
...
Removed the requirement for a particular subvendor/subproduct in
rev.1.26 (VScom PCI-800L card). While the BARs, etc., may depend on
the sub-ids, this is not known to be so, and I think it is better to
guess that they don't. The decision to check sub-id checks in this
file is apparently random; for VScom cards they were checked in 3 of
8 cases.
Reviewed by: timeout by committer (joerg) after 6 months
2004-04-18 05:30:02 +00:00
Nate Lawson
c2962974d0
Instead of using a static, check for the FADT revision before using it.
...
This fixes a bug where acpidump -d crashed (but not -t -d).
Submitted by: Alex Vasylenko <lxv@omut.org>
2004-04-18 05:21:36 +00:00
Bruce Evans
ba8fc6ca62
Fixed some style bugs in rev.1.28. Almost every line was misindented.
2004-04-18 04:48:53 +00:00
Bruce Evans
0efcc68bc8
Fixed a style bug (insertion sort error) in rev.1.29. This file should
...
be sorted in the same order as misc/pci_vendors (on vendor/device id),
and already partly is.
2004-04-18 04:44:28 +00:00
Bruce Evans
3f7fbb5497
Fixed some style bugs in previous commit. Almmost every line was
...
misformatted.
2004-04-18 04:31:58 +00:00
Hiroki Sato
721e72b13a
Fix typos (s/NetGraph/Netgraph/).
2004-04-18 03:18:00 +00:00
Paul Saab
78d033619f
move the cleanup of the control device into ciss_free and add some
...
ifdefs for the diffrent kthread_create API between -current and
-stable
2004-04-18 02:39:01 +00:00
Luigi Rizzo
212b6d5244
+ rename and document an unused field in struct arpcom (field is still
...
there so there are no ABI changes);
+ replace 5 redefinitions of the IPF2AC macro with one in if_arp.h
Eventually (but before freezing the ABI) we need to get rid of
struct arpcom (initially with the help of some smart #defines
to avoid having to touch each and every driver, see below).
Apart from the struct ifnet, struct arpcom now only stores a copy
of the MAC address (ac_enaddr, but we already have another copy in
the struct ifnet -- if_addrhead), and a netgraph-specific field
which is _always_ accessed through the ifp, so it might well go
into the struct ifnet too (where, besides, there is already an entry
for AF_NETGRAPH data...)
Too bad ac_enaddr is widely referenced by all drivers. But
this can be fixed as follows:
#define ac_enaddr ac_if.the_original_ac_enaddr_in_struct_ifnet
(note that the right hand side would likely be a pointer rather than
the base address of an array.)
2004-04-18 01:15:32 +00:00
Marius Strobl
d3770a0c15
Add my birthday.
...
Approved by: marcel (mentor)
2004-04-18 01:05:55 +00:00
Atsushi Onoe
433ce5a478
Use IFF_ALLMULTI instead of if_amcount to decide if all multicast should
...
be received. Pointed out by Luigi Rizzo.
2004-04-18 01:05:02 +00:00
Luigi Rizzo
5dfc91d77d
Minor changes to improve code readability (no actual code changes):
...
+ replace 0 with NULL where appropriate (not complete)
+ remove register declaration while there
+ add argument names to function prototypes to have a better idea of
what they are used for
+ add 'const' qualifiers in 3 places
2004-04-18 00:56:44 +00:00
Ruslan Ermilov
dfa515f294
Don't give up if sending to one link fails, continue.
...
Suggested by: jmallett
2004-04-17 23:52:57 +00:00
Luigi Rizzo
92803b6696
use native names for if_link, ifa_link, if_addrhead.
...
Change for (...) to TAILQ_FOREACH(...)
Ok'ed by: sam
2004-04-17 23:29:25 +00:00
Max Khon
a59b7fd5a4
Add 354k and 512k support.
...
Fix quality stats.
Submitted by: Stanislav A Svirid <count@riss-telecom.ru>
2004-04-17 20:30:05 +00:00
Mark Murray
5564b4b984
Add a Davies-Meyer style hash to the output. This is still pure
...
Nehemiah chip, but the work is all done in hardware.
There are three opportunities to add other entropy; the Data
Buffer, the Cipher's IV and the Cipher's key. A future commit
will exploit these opportunities.
2004-04-17 19:26:53 +00:00
Mark Murray
fa2d865bad
More removal of the abortive locking code; malloc buffers when
...
needed, rather than potentially reusing contents.
2004-04-17 19:23:15 +00:00
Max Khon
ca813d2986
sendmail_submit_enable and sendmail_outbound_enable checks were reverted.
...
Found by: Morten Rodal <morten@rodal.no>
2004-04-17 19:09:09 +00:00
Pierre Beyssac
bc5cfff933
Check -s option source address for validity.
...
PR: bin/29026
MFC after: 1 week
2004-04-17 18:44:23 +00:00
Hiroki Sato
4f31891e2d
Back out a change (s/IPsec/IPSec/) in rev.1.716->1.717.
...
Pointed out by: simon
Pointy hat to: hrs
2004-04-17 18:31:25 +00:00
Hiroki Sato
03bc51933c
Fix some typos:
...
s/IPsec/IPSec/
s/ids/IDs/
s/didn't/did not/
2004-04-17 17:38:47 +00:00
Hiroki Sato
7ec6fe05c9
Sort entries in alphabetical order.
2004-04-17 17:35:18 +00:00
Hiroki Sato
0f1d46e2fa
New release note:
...
ng_hub(4) added, and
less-381 import.
2004-04-17 17:26:47 +00:00