summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Hold the page queues lock when performing vm_page_busy() oralc2002-12-191-1/+7
| | | | | | vm_page_flag_set(). - Replace vm_page_sleep_busy() with proper page queues locking and vm_page_sleep_if_busy().
* Add some linux keysdavidxu2002-12-191-1/+1
|
* pathconf() and acl_get_file() follow links so they cannot be used totjr2002-12-191-0/+8
| | | | | | | | | determine whether a symlink has an ACL. Instead, assume that symbolic links don't have ACLs and don't bother checking. Avoids spurious ENOENT warnings when listing directories containing broken symlinks on filesystems with ACLs enabled. Pointed out by: rwatson, bde
* Fix bug with 3c90xB cards and newer. We weren't trying tomux2002-12-181-39/+14
| | | | | | copy the mbuf chain into an mbuf cluster when there is more than 63 mbufs in the chain. We were trying with older cards though.
* Do not return(foo()) in void function.semenu2002-12-189-23/+25
| | | | | Submitted by: marius@alchemy.franken.de MFC after: 3 days
* Refer to the now-existent `options MAC_BSDEXTENDED'.chris2002-12-181-7/+6
| | | | | | | MFC Candidate. Prompted by: dcs Sponsored by: DARPA, Network Associates Laboratories
* Fix the missspelt letter in DC_CTYPE_PUP_AUTOSENSe define.semenu2002-12-182-2/+2
| | | | | Submitted by: marius@alchemy.franken.de MFC after: 3 days
* Solve another bug in the mapping code: correctly skip lock sectors.phk2002-12-183-3/+9
| | | | | | | | | Make sure sector zero is protected if it contains metadata. Lower WARNS for gbde to 3 on non-i386 archs. rijndael-fst is evil but appearntly does the right thing and passes the test-vectors. MFC Candidate.
* Quirk for Memorybird pen drivenjl2002-12-181-0/+8
| | | | | | PR: kern/34712 Submitted by: Oliver Fromme <olli@lurza.secnetix.de> MFC after: 3 days
* Improve handling of symlink targets when listing MAC labels: don'trwatson2002-12-181-6/+13
| | | | | | | | do the wrong thing when the symlink doesn't have a target, by considering !f_label in the construction of ch_options. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Sync with up-stream version, including a number of bug-fixes:fanf2002-12-182-600/+506
| | | | | | | | | | | | | | | | | | | | | | | | | * The partial-evaluation of #elif sequences was broken and the spaghetti logic of its implementation was too hard to understand. I've re-done it using a straight-forward table-driven push-down automaton. * The pre-processor line parser did not allow for all of the weird places that people might put comments, which could have caused it to add syntax-errors to the output by removing a #if line containing the start- or end-marker of a comment. * The lexer didn't need to special-case the handling of string-literals or character-constants, but it did need to learn about line-continuations (backslash-newline). * The input routine was buggy and bit-rotten and trivially replacable with fgets(). I've also made the program static- and const-safe and improved the presentation-order. The formatting of the state-transition tables remains non-stylish. This commit-messsage was brought to you by code-point 45. MFC-after: one-week
* Hold the page queues lock when performing vm_page_busy().alc2002-12-182-0/+4
|
* 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
|
OpenPOWER on IntegriCloud