Commit Graph

160981 Commits

Author SHA1 Message Date
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
yamt 261e7c1e79 remove a homegrown definition of CPU_INFO_FOREACH. 2007-08-06 11:51:46 +00:00
yamt 954298e279 suspendsched: reduce #ifdef. 2007-08-06 11:48:23 +00:00
yamt e42cf10955 sosetopt: clear SB_AUTOSIZE when setting buffer size explicitly. 2007-08-06 11:41:52 +00:00
kiyohara f668ef5a16 Add support agp_amd64. Imported from FreeBSD. 2007-08-06 06:40:41 +00:00
lukem 394f30e855 reorder location of "-s srcaddr" in synopsis 2007-08-06 04:42:13 +00:00
lukem aae621fdad Support MAKEVERBOSE when installing APPDEFS. 2007-08-06 04:25:57 +00:00
lukem cf78066d81 Update version for:
Replace  HAVE_SOCKADDR_SA_LEN  with defined(HAVE_STRUCT_SOCKADDR_SA_LEN
2007-08-06 03:41:14 +00:00
macallan bcf20d1bb5 add keysyms for scrollback support 2007-08-06 03:40:10 +00:00
simonb 3696d5ed67 If an EST frequency table isn't found, fake one up by interpolating
values from the high/low voltages and frequencies.  Replaces the old
method of using the lower and upper frequencies only.
2007-08-06 03:38:49 +00:00
macallan 0e5ca3d77c mention scrollback support in vcons 2007-08-06 03:13:47 +00:00
macallan 75a9d6c832 add scrollback support 2007-08-06 03:11:32 +00:00
macallan bf32d3c292 set the scrollmode flag when entering/leaving scroll mode, send scroll reset
when leaving
2007-08-06 03:07:52 +00:00
macallan 5be5473e91 add keysyms for scroll commands 2007-08-06 03:04:08 +00:00
pooka e60d50b499 note rump 2007-08-05 23:23:11 +00:00
xtraeme 8d2fbe8ac8 The caller of prop_dictionary_externalize is responsible to free the
returned buffer... make it so. Reminded by prop_dictionary(3).
2007-08-05 23:20:44 +00:00