summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me...
2003-10-03Bring several fixes from FreeBSD to our current pipe implementation:Miod Vallat
- when allocating or growing a pipe buffer is not possible, do not panic but report the error and handle it correctly. (1.73) - "The pipe_write() code was locking the pipe without busying it first in certain cases, and a close() by another process could potentially rip the pipe out from under the (blocked) locking operation." (from Al Viro, 1.81) - "Remove test in pipe_write() which causes write(2) to return EAGAIN on a non-blocking pipe in cases where select(2) returns the file descriptor as ready for write. This in turns causes libc_r, for one, to busy wait in such cases. Note: it is a quick performance fix, a more complex fix might be required in case this turns out to have unexpected side effects." (1.141)
2003-10-03correct hash for EXAMPLES, plus some typos;Jason McIntyre
from er, Charlie Root (PR 3506)
2003-10-02Cardbus -> CardBus to match the rest.Federico G. Schwindt
2003-10-02typo; from tom.cosgrove at arches-consulting dot com. PR/3504.Federico G. Schwindt
2003-10-02clean up p = realloc(pRyan Thomas McBride
ok deraadt@ henning@
2003-10-02chroot handling for SSLCertificateChainFile, problem found and fix tested byHenning Brauer
Sandor Palfy <netchan@cotse.net>
2003-10-02Upon invoking the freshly loaded binary, populate registers via embedded asmMiod Vallat
statements, and be sure of what we get, rather than use "hinted" register local variables; bugcrt can now be compiled with compiler optimization enabled.
2003-10-02print openssl version, too, several requests; ok henning/djm.Markus Friedl
2003-10-02Fix some DAE processing logic - the kernel would incorrectly end up retryingMiod Vallat
already processed, or unwanted, DAE in certain circumstances by mistake.
2003-10-02Ack external interrupts before reenabling them on 187.Miod Vallat
2003-10-02Round VM_MAX_KERNEL_ADDRESS to a page boundary.Miod Vallat
2003-10-02missing $OpenBSD:; dtuckerMarkus Friedl
2003-10-02do not try to send incomplete fragments on ENOBUFS caseJun-ichiro itojun Hagino
(behavior change from 4.4bsd). dhartmei ok
2003-10-02correct endian handling of ip->ip_off.Jun-ichiro itojun Hagino
do not try to send incomplete fragments on ENOBUFS case (behavior change from 4.4bsd). dhartmei ok
2003-10-02use err/warn instead of fprintf/exitMichael Shalayeff
2003-10-02style sync w/ kameJun-ichiro itojun Hagino
2003-10-02Sync with pfvar.hRyan Thomas McBride
2003-10-02two minor fixes. set errno on recursive calls. ENOMEM suggested by marc@.Ted Unangst
lock before setting malloc_func, not after. ok cloder@ deraadt@
2003-10-01it turned that only adding the cardbus part was not enough to haveFederico G. Schwindt
D-Link DFE690 working. add the missing bits here. from Joshua Johnson <joshua.johnson at charter dot net>.
2003-10-01Unused bits.Miod Vallat
2003-10-01There is no point in chown/chmod outside the install target.Miod Vallat
2003-10-01Do not include mount_nfs on sparc bsd.rd and floppies, as they are missingMiod Vallat
NFS support ; however, miniroot has proper NFS support. ok deraadt@ some time ago
2003-10-01Really enable upgrades on hppa install media.Miod Vallat
2003-10-01use random number generator to generate IPv6 fragment ID/flowlabel.Jun-ichiro itojun Hagino
cleanup IPv6 flowlabel handling. deraadt ok
2003-10-01correct m_cat misuse. i remember it was ok'ed by someone but don't remember ↵Jun-ichiro itojun Hagino
who...
2003-10-01Fix stack leak into pfloghdr (the pad field is not initialized),Can Erkin Acar
which ends up in the pflog pcap file. From dhartmei@ ok dhartmei@, frantzen@, henning@
2003-10-01Compile kernel and bootblocks with -mmemcpy, to get rid of libgcc dependancy.Miod Vallat
Also, honor default compilation options in stand/ whenever possible. This requires an up-to-date compiler, but it's not exactly like many people are going to be affected by this change...
2003-10-01Introduce a new target switch, -mmemcpy (and -mno-memcpy).Miod Vallat
This switch forces block copy operations to always fallback to memcpy() when it is not done by inline load and stores, rather than using the m88k movstr* functions found in libgcc. The name of this option has been choosen after the mips back end, which has a similar option. Right now, this is a no-op since these functions are disabled due to (yet) another gcc bug; but this will help building standalone code, such as the kernel and boot blocks, without having to link against libgcc.
2003-10-01Directly invoke the sysctl system call, rather than going through the sysctl(3)Miod Vallat
wrapper. ok deraadt@ millert@
2003-10-01Don't use the contents of ~/.signature for the Organization field.Todd C. Miller
Closes PR 3499; deraadt@ OK
2003-10-01Document new transaction IOCTLs, remove old ones.Cedric Berger
Ok jmc@ mcbride@
2003-10-01typo; ok jmc@Alexander Yurchenko
2003-10-01There were a couple of mistakes in the "installing from solaris" sectionMiod Vallat
reported on sparc@.
2003-10-01poll fixes from Niels; ok deraadtMarkus Friedl
2003-10-01oops, didn't change the Makefile.Jason McIntyre
add MLINKS to compress.3. rescued by deraadt@
2003-10-01.Xr compress 3 and a typo;Jason McIntyre
2003-10-01- rename zlib(3) -> compress(3) so the name describes a function which exists;Jason McIntyre
- .Xr compress 1 requested by deraadt@
2003-10-01tweak;Jason McIntyre
ok otto@
2003-10-01use the same amount of indent for the action fields in the example conf;Jason McIntyre
2003-10-01- note that sysctl(8) is necessary for emulJason McIntyre
- .Xr chroot 2
2003-10-01updates and corrections to the references in SEE ALSO;Jason McIntyre
mostly from tjr@freebsd's rev. 1.14 commit.
2003-10-01note that for user mounts special should be -rw user, and node owned by user;Jason McIntyre
from a thread on misc@ ok tedu@
2003-10-01listen to bodh IPv4/v6 ftp port on -D by default. deraadt ok.Jun-ichiro itojun Hagino
comments from markus, millert. tested by fries
2003-10-01out-of-bound memory access. deraadt okJun-ichiro itojun Hagino
2003-10-01handle failed strdup; reported by jjy2+@pitt.eduTheo de Raadt
2003-10-01fix typo; jjy2+@pitt.eduTheo de Raadt
2003-10-01free without testTheo de Raadt
2003-10-01Fix off-by-one.Chad Loder
OK jason@, henric@
2003-10-01Correct off-by-one.Chad Loder
OK deraadt@