summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Prevent dead code elimination for the TP assignmient by using inlinemarcel2006-08-301-2/+1
| | | | assembly.
* Remove unused file.davidxu2006-08-291-59/+0
|
* When skipping data, track the position in the bytestream correctly.kientzle2006-08-291-1/+2
| | | | | | | Without this, tar -r breaks badly; new entries overwrite the middle of the archive instead of being added at the end. Thanks to: Chris Spiegel
* pthread_sigmask is in thr_sig.c, remove this file.davidxu2006-08-281-52/+0
|
* Kill unused files.davidxu2006-08-282-187/+0
|
* Use umutex APIs to implement pthread_mutex, member pp_mutexq is addeddavidxu2006-08-284-73/+116
| | | | | | into pthread structure to keep track of locked PTHREAD_PRIO_PROTECT mutex, no real mutex code is changed, the mutex locking and unlocking code should has same performance as before.
* Add umutex APIs.davidxu2006-08-282-0/+92
|
* - Add new service class definitions and a new attribute identifier definitionmarkus2006-08-262-3/+19
| | | | | | | - Update URL of the Assigned Numbers document for SDP Approved by: emax (mentor) MFC after: 3 days
* Note that the system only allows a maximum of kern.kq_calloutmax timers.ceri2006-08-251-1/+10
| | | | | | PR: docs/102353 Submitted by: phk MFC after: 1 week
* Remove alpha-specific stuff.ru2006-08-234-436/+0
|
* Recognize the existence of `auth' and `auth-type'yar2006-08-231-1/+6
| | | | | | | | | | capabilities but tell they do nothing in the base system. This is a late responce to http://docs.freebsd.org/cgi/mid.cgi?ED759F1DC5ADD74592DD063B1EDEDAF803ACD2B5 . Obtained from: OpenBSD (wording; with minor corrections)
* Remove alpha left-overs.ru2006-08-2284-5557/+8
|
* Build libsmb and smbutil on ia64.marcel2006-08-221-0/+4
|
* If __ARMEB__ is defined, we're already using the network byte order, socognet2006-08-214-0/+8
| | | | | | | there's no need to to anything in the hton* functions, beside returning the parameter. Spotted out by: Oleksandr Tymoshenko <gonzo@freebsd.org>
* Document EAGAIN failure per PR. (Finally!)wes2006-08-161-1/+12
| | | | PR: 24125
* We operate on 'statfs' structures, not on 'fsstat' structures.pjd2006-08-151-2/+2
| | | | MFC after: 3 days
* Improve the wording. Remove the appositive about strcmp, putting thedd2006-08-141-2/+5
| | | | | first sentence back to the way it was. Add a second sentence that explains the case when strcmp is called.
* Correctly handle the case in calloc(num, size) wherecperciva2006-08-131-1/+1
| | | | | | | | | | | (size_t)(num * size) == 0 but both num and size are nonzero. Reported by: Ilja van Sprundel Approved by: jasone Security: Integer overflow; calloc was allocating 1 byte in response to a request for a multiple of 2^32 (or 2^64) bytes instead of returning NULL.
* Additional debugging stuff I had in my tree.des2006-08-111-3/+10
|
* Fix a bug in the size of the PMBR partition. Since the partition startsmarcel2006-08-091-0/+2
| | | | at LBA 1, the size is not the mediasize in sectors, but one less.
* Define NO_TLS on PowerPC.marcel2006-08-091-0/+1
| | | | See also: PR ia64/91846
* o It speaks about struct msqid_ds not struct shmid_ds.maxim2006-08-091-1/+1
| | | | | | PR: docs/101314 Submitted by: Vasil Dimov MFC after: 1 week
* Axe unused member field.davidxu2006-08-082-12/+2
|
* Get number of CPUs and ignore spin count on single processor machine.davidxu2006-08-083-6/+15
|
* Return length from fwopen() file callback instead of zero.phk2006-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | The symptom is that syslog() fails to log anything but the "ident" string if LOG_PERROR is specified to openlog(3) and the extensible printf is in action. For unclear, likely quaint historical reasons, syslog uses fwopen() on a stack buffer, rather than using the more straightforward and faster snprintf(). Along the way, fflush(3) is called, and since the callback writer function returns zero instead of the length "written", __SERR naturally gets set on the filedescriptor. The extensible printf, in difference from the normal printf refuses to output anything to an __SERR marked filedescriptor, and thus the actual syslog message is supressed. MFC: after 2 weeks
* Build libthread_db on PowerPC.marcel2006-08-041-1/+1
|
* Add stub functions. This allows libthread_db to be built and installed,marcel2006-08-042-0/+106
| | | | which means that we also have <thread_db.h>.
* Check if the filedes of kevent is expected one. Though ourume2006-08-041-0/+4
| | | | | | | | | old resolver opened just one socket, BIND9's resolver may open more than one sockets. And, BIND9's resolver doesn't close the socket on timeout. So, we need this check. Reported by: freebsd-cvs-src__at__oldach.net (Helge Oldach), bz Hinted by: rwatson
* _close() should be called instead of close() here.ume2006-08-041-2/+6
|
* Commit the results of the typo hunt by Darren Pilgrim.yar2006-08-041-1/+1
| | | | | | | | | | This change affects documentation and comments only, no real code involved. PR: misc/101245 Submitted by: Darren Pilgrim <darren pilgrim bitfreak org> Tested by: md5(1) MFC after: 1 week
* In DCE 1.1, the time_low value is defined as an unsigned 32-bitdelphij2006-08-031-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | integer. Presently, our implementation employs an approach that converts the value to int64_t, then back to int, unfortunately, this approach can be problematic when the the difference between the two time_low is larger than 0x7fffffff, as the value is then truncated to int. To quote the test case from the original PR, the following is true with the current implementation: 865e1a56-b9d9-11d9-ba27-0003476f2e88 < 062ac45c-b9d9-11d9-ba27-0003476f2e88 However, according to the DCE specification, the expected result should be: 865e1a56-b9d9-11d9-ba27-0003476f2e88 > 062ac45c-b9d9-11d9-ba27-0003476f2e88 This commit adds a new intermediate variable which uses int64_t to store the result of subtraction between the two time_low values, which would not introduce different semantic of the MSB found in time_low value. PR: 83107 Submitted by: Steve Sears <sjs at acm dot org> MFC After: 1 month
* If skip_file_dev and skip_file_ino haven't been set (are still == 0),kientzle2006-08-011-1/+3
| | | | | | | then don't use them for testing for a recursive add. Thanks to: Spencer Minear MFC after: 7 days
* Stop enforcing dependencies between MK_* options at Makefile level.yar2006-07-311-1/+2
| | | | All the dependencies are satisfied now in <bsd.own.mk>.
* Pass BN_CTX to internal functions instead of allocating it internally.simon2006-07-301-27/+35
| | | | | | This allows msqrt() to only call BN_CTX_new() once intead of many times. Suggested and reviewed by: stefanf
* Conditionally include sys/mkdev.h on platforms (such as Solaris) that need it.kientzle2006-07-301-0/+3
| | | | Thanks to: VMiklos
* Use 'skip' when ignoring data in tar archives. This dramaticallykientzle2006-07-3011-11/+287
| | | | | | | | | | | | | | | | | | | | increases performance when extracting a single entry from a large uncompressed archive, especially on slow devices such as USB hard drives. Requires a number of changes: * New archive_read_open2() supports a 'skip' client function * Old archive_read_open() is implemented as a wrapper now, to continue supporting the old API/ABI. * _read_open_fd and _read_open_file sprout new 'skip' functions. * compression layer gets a new 'skip' operation. * compression_none passes skip requests through to client. * compression_{gzip,bzip2,compress} simply ignore skip requests. Thanks to: Benjamin Lutz, who designed and implemented the whole thing. I'm just committing it. ;-) TODO: Need to update the documentation a little bit.
* Don't mention 'pax' in the context of POSIX-1988, sincekientzle2006-07-291-5/+4
| | | | | | | | | pax wasn't introduced until the 1993 (?) revision. (I need to double-check when pax was introduced and clarify some of the history here. In particular, I should explain that the 'pax' standard now owns the 'ustar' format spec.)
* Remove mention of 'tp' format, since that support has beenkientzle2006-07-291-10/+0
| | | | | removed. (It was introduced experimentally and I have simply never had time to finish it.)
* Do not put BN_CTX structures on the stack, but instead allocate themsimon2006-07-281-25/+36
| | | | | | | | | | | | runtime using BN_CTX_new(). This is done since in OpenSSL 0.9.7e we can only allocate BN_CTX on the stack by including an internal OpenSSL header file, and in OpenSSL 0.9.8 BN_CTX is entirely opaque, so having it on the stack is not possible at all. This is done as preparation for OpenSSL 0.9.8b import. Tested on: amd64 i386 ia64 Tested with: src/tools/regression/lib/libmp
* Remove debug code.stefanf2006-07-283-12/+0
| | | | Suggested by: des
* Conditionally expand the size_invs lookup table in arena_run_reg_dalloc()jasone2006-07-271-1/+12
| | | | | | | | so that architectures with a quantum of 8 (rather than 16) work. Restore arm's quantum to 8. Submitted by: jmg
* Use 4 as QUANTUM_2POW_MIN on arm as it is on any other architecture, to avoidcognet2006-07-271-1/+1
| | | | triggering an assertion later.
* style.Makefile(5) is good for our eyes.yar2006-07-271-4/+8
|
* Respect MK_INET6_SUPPORT.yar2006-07-272-2/+10
|
* Fix cpp logic in arena_malloc() to adjust size when assertions are enabled,jasone2006-07-271-23/+19
| | | | | | | | even if stats gathering is disabled. [1] Remove 'size' parameter from several functions that do not use it. Reported by: [1] ache
* Remove stale comment about armimp2006-07-261-2/+0
|
* Respect MK_INET6_SUPPORT.yar2006-07-261-1/+5
|
* Fix build w/o INET6.yar2006-07-261-0/+2
| | | | Submitted by: Andre Albsmeier <Andre.Albsmeier siemens com>
* Increase the number of CPUs to 32 to suit sun4v.jb2006-07-261-1/+1
| | | | Reviewed by: rwatson@
* Rev. 1.44 of this file didn't introduce a right solution,yar2006-07-251-0/+7
| | | | | | | but we don't seem to have one yet, so just add an XXX comment on passing rux_runtime to bintime2timeval() wrongly. Spotted by: gcc(1) (warning)
OpenPOWER on IntegriCloud