summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix two blunders in the mapping functions which can lead to corrupt data,phk2002-12-184-45/+36
| | | | | | | | for request sizes larger than the sectorsize or for multi-key setups. See warning mailed to current@ for details of recovery. Found by: Marcus Reid <marcus@blazingdot.com>
* Balk at unaligned requests.phk2002-12-181-0/+10
| | | | MFC candidate.
* Fix corruption introduced in previous delta.mckusick2002-12-181-4/+12
| | | | | Reported by: Aurelien Nephtali <aurelien.nephtali@wanadoo.fr> Sponsored by: DARPA & NAI Labs.
* More MFp4: DIG64 structures.marcel2002-12-181-0/+90
|
* o Add new types: msgqnum_t and msglen_t.mike2002-12-181-7/+38
| | | | | | | o Add typedefs for pid_t, time_t, size_t and ssize_t. o Hide struct mymsg and msgsys() in the standards case. o Add some comments about conformance bugs. o Sort prototypes.
* Update with the 4.7 libraries, and add libposix1e to the mix.obrien2002-12-1819-18315/+16352
|
* Add regression test for strerror()/strerror_r().mike2002-12-182-0/+141
| | | | Based on: src/lib/libc/string/strerror.c (rev 1.8)
* Rearrange strerror() so that its itoa procedure can be used withmike2002-12-182-86/+45
| | | | | | | | | | | | | | | strerror_r(). Doing this allows us to ensure that strerror_r() always fills the supplied buffer regardless of EINVAL or ERANGE errors. strerror()'s semantics have changed slightly such that an argument of 0 is now considered invalid and errno is set to EINVAL. Remove internal regression test for strerror() and strerror_r(). This will be reincarnated in src/tools/regression/lib/libc/string. In strerror(3), add a comment about strerror()'s bogus return type. PR: 44356
* Move the agp driver to the third floppy to un-spill the mfsroot.scottl2002-12-181-1/+1
|
* Under some circumstances, the loopback interface will allocate a newrwatson2002-12-181-0/+10
| | | | | | | | | | | | | | | | mbuf for a packet looping back to provide alignment guarantees for KAME. Unfortunately, this code performs a direct copy of the header rather than using a header copying primitive (largely because we have sucky header copying primitives). This results in a multiple free of the MAC label in the header when the same label data is freed twice when the two mbufs with that header are freed. As a temporary work-around, clear the initialized flag on the label to prevent the duplicate free, which prevents panics on large unaligned loopback IP and IPv6 data. The real fix is to improve and make use of proper packet header copying routines here. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* mdoc(7) police: Fixed abuses of the .Ar and .Em macros.ru2002-12-1855-195/+196
|
* mdoc(7) police: "The .Fn function".ru2002-12-1876-64/+468
|
* Switch to the conventional reference counting scheme.hsu2002-12-181-15/+15
|
* mdoc(7) police: "The .Fn system call".ru2002-12-183-0/+18
|
* Remove undocumented behavior (return current work dir if no pathjohan2002-12-181-5/+2
| | | | | | | | is given as argument) that is not present in 4-Stable. It was introduced when realpath(1) was split out of pwd(1). The removed behavior is provided by pwd(1). Reviewed by: mike
* Lock up ifaddr reference counts.hsu2002-12-188-58/+56
|
* - use MAXPATHLEN per realpath(3)johan2002-12-181-2/+2
| | | | | | | - use the problematic part of the path, instead of the argument, when reporting an error. Reviewed by: mike
* Use ${BINDIR} instead of hardcoded path.johan2002-12-181-1/+1
| | | | | | | PR: 44582 Submitted by: Jon Disnard <jon.disnard@ca.com> Reviewed by: ru MFC after: 3 weeks
* mdoc(7) police: "The .Fn function".ru2002-12-1833-35/+141
|
* mdoc(7) police: Fixed the .Nm abuse.ru2002-12-181-3/+3
|
* mdoc(7) police: Tidy up the syscall language.ru2002-12-18147-668/+1011
| | | | | | | | | | Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe.
* mdoc(7) police: kill whitespace at EOL.ru2002-12-181-2/+2
|
* Export the physical address of the RSDP to userland by meansmarcel2002-12-183-32/+81
| | | | | | | | | | of the `machdep.acpi_root' sysctl. This is required on ia64 because the root pointer hardly ever, if at all, lives in the first MB of memory and also because scanning the first MB of memory can cause machine checks. This provides a save and reliable way for ACPI tools to work with the tables if ACPI support is present in the kernel. On ia64 ACPI is non-optional.
* Add command `hcdp'. This command dumps the DIG64 HCDP table if onemarcel2002-12-182-0/+150
| | | | exists.
* On drives that returns 00 as 100% done, lower the criteriasos2002-12-181-13/+13
| | | | | | for wraparound, 99 was too much for fast drives since they do not give 99 as the last value, but instead something in the 90's range.
* Untwist a twisty bit of logic which gcc for some reason cannot seephk2002-12-181-4/+4
| | | | through on ia64.
* Delay an optional amount of time after booting before starting amckusick2002-12-184-4/+27
| | | | | | | | | background fsck. The delay defaults to sixty seconds to allow large applications such as the X server to start before disk I/O bandwidth is monopolized by fsck. Submitted by: Brooks Davis <brooks@one-eyed-alien.net> Sponsored by: DARPA & NAI Labs.
* Keep comments consistent with the code. Minor optimization.mckusick2002-12-181-14/+4
| | | | Sponsored by: DARPA & NAI Labs.
* I didn't intend to delete this rm from the Makefile. It snuck in atimp2002-12-182-0/+2
| | | | | | | | | the last second before the commit. # likely we can remove this hack now that gcc generates better aligned code # in the align to word case. Noticed by: bde
* Latest snapshot of devd. This one adds re-matching and stringimp2002-12-182-17/+89
| | | | expansion.
* Document what happens when the format string contains insufficienttjr2002-12-181-0/+23
| | | | | | | | conversion specifications to completely specify the resulting struct tm. PR: 46331 Submitted by: Christian S.J. Peron MFC after: 2 weeks
* - Hold the page queues lock when performing vm_page_busy().alc2002-12-181-2/+5
| | | | | - Replace vm_page_sleep_busy() with proper page queues locking and vm_page_sleep_if_busy().
* Hold the page queues lock when performing vm_page_flag_set().alc2002-12-182-1/+9
|
* Cosmetic cleanup of unsigned buglets.mckusick2002-12-181-5/+5
| | | | | Submitted by: Bruce Evans <bde@zeta.org.au> Sponsored by: DARPA & NAI Labs.
* Back out revision 1.38. disklabel now understands vinum volumes again.grog2002-12-181-5/+1
|
* Add Web Objects.eric2002-12-171-0/+2
| | | | | Obtained from: IANA Sponsored by: Apple
* Reduce diffs with Peter's expanded diffs:imp2002-12-172-8/+8
| | | | | 1) Put back the keyboard printing printf, at the cost of 58 bytes. 2) Minor tweak to getstr at no apparent cost.
* Add a check for negative offset locations and return EINVAL for them.phk2002-12-171-0/+5
|
* Back out the previous commit, since there could be dire consequences ifgreen2002-12-172-7/+3
| | | | /etc/rc were accidentally executed (as requested by other committeers).
* Remove request for i386 boot[012] review. I didn't have time recently tojhb2002-12-171-1/+0
| | | | | work on the UFS2 stuff and people were committing patches w/o sending them my way anyways, so it seems rather pointless for me to be in here. :)
* Make both UFS1 and UFS2 fit on the same boot blocks. These are aimp2002-12-174-142/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | subset of Peter's patchs that are believed to be safe. Makefile tweaks: o -fomit-frame-pointer o Change default to building both UFS1 and UFS2 bootblocks. Lots of boot2 tweaks: o lookup is only ever called with kname, so use it directly. o inline memsize o getstr are only ever called with cmd, so hardware that. o tweaks to the parsing code to test after the conversion rather than before since we tested after anyways. o eliminate support for %x in printf. o eliminate a few bytes in printfs. o Tweak the boot banner. o eliminate support for wd and " " devices (I might add wd back to keep bde happy). o eliminate support for a few arguments. This takes us from -162 bytes free to 67 bytes free. I've tested this only on a few systems, so be careful when updating to this change. Submitted by: peter, imp, ian
* Make /etc/rc and /etc/rc.shutdown executable, and execute them directlygreen2002-12-170-0/+0
| | | | | | | instead of via /bin/sh. They already have the proper #! lines, and there is no new failure case (if execution fails, it still attempts to execute indirectly via /bin/sh). This is necessary for SEBSD to function properly.
* /home/green/tmp/cvsSFosXggreen2002-12-172-3/+7
|
* The code uses trapsasync, however the manual page uses asynctraps. Fix thetrhodes2002-12-171-1/+1
| | | | | | | | manual page to reflect the code. PR: 45820 Submitted by: Marco Molteni <molter@tin.it> Discussed with: tjr
* Remove unused lockcnt variable.phk2002-12-171-3/+0
| | | | Approved by: mckusick
* Split files into 1.44MB chunks rather than a tiny, high-ftp overhead size.obrien2002-12-171-1/+1
| | | | Approved by: rwatson
* Strip out any .comment ELF sections from crunchgen'ed binaries.obrien2002-12-171-0/+1
|
* Hold the page queues lock when performing vm_page_flag_set().alc2002-12-172-1/+3
|
* Add IPP (Internet Printing Protocol) and remove blank lines.eric2002-12-171-6/+2
| | | | | Obtained from: IANA Sponsored by: Apple
* Straighten out a compound if() to improve readability marginally.phk2002-12-171-1/+4
|
OpenPOWER on IntegriCloud