summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge some OpenBSD/NetBSD fixes to the recent MPPE/CHAP0x81 update.brian2000-11-052-1/+30
|
* Fix potential problem processing jobs from hosts with >32 character hostnames.gad2000-11-051-3/+6
| | | | This may fix a problem reported by Juha Ylitalo <juha.o.ylitalo@nokia.com>
* Fix 'lprm' processing so is more likely to work correctly when dealinggad2000-11-051-1/+1
| | | | | | | with long (>32 character) hostnames. PR: 14978 Submitted by: Tatsuya Kudoh <cdr@cosmonet.org>
* Fix breakage for parallel builds.marcel2000-11-051-0/+1
|
* In the error-message routine for receiving a job, move the "cleanup" to begad2000-11-051-2/+17
| | | | | | | after the error message is printed, because the error message may refer to variables the "cleanup" routine will zero out. PR: 21007
* Always emply the NCO to attenuate jitter. The Receive clock recoveryphk2000-11-041-13/+12
| | | | | | | | | | | circuit generates too much jitter to be used directly as xmit clock. Don't miscount pending bytes in weird error conditions. Drop the rest of a packet if we run out of tx-md's. Trig the xmit-frame signal on rising edge, this fixed the one-bit-too-late position of the HDLC frames in E1 mode.
* This commit was generated by cvs2svn to compensate for changes in r68332,kris2000-11-041-7/+19
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import vendor fix for insecure temporary filename creation with thekris2000-11-041-7/+19
| | | | | | | | '<<' operator, reported on bugtraq by proton <proton@ENERGYMECH.NET>
* | Change the sf_bufs wakeups to be wakeup_one(), because we don't want tobmilekic2000-11-041-4/+5
| | | | | | | | | | | | | | | | | | wakeup all of the sleeping threads when we free only one buffer. This avoids us having to needlessly try again (and fail, and go back to sleep) for all the threads sleeping. We will now only wakeup the thread we know will succeed. Reviewed by: green
* | Our SHRT_MIN definition was actually 4 bits too big.obrien2000-11-044-4/+4
| | | | | | | | Submitted by: Bradley T. Hughes <bhughes@trolltech.com>
* | * Consistently use the `make_resolv_conf' function.obrien2000-11-041-13/+7
| | | | | | | | | | | | | | * Better handling of the 127.0.0.1 route. * Minor style tweak to reduce diffs from v3 script and ours. Obtained from: ISC v3 client script
* | This commit was generated by cvs2svn to compensate for changes in r68325,obrien2000-11-042-4/+8
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Import Patchlevel 5 of the ISC 2.0 dhcp client plus bug fixes from theobrien2000-11-042-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | beta ISC DHCP version 3 offering. In message http://www.isc.org/ml-archives/dhcp-client/2000/10/msg00001.html author Ted Lemon stated "This will not be fixed in any 2.0 release - 2.0 is no longer being maintained." to a reported problem about an interoperability problem against Microsoft servers. FreeBSD went with the ISC client vs. the WIDE client because others convinced me it was better supported. Sigh. I wonder if version 3 will get the same treatment after its release... Since FreeBSD generally uses only released contrib products and the ISC version 3 offering is still in beta, our backs are up against the wall. The common/options.c rev 1.65 work around for erroneous Microsoft DHCP servers has been back ported to the version 2.0pl5 client. Since this comes from a change in the vendor's own code (and would no doubt also be committed to the version 2 client if the author were still supporting it), we will consider this a vendor release and import this as such. PR: 21658 Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
* | | Fix conflicts.obrien2000-11-041-1/+1
| | |
* | | This commit was generated by cvs2svn to compensate for changes in r68320,obrien2000-11-043-7/+19
|\ \ \ | |/ / | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Import Patchlevel 5 of the ISC 2.0 dhcp client.obrien2000-11-044-9/+21
| | |
| * | Vendor approved fix where with some CIDR subnets, dhclient would set theobrien2000-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | broadcast address to the [sub]net address. Approved by: Ted Lemon <mellon@nominum.com> Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
* | | tp->snd_recover is part of the New Reno recovery algorithm, and shouldjlemon2000-11-042-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only be checked if the system is currently performing New Reno style fast recovery. However, this value was being checked regardless of the NR state, with the end result being that the congestion window was never opened. Change the logic to check t_dupack instead; the only code path that allows it to be nonzero at this point is NewReno, so if it is nonzero, we are in fast recovery mode and should not touch the congestion window. Tested by: phk
* | | Added used include of <machine/bus.h> -- don't depend on evil namespacebde2000-11-042-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | pollution in <sys/mutex.h>. This was half fixed in rev.1.3 of midwayreg.h. The pollution exposed the bug that this driver was using toy versions of the bus space macros under FreeBSD. Disabling the toy versions made this driver compile but dependent on the pollution. There was still a toy version of bus_space_read_1() in unreachable code.
* | | Enabled the used include of <machine/bus.h> -- don't depend on evilbde2000-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | namespace pollution in <sys/mutex.h>. This was half fixed in rev.1.3 of midwayreg.h. The pollution exposed the bug that this driver was using toy versions of the bus space macros under FreeBSD. Disabling the toy versions made this driver compile and maybe support PIO space, but dependent on the pollution.
* | | Make compilable. if_fddisubr.c depended on sys/malloc.h by myume2000-11-041-0/+1
| | | | | | | | | | | | | | | | | | previous commit. Reported by: Jim Bryant <jbryant@A010-0935.KSCY.splitrock.net>
* | | Support a.out: avoid (%dx) in in/out instructions, and use an m4rnordier2000-11-045-11/+34
| | | | | | | | | | | | macro to supply underscores for externals.
* | | Add support for creating a.out output files in addition to ELF.rnordier2000-11-048-28/+224
| | | | | | | | | | | | | | | | | | This allows booting from compressed binaries using older bootstraps. Thanks to: dwmalone
* | | MF4: Add LOADER_TFTP_SUPPORT make.conf flag.ps2000-11-043-1/+16
| | |
* | | Fixed breakage of mknod() in rev.1.48 of ext2_vnops.c and rev.1.126 ofbde2000-11-043-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ufs_vnops.c: 1) i_ino was confused with i_number, so the inode number passed to VFS_VGET() was usually wrong (usually 0U). 2) ip was dereferenced after vgone() freed it, so the inode number passed to VFS_VGET() was sometimes not even wrong. Bug (1) was usually fatal in ext2_mknod(), since ext2fs doesn't have space for inode 0 on the disk; ino_to_fsba() subtracts 1 from the inode number, so inode number 0U gives a way out of bounds array index. Bug(1) was usually harmless in ufs_mknod(); ino_to_fsba() doesn't subtract 1, and VFS_VGET() reads suitable garbage (all 0's?) from the disk for the invalid inode number 0U; ufs_mknod() returns a wrong vnode, but most callers just vput() it; the correct vnode is eventually obtained by an implicit VFS_VGET() just like it used to be. Bug (2) usually doesn't happen.
* | | use ``config auto "ata" ?'' for DHU Mobile Media CD-ROMsanpei2000-11-041-1/+1
| | | | | | | | | | | | | | | Submitted by: Motonobu KOBAYASHI <kobayashimo@nttdocomo.co.jp> [bsd-nomads:14777]
* | | Now have the `linux' module on the Alpha too.obrien2000-11-041-2/+2
| | |
* | | Fix generated include path.obrien2000-11-041-1/+1
| | | | | | | | | | | | Approved by: JKH
* | | Setup and put to use the mutex lock for sf_freelist, the sendfile(2) bufsbmilekic2000-11-041-9/+18
| | | | | | | | | | | | | | | | | | | | | freelist. Should now be thread-friendly, in part. Note: More work is needed in uipc_syscalls.c, but it will have to wait until the socket locking issues are at least 80% implemented and committed.
* | | Fix the Elf64 branding initialization.obrien2000-11-041-0/+2
| | |
* | | Grammar fixgshapiro2000-11-041-1/+1
| | | | | | | | | | | | Submitted by: asmodai
* | | v_interlock is a mutex now, not simple lock.bp2000-11-042-2/+2
| | |
* | | Fix a problem with the previous revision (1.42) that showed up with audioken2000-11-041-0/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CDs. With audio CDs, you can't just do a READ(10) call on most drives without first setting the blocksize with a mode select command. The disklabel code does a read of the first sector of the media to find a label if it exists. This caused drives to return an error when an audio CD was in the drive, due to the problem described above. The solution is to read the table of contents on the CD, and only attempt to read the disklabel if the first track is a data track. This works on all the various CD and DVD media I have tried, but further testing (especially with Video CDs and other mode 2 media) will be needed to determine if this is a universal solution.
* | | Fix another possible bufer overflow in top.imp2000-11-031-1/+1
| | | | | | | | | | | | PR: bin/22496
* | | Fix breakage on some ATA chips that dont have busmastering set.sos2000-11-031-45/+30
| | | | | | | | | | | | Tidy up the probe a bit..
* | | Support filesystems with the not-so-new "sparse_superblocks" feature.bde2000-11-038-30/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When this feature is enabled, mke2fs doesn't necessarily allocate a super block and its associated descriptor blocks for every group. The (non-)allocations are reflected in the block bitmap. Since the filesystem code doesn't write to these blocks except for the first superblock, all it has to do to support them is to not count them in ext2_statfs() and not attempt to check them at mount time in ext2_check_blocks_bitmap() (the check has never been enabled in FreeBSD anyway).
* | | If we can't get a command to back the bio we just took off the queue,msmith2000-11-031-1/+3
| | | | | | | | | | | | | | | put the bio back, otherwise we'll drop it when we bail. This was causing bio lossage under load, leading to eventual system lockup.
* | | Crunchgen now has the necessary magic to include the make hooks thatjoe2000-11-032-33/+2
| | | | | | | | | | | | munge_crunchmk was adding for us.
* | | Cause prog_make targets to include a ``make obj'' rule if the -o flagjoe2000-11-032-6/+13
| | | | | | | | | | | | | | | is given to crunchgen. [ This fixes the previous commit which silently added ``make obj'' ]
* | | A missing feature of crunchgen was the ability to supply make options onjoe2000-11-031-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a per program basis. This has now been added in the following way: * Harness the make header file that's specified with the -h argument: - Allow the user to define $(OPTS) to specify make arguments that should be added to every program target. - Allow the user to define $(prog_OPTS) to specify make arguments that should just be added to the build of 'prog'. * Make sure that $(OPTS) and $(prog_OPTS) are defined when looking through each program's make file to determine which object files to crunch. * When building the crunchgen makefile add $(OPTS) and $(prog_OPTS) to the depend and build rules for $(prog_OBJS).
* | | Regen.n_hibma2000-11-032-4/+4
| | |
* | | Sone -> Sonyn_hibma2000-11-031-1/+1
| | | | | | | | | | | | Submitted by: Hiroyuki Aizu <aizu@jaist.ac.jp>
* | | Update ports count to "over 4000"jkh2000-11-032-2/+2
| | |
* | | Try to catchup with my UPDATING backlog:imp2000-11-031-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | o cvs 1.11 o /dev/random o sendmail o password default change Please look at these entries and let me know if I've forgotten anything, or if my understanding doesn't match reality.
* | | check whether the packet is tunnel mode. reported from <larse@ISI.EDU>ume2000-11-031-0/+4
| | | | | | | | | | | | Obtained from: KAME
* | | This update gets it so 'lpr -r' ("remove the file after printing") willgad2000-11-031-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | try to move the file from the source to the destination (spool) directory. If that succeeds, much time and disk-space will be saved by doing that instead of copying the entire file only to remove the original. This could be a big win on machines doing samba-service or CAP-based printing. Note that this is about the fourth or fifth iteration of the patch, after trying to address all possible security implications of the change. PR: 16124 Reviewed by: freebsd-current or freebsd-hackers (some time ago)
* | | Stick the Xircom 10/100 Network PC Card adapter entry in the right sortjhb2000-11-031-6/+6
| | | | | | | | | | | | | | | | | | order. Requested by: sanpei
* | | Fold the buildopts into the existing crunch.inc file.joe2000-11-0310-23/+88
| | | | | | | | | | | | | | | | | | Deprecate the "global" crunch.inc file and the CRUNCHFLAGS global build options. Tools not policy. Move these global settings out into each picobsd distribution.
* | | Fix an order of operations buglet. ! has higher precedence than &. Thisjhb2000-11-031-1/+1
| | | | | | | | | | | | should fix the warnings about bpf not calling make_dev().
* | | Create a pcn_setfilt() routine that twiddles the promiscuous modewpaul2000-11-031-17/+29
| | | | | | | | | | | | | | | | | | and nobroadcast bits in the mode register and call it both from pcn_init() and pcn_ioctl(). Sometimes we need to force the state of the nobroadcast bit after switching out of promisc mode.
OpenPOWER on IntegriCloud