summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix bogus "ffsinfo -c 0" example with "ffsinfo -g 0 -l 4".blackend2004-01-231-1/+2
| | | | | | PR: bin/61472 Submitted by: Alex Popa <razor@ldc.ro> MFC after: 1 week
* Sync with DFBSD v.1.16. Add new codecs IDs, fix some spelling.matk2004-01-231-3/+21
| | | | Approved by: des (interim mentor)
* MFS: Switch from iso-8859-1 to iso-8859-15.ale2004-01-231-3/+3
| | | | Approved by: blackend (mentor)
* Create the OID and tree files while building the modules and the daemonharti2004-01-2320-640/+50
| | | | | | | | instead of creating them by hand and storing them in the CVS tree. Add gensnmptree to the bootstrap tools (it is used to generated these files). This simplifies the update procedure. Submitted by: ru
* Don't panic if there are more than 255 interfaces in the system.ru2004-01-231-1/+2
|
* Allow the socket buffer sizes to be controlled via sysctl(8).ru2004-01-231-0/+4
| | | | MFC after: 3 days
* Remove the MD5_KEY debugging toolphk2004-01-231-33/+0
|
* Update generated files.harti2004-01-233-3/+21
|
* Catch up with import of version 1.5a of bsnmp.harti2004-01-231-1/+2
|
* Catch up with the import of version 1.5a of bsnmp.harti2004-01-231-2/+4
| | | | | Fix the script to insert $FreeBSD$ into the generated file instead of the script's FreeBSD id.
* Style: remove an empty line.harti2004-01-232-2/+0
|
* Remove no longer necessary debug printfsphk2004-01-231-6/+0
|
* This commit was generated by cvs2svn to compensate for changes in r124861,harti2004-01-2353-650/+2122
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of bsnmpd 1.5aharti2004-01-2354-651/+2124
| |
| * This commit was manufactured by cvs2svn to create branch 'VENDOR-bsnmp'.cvs2svn2003-11-101-0/+25
| |
* | Fix breakage in PIO multisector support.sos2004-01-231-1/+0
| |
* | Fix traceroute where [number of hops] * [number of packets per hop] > 255.cperciva2004-01-231-2/+2
| | | | | | | | | | | | PR: misc/61336 Submitted by: Mike Hibler <mike@cs.utah.edu> Approved by: rwatson (mentor)
* | grammarmtm2004-01-231-6/+6
| |
* | Copy comment about caller check from ffs_read to ffs_extread, don'tache2004-01-231-2/+6
| | | | | | | | check for uio_resid < 0 here too.
* | Fix various panic() strings to reflect true function name to allowache2004-01-231-11/+12
| | | | | | | | | | | | easy grep. Small code reorganization to look more logic. Copy ffs_write check from prev. commit to ffs_extwrite.
* | ffs_read:ache2004-01-231-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace wrong check returned EFBIG with EOVERFLOW handling from POSIX: 36708 [EOVERFLOW] The file is a regular file, nbyte is greater than 0, the starting position is before the end-of-file, and the starting position is greater than or equal to the offset maximum established in the open file description associated with fildes. ffs_write: Replace u_int64_t cast with uoff_t cast which is more natural for types used. ffs_write & ffs_read: Remove uio_offset and uio_resid checks for negative values, the caller supposed to do it already. Add comments about it. Reviewed by: bde
* | PR: docs/58586wes2004-01-231-0/+19
| | | | | | | | Submitted by: Chris S.J. Peron <maneo@bsdpro.com>
* | Clarify behaviour of ffsinfo: It appends to outfile withoutcperciva2004-01-231-1/+1
| | | | | | | | | | | | | | | | | | removing any existing contents. PR: bin/61473 Submitted by: Alex Popa <razon@ldc.ro> MFC after: 7 days Approved by: rwatson (mentor)
* | Document fetch(1) environment variables in fetch(1) man page, instead ofwes2004-01-231-12/+108
| | | | | | | | | | | | | | taking lazy users on the arduous journey through SEE ALSO to fetch(3). PR: docs/61759 Submitted by: Christian S.J. Peron <maneo@bsdpro.com>
* | Remove leftover FREE() from changes in rev 1.50.andre2004-01-231-1/+0
| | | | | | | | Noticed by: Jun Kuriyama <kuriyama@imgsrc.co.jp>
* | Unbreak amd64: Rename calls from panic to __panicpeter2004-01-231-3/+3
| |
* | Split the overloaded variable 'win' into two for their specific purposes:andre2004-01-221-21/+22
| | | | | | | | | | | | | | | | recwin and sendwin. This removes a big source of confusion and makes following the code much easier. Reviewed by: sam (mentor) Obtained from: DragonFlyBSD rev 1.6 (hsu)
* | Move the reduction by one of the syncache limit after the zone has beenandre2004-01-221-1/+1
| | | | | | | | | | | | | | allocated. Reviewed by: sam (mentor) Obtained from: DragonFlyBSD rev 1.6 (hsu)
* | Remove an unused variable and put the sockaddr_in6 onto the stack insteadandre2004-01-221-26/+14
| | | | | | | | | | | | | | of malloc'ing it. Reviewed by: sam (mentor) Obtained from: DragonFlyBSD rev 1.6 (hsu)
* | Fix SYNOPSIS of manual page, clustering no-arg options correctly.sheldonh2004-01-222-4/+2
| | | | | | | | Sync usage with manpage.
* | Two fixes for script(1):cperciva2004-01-221-11/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't do tty stuff to stdin if stdin isn't a tty. 2. When running in non-interactive mode, don't select(2) on the standard input. This un-breaks non-interactive portupgrade. PR: bin/59036 [1] PR: bin/56166, bin/57414, ports/57415, ports/60534 [2] MFC after: 7 days Approved by: rwatson (mentor)
* | Serial murderers shouldn't commit suicide. (killall shouldcperciva2004-01-221-0/+4
| | | | | | | | | | | | | | avoid killing itself.) PR: bin/46107 Submitted by: stacey <stacey_@starwhack.net>
* | If we're going to "add path 'fd/*' unhide", it only makescperciva2004-01-221-0/+1
| | | | | | | | | | | | | | sense to "add path fd unhide" first. Requested by: mtm Approved by: rwatson (mentor)
* | Write 100 times for tomorrow:phk2004-01-221-2/+3
| | | | | | | | "Always print time_t as %jd, you never know what width it has"
* | Initialize the (i386) frame pointer when setting up a threaddeischen2004-01-221-1/+4
| | | | | | | | | | | | | | context. Submitted by: Marc Olzheim <marcolz@stack.nl> Tested by: Marc Olzheim <marcolz@stack.nl>
* | Fixed broken logic when parsing double quotes.ru2004-01-221-14/+5
| | | | | | | | | | PR: bin/61673 MFC after: 1 month
* | Catch up with etc/Makefile,v 1.324 -- split "install" and "distribution"ru2004-01-221-18/+13
| | | | | | | | | | | | | | | | | | targets, have "distribution" always install original (as from the release media) files, whether SENDMAIL_MC is set or not. Do error handling the make(1) way. Reviewed by: gshapiro Approved by: gshapiro
* | Fix the PCI attach routine to properly setup the IRQ and port resourcejhb2004-01-221-13/+20
| | | | | | | | | | | | | | | | | | rid's and to deallocate resources if a failure occurs during attach. This patch also fixes the driver to return failure if bus_alloc_resource() for the IRQ fails rather than panic'ing on the next line by passing a NULL resource to bus_setup_intr(). The other attachments already do all this. Submitted by: Jun Su <csujun@263.net>
* | o Implement the pthread_spin_* functions in libthr.mtm2004-01-225-0/+378
| | | | | | | | o Man pages
* | Add missing free() in exception handlers.simokawa2004-01-222-2/+3
| | | | | | | | Reported by: Stanford Metacompilation research group
* | Fix generation of random multicast MAC address.rse2004-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case no real/physical IEEE 802 address is available, both the expired "draft-leach-uuids-guids-01" (section "4. Node IDs when no IEEE 802 network card is available") and RFC 2518 (section "6.4.1 Node Field Generation Without the IEEE 802 Address") recommend (quoted from RFC 2518): "The ideal solution is to obtain a 47 bit cryptographic quality random number, and use it as the low 47 bits of the node ID, with the _most_ significant bit of the first octet of the node ID set to 1. This bit is the unicast/multicast bit, which will never be set in IEEE 802 addresses obtained from network cards; hence, there can never be a conflict between UUIDs generated by machines with and without network cards." Unfortunately, this incorrectly explains how to implement this and the FreeBSD UUID generator code inherited this generation bug from the broken reference code in the standards draft. They should instead specify the "_least_ significant bit of the first octet of the node ID" as the multicast bit in a memory and hexadecimal string representation of a 48-bit IEEE 802 MAC address. This standards bug arised from a false interpretation, as the multicast bit is actually the _most_ significant bit in IEEE 802.3 (Ethernet) _transmission order_ of an IEEE 802 MAC address. The standards authors forgot that the bitwise order of an _octet_ from a MAC address _memory_ and hexadecimal string representation is still always from left (MSB, bit 7) to right (LSB, bit 0). Fortunately, this UUID generation bug could have occurred on systems without any Ethernet NICs only.
* | Only enforce -fno-strict-aliasing for optimization levels thatru2004-01-221-1/+4
| | | | | | | | | | | | imply -fstrict-aliasing. Reviewed by: bde
* | Since id(1) is in /usr, it may not be available until after filesystemmtm2004-01-221-1/+3
| | | | | | | | | | | | mounting. Reminded by: bde
* | - Run makewhatis(1) in etc/Makefile at the end of "install".ru2004-01-223-12/+8
| | | | | | | | - Removed redundant and undocumented NO_MAKEDB_RUN knob.
* | Userland signed char fixes for PPC build. Problems were using a chargrehan2004-01-2216-28/+29
| | | | | | | | | | | | | | | | | | return for getopt() and comparing to -1, ditto with fgetc() and EOF, and using the kg_nice value from <sys/user.h> Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Reviewed by: obrien, bde (a while back) Tested lightly on: ppc, i386, make universe
* | Make proc's kg_nice/ki_nice explicitly signed for PPC. This is agrehan2004-01-222-2/+2
| | | | | | | | | | | | | | | | no-op on {i386/alpha/ia64/sparc64} where chars are signed by default. Should help ARM and S390 which also suffer from this. Tested on: ppc, i386, objdump disasm before/after diffs Reviewed by: obrien, bde (a while back)
* | Remove references to cryptotestimp2004-01-221-5/+1
| |
* | Fix alignment of size field in `ls -lh` -- the width was being computedcperciva2004-01-221-2/+2
| | | | | | | | | | | | | | | | from log[10](largest file size), but when outputting in human-friendly format the width is always at most 4. (eg. "123K", " 12K", "1.2K".) PR: bin/59320 Approved by: rwatson (mentor)
* | Two fixes here:cperciva2004-01-221-2/+4
| | | | | | | | | | | | | | | | | | | | | | 1. If fgets fails, don't go into an infinite cpu-intensive loop. Instead, check to see if the terminal still exists, and sleep(1) otherwise. 2. When we check to see if the terminal still exists, make sure we're not mislead by EINTR. This could have been a security issue, but fortunately the current implementation of tcgetattr doesn't EINTR. PR: bin/60758 Approved by: rwatson (mentor)
* | Fix definition of IFM_MODE, which should be refrected the change ofonoe2004-01-221-1/+1
| | | | | | | | | | IFM_IEEE80211_ mode. Also ifconfig(8) must be recompiled. Pointed out by Sam Leffeler.
OpenPOWER on IntegriCloud