Commit Graph

161146 Commits

Author SHA1 Message Date
ad
9dab7d5077 gettimeofday() doesn't need locks, and MySQL seems to make heavy use of it. 2007-08-07 09:46:24 +00:00
pooka
140d9a0ccb offset orgies, part n+1. this is still not right, but at least it's better 2007-08-07 09:03:43 +00:00
apb
46427a7162 Regen after recent changes to configure.ac and compat_defs.h.
(Most of the changes seem to result from somebody having used
non-tools versions of autoconf and autoheader in the past.)
2007-08-07 08:29:15 +00:00
apb
a7b292d021 Update the instructions to say that regen should be done again
to pick up changed RCS IDs.
2007-08-07 08:27:41 +00:00
apb
0da2db6cd1 Provide definitions for {be,le}{16,32,64}{enc,dec} if necessary.
This is adapted from the very detailed fix provided by
Giles Lean in PR bin/36678.

Only one simplified implementation is provided, instead of the
two implementations conditional on __GNUC_PREREQ__(2,95) that are
provided in NetBSD's <sys/endian.h>.  The use of memcpy instead of
__builtin__memcpy, and the absence of __inline or __unused, should make
it independent of GCC.
2007-08-07 08:22:04 +00:00
simonb
7bfbbfe3f5 Unwrap not-too-long line. 2007-08-07 08:00:46 +00:00
simonb
2e290a73eb Fix a tyop. 2007-08-07 07:48:57 +00:00
apb
581beaff5e More detailed instructions for what to do when editing configure.ac.
In particular, discourage the use of non-tools versions of
autoconf and autoheader.
2007-08-07 07:47:50 +00:00
dyoung
3aa180f03a As a stopgap measure to avoid dependency on net/if.h, don't use
IFNAMSIZ.
2007-08-07 04:59:46 +00:00
dyoung
178f1dafa8 Use satocsdl() instead of SDL(). Constify. 2007-08-07 04:42:49 +00:00
dyoung
97ecf3fcfd Constify. bcopy -> memcpy. 2007-08-07 04:41:46 +00:00
dyoung
9ca94f6e09 Use satocsdl() instead of SDL(). 2007-08-07 04:41:15 +00:00
dyoung
846a5ed688 Use satocsdl() instead of SDL(). bcopy -> memcpy. 2007-08-07 04:39:34 +00:00
dyoung
e3b7db6399 Constify. 2007-08-07 04:37:44 +00:00
dyoung
0640a03023 Use satocsdl() et cetera instead of SDL(). Constify. 2007-08-07 04:37:04 +00:00
dyoung
27de48611a Avoid writing past the end of the buffer [lldst, lldst + dstsize)
in nd6_storelladdr().

Use sockaddr_dl_setaddr().  Constify some sockaddr_dl's.  Constify
a sockaddr argument to nd6_na_output().  Change SDL() to "standard"
satocsdl() or satosdl().  Change SIN6() to satocsin6() or satosin6().

bcmp -> memcmp, bcopy -> memcpy.
2007-08-07 04:35:42 +00:00
manu
1c79bc103b src/racoon/isakmp_xauth.c: Don't mix up RADIUS authentication and
authorization ports. Allow interoperability with freeradius
2007-08-07 04:35:01 +00:00
dyoung
59d43281b6 Use sockaddr_dl_measure() and sockaddr_dl_init(). Erase unnecessary
cast.
2007-08-07 04:27:44 +00:00
dyoung
1cf606d23a In if_alloc_sadl(), use sockaddr_dl_init() and satocsdl(). Introduce
variable 'mask' for the netmask, and use it instead of assigning
to 'sdl' twice.

In ifa_ifwithnet(), use satocsdl().
2007-08-07 04:14:37 +00:00
dyoung
0fd349cafc Replace SDL() and SIN() with "standard" macros satocsdl() and
satocsin().
2007-08-07 04:09:42 +00:00
dyoung
04d14f227e Lengthen sockaddr_dl so that a 16-byte FireWire address will fit
into sdl_data[].

Move the macro satocsdl() to net/if_dl.h, and introduce satosdl().

Add some helpers for initializing sockaddr_dl (sockaddr_dl_init),
for finding out the length to put in a sockaddr_dl's sdl_len member
(sockaddr_dl_measure), and for setting the link-layer address in
a sockaddr_dl to a new value (sockaddr_dl_setaddr).

