summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-12-15Correct define.Federico G. Schwindt
From Simon Perreault <simon dot perreault at viagenie dot ca> via tech@
2009-12-15mono ouputs shouldn't be candidates for exclusive inclusion in theJacob Meuser
outputs.master.slaves group. lets outputs.master by default control more than just the internal speaker on some Dell desktops.
2009-12-15tweak previous;Jason McIntyre
2009-12-15Remove an untrue statement about the packetsize beingMarco Pfatschbacher
8 bytes smaller when a raw socket is used. OK jmc, deraadt.
2009-12-15Let ping handle truncated echo replies.Marco Pfatschbacher
Instead of a false data mismatch report, we now print (TRUNC!). This also fixes two out of bounds accesses. The "wrong data byte #XXX" counter was also wrong and off by 8 bytes. OK djm@ on an earlier version, OK deraadt@.
2009-12-15- instead of rolling a macro that is functional equivalent to nitems(),Jasper Lievisse Adriaanse
just use nitems(). (this leaves NENTS() alone for now) ok deraadt@ krw@
2009-12-15fix XrTheo de Raadt
2009-12-15Document vsw(4).Mark Kettenis
2009-12-15Add vsw(4).Mark Kettenis
2009-12-15No point in refreshing the pid from inside arc4_stir() when thatPhilip Guenthe
doesn't test it, so factor out the two places that test it into a routine and do the refreshing there. With this, arch4random_buf() doesn't trigger superfluous calls to getpid() when filling large buffers. ok deraadt@, "looks nicer indeed" otto@
2009-12-15back out previous fix, apparently neither art or i can fix anything right on ↵Bob Beck
the first try vgone doesn't work in other cases of this. I must fix this slightly differntly
2009-12-15This fixes a case where we could panic on a null deref with a bad vnodeBob Beck
in nfs_inactive, on a reboot. The core of the problem was in nfs_nget, when we lose the race to put a new nfsnode in the tree, we have previously allocated a vnode, which getnewvnode has done an insmntque into the nfs mp's mntlist. The problem being we then try again with a new vnode, abandoning this one on the mntlist, leaving junk there for us to die on when we unmount. analysis and bogus fix by art@, correct fix by me. much painful testing by krw@ ok oga@, art@
2009-12-15Make sillyrename not so damn silly. The kindergarten algorithm here forBob Beck
picking a name meant that more than 58 sillys in a directory and we fail with EINVAL, resulting in strange problems for nfs which in turn causes pain and stress in building, and PTSD in nfs and vfs hackers. Has bit us in the butt since the vienna f2k7 hackathon. good suggestions from deraadt@ guenther@ and otto@ ok deraadt@,oga@,blambert@,krw@,guenther@, and a "very special ok" tedu@ Oh god, I'm an nfs hacker..
2009-12-15Allow auto assemble flag to be toggled for disciplines that support it.Joel Sing
"Love it!" marco@
2009-12-15Ensure that the interface is valid before trying to access its flags.Joel Sing
ok claudio@
2009-12-15Ansify function declarations.Joel Sing
ok claudio@
2009-12-15Factor out discipline specific create/assemble code.Joel Sing
"in, in, in!" marco@
2009-12-15dumped is _still_ spelled with one p and not twoAlexander Hall
ok krw@
2009-12-15Explicitly lock the vnode when deleting a volume. This avoids a potentialJoel Sing
panic that is caused by vnode aliasing, where checkalias() switches the vnode ops for our vnode. This means that we end up using ufs unlocking rather than specfs unlocking (which is a no-op). ok marco@
2009-12-15Simplify SSL code client-side, no functional change.Jacek Masiulaniec
2009-12-15Ensure that the interface is not null before trying to access its flags.Joel Sing
Fixes PR6274. ok claudio@
2009-12-15fix some buffer sizes.Edd Barrett
put () around all sizeof uses. OK ratchov@
2009-12-15spelling fixes, from Brad Tilley;Jason McIntyre
2009-12-15syncStuart Henderson
2009-12-15Add PCI ids for the Marvell Yukon 8059 chipset and the SysKonnectStuart Henderson
SK-9E21M board. From Brad.
2009-12-15typo; from Brad Tilley <brad at 16systems dot com> via tech@Ingo Schwarze
2009-12-15Must aim better.Jacek Masiulaniec
2009-12-14Keep all bits of __svc_fdset up to date, not just those beyond FD_SETSIZE.Ingo Schwarze
Bug found while auditing the same complaint by parfait, see the previous commit; still not shutting parfait up. "wow, that's nasty" deraadt@
2009-12-14Handle 6yz code as permanent error.Jacek Masiulaniec
2009-12-14Sanitize the code that resets the state when the LDC channel link stateMark Kettenis
changes. Don't initiate the handshake when the LDC channel link state comes up, to avoid a race where both sides initiate the handshake simultaniously, which leads to a guaranteed failure. Instead rely on the handshake done as a result of ifconfig up on the interface to succeed. Some retry logic may be needed there... This makes it possible to run OpenBSD (diskless) in a guest domain on a machine running OpenBSD in its control domain.
2009-12-14Add a dummy I915_PARAM_NUM_FENCES_AVAIL parameter for Mesa 7.5.Matthieu Herrb
ok oga@ during h2k9.
2009-12-14Just like dhclient(8), we use the bpf filter drop to preventMarco Pfatschbacher
us from sending an icmp error along with the dhcp reply. OK henning@
2009-12-14Pass through the aixterm bright colours if the terminal supports them (>= 16Nicholas Marriott
colours).
2009-12-14Fix "cvs [update aborted]: out of memory; can not reallocate 5242880 bytes"Stefan Sperling
when checking out xenocara from a server running OpenBSD/amd64. While processing RCS deltas, don't allocate twice as much memory as needed when copying a line vector to a vector which has less lines. Also, when switching back from a branch to trunk while searching an RCS file for a revision, free the trunklines vector immediately after lines saved in it have been copied back into the currentlines vector. Somehow, these two changes together make the problem go away. ok tobias@, "this has been a serious annoyance" sthen@, "sure" deraadt@
2009-12-14Fix previous commit. I left out a small fragment and accidentally committedMark Kettenis
a change we're not readdy for yet.
2009-12-14Support for in-band descriptor mode (VIO_DESC_MODE) used by OBP.Mark Kettenis
2009-12-14Make sure interrupts are disabled when we don't have queues configured. ThisMark Kettenis
prevents interrupt storms I'm hitting when running OpenBSD as a control domain.
2009-12-14Tweak the logic behind setting the fd limits so that smtpd is less likelyJacek Masiulaniec
to get upset by custom soft/hard ulimit settings. Suggested by todd@
2009-12-14Set initial session limit so that IMSG_SMTP_ENQUEUE can be satisfied evenJacek Masiulaniec
in absence of all other real listening sockets. Spotted by todd@
2009-12-14could write one word too far, found by parfait; ok millertTheo de Raadt
2009-12-14wrote one byte too far, found by parfait; ok beck millertTheo de Raadt
2009-12-14use warn() and warnx() instead of incorrect stderr printing.Theo de Raadt
get rid of EX_* since ifconfig(8) is not sysexits program. discussed with claudio
2009-12-14Control maximum number of bounce sessions similarly to how the mta and mdaJacek Masiulaniec
are now controlled.
2009-12-14Clear S_MESSAGE_PERMFAILURE when creating the bounce message. Makes theJacek Masiulaniec
bounce mails visible in mailq output.
2009-12-14since some packages in updatesets don't need updates, be explicit about it.Marc Espie
This is more complex and simpler at the same time...
2009-12-14addr2sa() will return NULL for AID_UNSPEC and pfkey_send() may end up withClaudio Jeker
one of the src/dst addrs as AID_UNSPEC. So we need to check for NULL before copying. Fixes a crash seen with tcp-md5 enabled peers.
2009-12-14make ifconfig return with failure of bridge_rule; ok claudioTheo de Raadt
2009-12-14use strtonum() instead of atoi(). idea from Vladimir Kirillov, but hadTheo de Raadt
to rewrite it because it was another mangled diff in mail. When will people learn that the tabs and spaces are important?
2009-12-14Impose sessions limit on the delivery sessions (mta and mda).Jacek Masiulaniec
2009-12-14Fix buffer overflow possibility, noticed by parfait:Bob Beck
Buffer overflow (CWE 120): In memcpy of msg.msg with length 'size' Array size is 2048 bytes, size <= 2080 at line 317 of /usr/src/usr.sbin/afs/src/arlad/nnpfs.c in function 'nnpf s_send_message_wakeup_data'. tesing by todd@ and jj@ and me