summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add the userland part of the NET_RT_IFMALIST sysctl MIB. A new function,bms2003-11-143-2/+322
| | | | | | getifmaddrs(), is added to retrieve current multicast group memberships. Reviewed by: harti
* u_int8_t cannot carry a number greater than 255.ume2003-11-141-3/+1
| | | | Reported by: nectar
* Use the new defines that include the trailing '\0' in the code.harti2003-11-144-21/+27
| | | | | | | Replace occurences of the magic constant 2 with an offsetof macro call that computes the size of the leading members of the sockaddr. Use strlcpy instead of sprintf where appropriate. Document the new changes in the man page.
* - Add documentation for EBUSY.alc2003-11-141-2/+4
| | | | | - Remove EIO. - Add a cross reference to mlock(2).
* - Use the magic for ___sigreturn in __sigset.jeff2003-11-141-3/+11
| | | | | | | | - In __sigreturn call sigprocmask() to restore our signal state rather than returning through sigreturn(). jmp to ___sigreturn to restore our register state following this. Requested by: pete
* Add an empty definition of the MIBS variable so that the makefile doesharti2003-11-131-0/+1
| | | | | | not try to use a MIBS definition from the environment. Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
* Fix on sparc64.sobomax2003-11-121-1/+1
| | | | | Reported by: rwatson/tinderbox MFC after: 2 weeks
* Bump the major version on libtuil. libutil now relies on the mac_*rwatson2003-11-121-1/+1
| | | | | | | | symbols exported by newer versions of libc, and so we want applications depending on the newer library code to be required to link against the newer libc. Discussed with: scottl, kris, imp
* Add a new configuration variable - nas_ipaddr, which if set allows tosobomax2003-11-122-8/+47
| | | | | | | | set NAS-IP-Address attribute in requests generated by the pam_radius module. This attribute is mandatory for some Radius servers out there. Reviewed by: des MFC after: 2 weeks
* The partition naming on ia64 (e.g. da0p1) cannot be selected basedmarcel2003-11-121-0/+4
| | | | | | | | | | | on whether the parent chunk is of type whole. This also applies to MBR slices for non-GPT disks. Since most of the GPT handling is conditionally compiled, do the same with the partition naming. This fixes a braino that caused slices to be named as GPT partitions and generally messing up an install. Pointy hat: marcel
* The snmp_netgraph module depends on libnetgraph. So add a dependency andharti2003-11-122-3/+7
| | | | | | add libnetgraph to the list of prebuilt libraries in the main Makefile. Reviewed by: ru
* Use __sfvwrite() instead of __sputc() via __fputwc() to write to faketjr2003-11-121-1/+30
| | | | | | | | string files (__SSTR flag set). This is necessary because __sputc() does not respect the __SALC flag, and crashes trying to flush the buffer instead of resizing it. PR: 59167
* - Markup fix-ups (add .Dq, and some hard line breaks at the endkensmith2003-11-111-4/+10
| | | | | | of sentences). Approved by: blackend (mentor)
* - Add a note about how jail(2) effects the securelevel.kensmith2003-11-111-0/+6
| | | | | Reviewed by: rwatson Approved by: blackend (mentor)
* Add information about the EVFILT_NETDEV filterbrueffer2003-11-111-0/+24
| | | | | | PR: docs/56872 (based on) Submitted by: Suleiman Souhlal <refugee@vt.edu> Reviewed by: hmp, jmg
* Fix a typo that caused mbrtowc() to always return 0.tjr2003-11-111-1/+1
|
* Add a section documenting the sysctl(8) tunables that influence thejkoshy2003-11-111-2/+15
| | | | | operation of ktrace(2). Add a cross-reference to sysctl(8). Make the language of rev 1.22 more consistent with the rest of the manual page.
* Improve the performance of radixsort() whenkientzle2003-11-111-0/+11
| | | | | | | | | | | | | sorting strings with common prefixes by noting when all the strings land in just one bin. Testing shows significant speedups (on the order of 30%) on strings with common prefixes and no slowdowns on any of my test cases. Submitted by: Markus Bjartveit Kruger <markusk@pvv.ntnu.no> PR: 58860 Approved by: gordon (mentor)
* Have utrace(2) return ENOMEM if malloc() fails. Document this errorjkoshy2003-11-111-4/+6
| | | | | | return in its manual page. Reviewed by: jhb
* Fix few typosemax2003-11-111-1/+1
| | | | | Reviewed by: imp, julian, ru Approved by: imp (mentor)
* Remove ',' accidentally added after ".Xr fork 2".ghelmer2003-11-101-1/+1
|
* Prevent abnormal termination of a child daemon process when createdghelmer2003-11-102-3/+35
| | | | | | | | | | by a parent that is a session leader (e.g., login shell) by ignoring SIGHUP in before calling fork(2) and then restoring SIGHUP's action after setsid(3). Based on the patch by Martin Kammerhofer <mkamm@gmx.net>. PR: bin/25462 Reviewed by: bde, alex.neyman@auriga.ru
* Fix the build by adjusting the include directives. The problem washarti2003-11-102-4/+6
| | | | | that the sources use "..." includes to get at include files that later on reside in an include sub-directory.
* Link libbsnmp to the build.harti2003-11-101-1/+1
|
* Add build infrastructure for libbsnmp and the modules. Add theharti2003-11-1020-0/+3216
| | | | netgraph module for the SNMP daemon.
* Document EINVAL for len == 0.des2003-11-101-1/+1
|
* Document KTR_DROP.jkoshy2003-11-101-0/+9
|
* If a thread in critical region got a synchronous signal, according currentdavidxu2003-11-092-0/+4
| | | | | | signal handling mode, there is no chance to handle the signal, something must be wrong in the library, just call kse_thr_interrupt to dump its core. I have the code for a long time, but forgot to commit it.
* Use THR lock instead of KSE lock to avoid scheduler be blocked in spinlock.davidxu2003-11-082-34/+32
| | | | Reviewed by: deischen
* Virtual addresses in headers of ELF files for dynamic objects needmarcel2003-11-081-6/+9
| | | | to be relocated before they can be used as pointers.
* Add one more cross-reference to gb2312(5).tjr2003-11-081-0/+1
|
* Add cross-references to new gb2312(5) manual page.tjr2003-11-082-0/+2
|
* Add a fairly simple manual page for the new GB2312 encoding.tjr2003-11-082-1/+58
|
* Remove unused #includes.tjr2003-11-085-11/+0
|
* Use __inline instead of inline.tjr2003-11-081-1/+1
|
* Refer to wide characters instead of runes. Remove redundant example locale.tjr2003-11-082-246/+36
| | | | | | Catch up with renaming of "Japanese" to "ja_JP.eucJP". Comment out the statement that EUC is provided for compatibility with UNIX-based systems; this is not a very good opening paragraph.
* Refer to wide characters instead of runes.tjr2003-11-082-4/+6
|
* Build the layer 3 (signalling) stuff into the library and installharti2003-11-071-3/+9
| | | | the corresponding headers.
* Rephrase .Nd description to contain the keykientzle2003-11-061-1/+1
| | | | | | | words "pattern" and "test"; this should make it easier to find with "man -k" Approved by: gordon (mentor)
* Add gb2312 encoding.davidxu2003-11-053-1/+120
|
* style(9)deischen2003-11-052-80/+106
| | | | Reviewed by: bde
* Don't declare the malloc lock; use the declaration provided in libc.deischen2003-11-052-2/+12
| | | | Noticed by: bde
* Remove #include of spinlock.h from libc_private.h. Declare spinlocks asdeischen2003-11-052-5/+4
| | | | | | | struct _spinlock. Keep the typedef in for now; another set of changes may come around to clean up consumers of spinlocks. Requested by: bde
* - plug memory leak.ume2003-11-056-110/+150
| | | | | | | | | | - fixed a length of the sadb extension in the case of pfkey_send_x5(). - used getprotobynumber() for printing a upper layer protocol name. - modified the output format against the change of the setkey syntax about a icmp6 type/code. - don't enumerate reserved fields. use memset. Obtained from: KAME
* Pass NULL instead of a pointer to a zeroed mbstate_t object.tjr2003-11-056-37/+17
|
* Pass NULL instead of a pointer to a zeroed mbstate_t object.tjr2003-11-052-10/+4
|
* Implement mbrtowc() and wcrtomb() directly (sync with big5.c).tjr2003-11-051-53/+50
|
* Add pthread_atfork() source code. Dan forgot to commit this file.davidxu2003-11-052-0/+112
|
* Add an implementation for pthread_atfork().deischen2003-11-0411-12/+144
| | | | | | | | Aside from the POSIX requirements for pthread_atfork(), when fork()ing, take the malloc lock to keep malloc state consistent in the child. Reviewed by: davidxu
* Add the ability to reinitialize libpthread's internal FIFO-queueingdeischen2003-11-044-30/+114
| | | | | | locks. Reviewed by: davidxu
OpenPOWER on IntegriCloud