Make sockaddr_copy() panic if the caller tries to copy a sockaddr
to a destination where it will not fit.
2007-08-07 04:06:20 +00:00
dyoung
d406df3438 Remove dead code. 2007-08-07 02:17:21 +00:00
macallan
23f9222c11 if we can't determine the console framebuffer's depth assume it's 8bit
Mainly for /chaos/control which doesn't have any useful properties on its node
2007-08-07 01:59:23 +00:00
markd
61e7261669 Disable firmware fastboot on 5754 and 5755. From FreeBSD by way of Phil
Nelson.
2007-08-07 01:13:56 +00:00
wiz
deb6da4b83 Add macros for FreeBSD 6.3 and libarchive. 2007-08-06 23:38:49 +00:00
rumble
1e80c150c7 Fix a parenthesis bug that would nearly always make the superblock magic
check evaluate to true.
2007-08-06 23:25:27 +00:00
martin
017fd74243 Some serverworks mainboards use this power management too 2007-08-06 22:41:22 +00:00
martin
3ca9dd4482 regen 2007-08-06 22:40:07 +00:00
martin
6f1cb9f4b5 Add a serverworks south bridge 2007-08-06 22:39:31 +00:00
pooka
edacb82013 We can use UBC here by default now. 2007-08-06 22:22:40 +00:00
pooka
a92a4f649f Allow to de/register pathnames which should be faked as block
devices instead of faking all non-blks as blks in namei().
2007-08-06 22:20:57 +00:00
adrianp
475217d719 Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
2007-08-06 21:26:53 +00:00
hubertf
40d7c22ae8 wtf(6): Search pkgsrc's help database when ran inside a package
directory. [hubertf 20070806]
2007-08-06 21:16:04 +00:00
hubertf
e5fa46c791 Teach wtf(6) about pkgsrc's help facility:
% cd /usr/pkgsrc/audio/qsynth
% wtf subst
subst: ===> mk/subst.mk:
# This Makefile fragment implements a general text replacement facility.
...
2007-08-06 21:14:36 +00:00
pooka
31d16d310e Make VFS_SYNC always succeed instead of always fail.
Fixes non-forced unmount.
2007-08-06 21:10:24 +00:00
pooka
a207f90686 add quick explanation of directory structure per Hubert's request 2007-08-06 21:03:12 +00:00
pooka
01c3dea5a1 Instead of going for a PAGE_SIZE nuke, do getpages() in a more
sniper style.  Makes efs (& other file systems with bsize < PAGE_SIZE)
work better.
2007-08-06 20:46:28 +00:00
oster
761dfd3017 Talk a bit more about how the size of a RAID set is determined, and
of RF_PROTECTED_SECTORS.  Requested by (and with comments from and
thanks to) Christoph (bad@).
2007-08-06 19:44:16 +00:00
pooka
3fbf89c648 Initialize size of outsize-of-fs device vnodes also, since they
can migrate to file systems due to checkalias() and cause KASSERT
panics.

fixes nfsroot panic reported by martin
2007-08-06 17:09:11 +00:00
pooka
544155dcc3 implement uvm_vnp_zerorange() 2007-08-06 16:09:33 +00:00
pooka
0ed76b1676 When resizing a node, first drop extra pages and zero tail, and only
then set the new size.  Otherwise zerolen will always be, well, 0.
2007-08-06 16:08:55 +00:00
joerg
083d4d7e1b Note update of libarchive-2.2.6. 2007-08-06 12:34:13 +00:00
joerg
b4d8fb4e3e Update to libarchive-2.2.6. 2007-08-06 12:31:16 +00:00
markd
77f857eea3 Add support for BCM5755 and BCM5754/5787. Suggestions from Jonathan
Stone and fixes from OpenBSD for various hardware bugs/errata.
2007-08-06 12:29:36 +00:00
joerg
64a91fda89 Import libarchive-2.2.6 2007-08-06 12:25:33 +00:00
markd
bc048f7d7a Add a couple more BGE_CHIPIDs 2007-08-06 12:23:08 +00:00
markd
908b67c316 Add support for BCM5754 and BCM5755. From suggestions from Jonathan
Stone.
2007-08-06 12:16:33 +00:00
markd
cd8e0b4a5a Regen for BCM5755 and 5754. 2007-08-06 12:09:26 +00:00
markd
a4e4eb39dc Add BCM5755 and 5754 Gig-E PHYs. 2007-08-06 12:07:00 +00:00
yamt
9c0f7c2a93 nfs_inactive: turn a panic into a printf for now, as it isn't critical.
PR/36572 from Martin Husemann.
2007-08-06 11:55:08 +00:00