summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Sync to P4thompsa2009-11-205-11/+155
| | | | | | | | | - fix a transfer cancelling bug/segfault [1] - correct a return code in the transfer cancel function. - add new API function, libusb20_tr_bulk_intr_sync(). Submitted by: HPS Reported by: Robert Jenssen [1]
* Make following functions be cancellation points:davidxu2009-11-181-4/+55
| | | | | | | mq_receive mq_send mq_timereceive mq_timedsend
* link libpthread because the librt really needs it to fully function.davidxu2009-11-181-0/+1
|
* Fix compiler warnings.davidxu2009-11-181-2/+2
|
* - Update Hungarian libc cataloggabor2009-11-171-0/+46
|
* Catch up with r130332 which changed the default timezone from GMT to UTC.obrien2009-11-171-2/+2
| | | | | Otherwise the tzload() (when called by gmtload()) fails to locate the UTC file and loads the posixrules.
* Sync with C.msg r199083.jkim2009-11-162-2/+94
|
* Fix grammar.brueffer2009-11-161-1/+1
| | | | | | PR: 140459 Submitted by: Jeremy Huddleston <Jeremyhu@apple.com> MFC after: 1 week
* Fix a memory leak in acl_from_text() in case the conversion succeeded.brueffer2009-11-161-0/+1
| | | | | Submitted by: Jim Wilcoxson <prirun@gmail.com> MFC after: 1 week
* Collapse devinfo_state_t with device_state_t in order to avoid aattilio2009-11-151-10/+2
| | | | | | | structure replication and improve manteneability. Reviewed by: jhb, imp Tested by: Riccardo Torrini <riccardo at torrini dot org>
* Change the utrace log entry for malloc_init from (0, 0, 0) to (-1, 0, 0)cperciva2009-11-141-1/+1
| | | | | | in order to distinguish it from free(NULL), which is logged as (0, 0, 0). Reviewed by: jhb
* Remove a note about vfork(4) going to be eliminated, it's here to stay.brueffer2009-11-131-8/+0
| | | | | Submitted by: kib MFC after: 1 week
* Improved the manpage description. The committed wordingbrueffer2009-11-131-2/+2
| | | | | | | | | was provided by jhb. PR: 140528 Submitted by: Chris Petrik <chris@officialunix.com> Discussed with: remko, jhb and the submitter MFC after: 1 week
* Note that nullok should not be used by processes that can't access thedes2009-11-131-0/+11
| | | | | | | password database. PR: bin/126650, misc/140514 MFC after: 1 week
* Fix the grammar in the isprint(3) description.roam2009-11-131-1/+1
| | | | | PR: 140456 Submitted by: Jeremy Huddleston <jeremyhu@apple.com>
* Fix the grammar in the isgraph(3) description, almost as per the PR.roam2009-11-131-1/+1
| | | | | | PR: 140455 Submitted by: Jeremy Huddleston <jeremyhu@apple.com> MFC after: 2 weeks
* Add missing IEEE1394 support dropped during merge from NetBSD.ume2009-11-121-0/+11
|
* Synchronize with C.msg revision 199083 and improve some existing messages.rene2009-11-111-30/+57
| | | | | Reviewed by: remko Approved by: remko
* ANSIfy.ume2009-11-111-25/+8
| | | | MFC after: 1 week
* Fix the grammar as in the PR, and then some.roam2009-11-111-2/+2
| | | | | | PR: 140454 Submitted by: Jeremy Huddleston <jeremyhu@apple.com> MFC after: 2 weeks
* Add Japanese catalogue entries for newer errnos: EBADMSG, EMULTIHOP,ume2009-11-102-0/+20
| | | | ENOLINK, EPROTO, ENOTCAPABLE.
* Add gai_strerror() catalog for ja_JP.UTF-8 and ja_JP.eucJP.ume2009-11-092-0/+72
|
* Add NLS catalogs support to gai_strerror(3).ume2009-11-092-0/+94
| | | | Controlled by NLS define.
* Fix comment.ume2009-11-092-2/+2
| | | | | Pointed out by: nyan MFC after: 1 week
* Add ja_JP.eucJP catalog.ume2009-11-092-0/+250
| | | | | Reviewed by: hrs, nork, takawata MFC after: 1 week
* Add ja_JP.UTF-8 catalog.ume2009-11-092-0/+250
| | | | | Reviewed by: hrs, nork, takawata MFC after: 1 week
* - fix refcounting error during data transferthompsa2009-11-087-35/+251
| | | | | | | | | | | | | - fix a memory leak on the USB backend - fix invalid pointer computations (in one case memory outside the allocated area was written in LibUSB v1.0) - make sure memory is always initialised, also in failing cases - add missing functions from v1.0.4 PR: usb/140325 Reported by: Robert Jenssen Submitted by: Hans Petter Selasky MFC After: 3 days
* Fix a copy+paste error by checking the correct variable against MM_NULLACT.brueffer2009-11-081-1/+1
| | | | | | PR: 140386 Submitted by: soulcatcher <soulcatcher13@gmail.com MFC after: 1 week
* - Strip trailing CRsgabor2009-11-081-259/+259
| | | | Requested by: Alex Kozlov <spam@rm-rf.kiev.ua> (via private mail)
* - Update Ukranian cataloggabor2009-11-081-0/+10
| | | | Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> (via private mail)
* Fix a copy-paste bug when reading data from the last 3 (7 for PAE) bytes ofjhb2009-11-061-6/+6
| | | | | | | a page mapped by a large page in the kernel. Submitted by: Dorr H. Clark dclark of engr.scu.edu MFC after: 1 week
* Add MAP_ANONYMOUS.ed2009-11-061-1/+5
| | | | | | | | Many operating systems also provide MAP_ANONYMOUS. It's not hard to support this ourselves, we'd better add it to make it more likely for applications to work out of the box. Reviewed by: alc (mman.h)
* IP_TTL is an IP socket option, not a TTL value. Use IPDEFTTLmarcel2009-11-051-1/+1
| | | | instead.
* Use our canonical .Dd format.brueffer2009-11-0211-11/+11
| | | | Submitted by: Ulrich Spoerlein
* Attempt to reduce accidental foot-shooting by pointing out thatcperciva2009-11-021-0/+4
| | | | | | | | accept(2)ed sockets do not necessarily inherit O_NONBLOCK from listening sockets on non-FreeBSD platforms. Feet shot: cperciva MFC after: 1 month
* Initialize f_rabuf in the raw device case. A subsequent close()brueffer2009-10-281-0/+1
| | | | | | | | later on would try to free it, leading to a crash. PR: 93998 Submitted by: neel MFC after: 1 week
* Move pselect(3) man page to section 2.kib2009-10-283-5/+6
| | | | | Noted by: jhb MFC after: 1 month
* Commit libc files missed in r198508kib2009-10-273-8/+1
|
* Current pselect(3) is implemented in usermode and thus vulnerable tokib2009-10-273-79/+6
| | | | | | | | | | | | | | | | | well-known race condition, which elimination was the reason for the function appearance in first place. If sigmask supplied as argument to pselect() enables a signal, the signal might be delivered before thread called select(2), causing lost wakeup. Reimplement pselect() in kernel, making change of sigmask and sleep atomic. Since signal shall be delivered to the usermode, but sigmask restored, set TDP_OLDMASK and save old mask in td_oldsigmask. The TDP_OLDMASK should be cleared by ast() in case signal was not gelivered during syscall execution. Reviewed by: davidxu Tested by: pho MFC after: 1 month
* Fix typo in bluetooth.3emax2009-10-262-3/+3
| | | | | | Do not use reserved C++ keyword "new" MFC after: 1 month
* Implement _umtx_op_err() for ia64.marcel2009-10-243-1/+38
|
* Not all Intel Core (TM) CPUs implement PMC_CLASS_IAF fixed-functionjkoshy2009-10-241-12/+47
| | | | | | | counters. For such CPUs, use an alternate mapping of convenience names to events supported by PMC_CLASS_IAP programmable counters. Testing and review by: fabient
* wordexp(3): fix some bugs with signals and long outputsjilles2009-10-231-19/+57
| | | | | | | | | | | | * retry various system calls on EINTR * retry the rest after a short read (common if there is more than about 1K of output) * block SIGCHLD like system(3) does (note that this does not and cannot work fully in threaded programs, they will need to be careful with wait functions) PR: 90580 MFC after: 1 month
* Prevent wraparound of the timeout variable.thompsa2009-10-221-1/+5
| | | | Submitted by: HPS
* PR: 139751fabient2009-10-211-1/+1
| | | | | | Approved by: des Obtained from: Xavier Heiny <xavier.heiny@netasq.com> MFC after: 3 weeks
* Make getcwd(3) faster, simpler and more compliant using *at syscalls.jilles2009-10-131-45/+18
| | | | | It is no longer necessary to construct long paths consisting of repeated "../" which may be slow to process and may exceed PATH_MAX.
* Add C message catalogue entries for newer errnos: EBADMSG, EMULTIHOP,rwatson2009-10-131-0/+10
| | | | | | | ENOLINK, EPROTO, ENOTCAPABLE. Submitted by: Alan R. S. Bueno <alan.bsd at gmail.com> MFC after: 3 days (most)
* Make openat(2) a cancellation point.jilles2009-10-116-0/+38
| | | | | | | This is required by POSIX and matches open(2). Reviewed by: kib, jhb MFC after: 1 month
* In nanosleep(2), note that the calling thread is put to sleep, not thekib2009-10-111-1/+3
| | | | | whole process. Also explicitely name the parameter that specifies sleep interval.
* Document errno codes added in r144530.das2009-10-111-0/+8
|
OpenPOWER on IntegriCloud