aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* MFC TLS fixes.Marcel Moolenaar2006-09-021-2/+1
| | | | Notes: svn path=/stable/6/; revision=161911
* MFC revision 1.43:Ceri Davies2006-09-021-2/+11
| | | | | | | Note that the system only allows a maximum of kern.kq_calloutmax timers. Notes: svn path=/stable/6/; revision=161899
* Merge src/lib/Makefile:1.211 and src/lib/libbsm/Makefile:1.2-1.3 fromRobert Watson2006-09-021-1/+1
| | | | | | | | | | | HEAD to RELENG_6: Add libbsm to the library build. Obtained from: TrustedBSD Project Notes: svn path=/stable/6/; revision=161895
* This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2006-09-021-0/+141
| | | | Notes: svn path=/stable/6/; revision=161867
* MFC TLS fixes.Marcel Moolenaar2006-09-025-30/+24
| | | | Notes: svn path=/stable/6/; revision=161854
* MFC rev 1.58:Yaroslav Tykhiy2006-09-011-1/+6
| | | | | | | | Recognize the existence of `auth' and `auth-type' capabilities but tell they do nothing in the base system. Notes: svn path=/stable/6/; revision=161817
* MFC 1.37 + 1.38:Poul-Henning Kamp2006-09-011-3/+3
| | | | | | | | | Save errno before trying mutex lock. Properly return length of rendered characters to printf code. Notes: svn path=/stable/6/; revision=161814
* Sync with -current:David Malone2006-08-213-180/+729
| | | | | | | | | | | | - allow matching on subject: ranges of uid, ranges of gid, jail id and object: ranges of uid, ranges of gid, filesystem, object is suid, object is sgid, object matches subject uid/gid, object type. This involves an ABI change between the kernel module and libugidfw, but no change between applications and ugidfw. Notes: svn path=/stable/6/; revision=161513
* MFC rev. 1.16: Fix off-by-one.Marcel Moolenaar2006-08-171-0/+2
| | | | Notes: svn path=/stable/6/; revision=161421
* MFC rev. 1.20: s/shmid_ds/msqid_ds/.Maxim Konovalov2006-08-161-1/+1
| | | | Notes: svn path=/stable/6/; revision=161348
* MFC 1.18: Conditionally include sys/mkdev.h on platforms that need it.Tim Kientzle2006-08-151-0/+3
| | | | Notes: svn path=/stable/6/; revision=161298
* MFC 1.17: Don't let the "recursive add" check trigger if it was never set.Tim Kientzle2006-08-151-1/+3
| | | | Notes: svn path=/stable/6/; revision=161297
* MFC the most visible bits of the corrections by Darren Pilgrim:Yaroslav Tykhiy2006-08-121-1/+1
| | | | | | | | | | src/games/fortune/datfiles/fortunes 1.224 src/lib/libc/sys/kse.2 1.18 src/share/doc/papers/timecounter/timecounter.ms 1.4 src/share/man/man4/devctl.4 1.5 Notes: svn path=/stable/6/; revision=161254
* MFC revision 1.12:Thomas Quinot2006-08-111-3/+3
| | | | | | | | | | | Fix a stub function (pthread_cond_wait) so that is has the correct number of arguments. Fixes some cases of seg faults due to the actual pthread_cond_wait being called with a bogus mutex pointer. Notes: svn path=/stable/6/; revision=161215
* MFC 1.3: Check if the filedes of kevent is expected one.Hajimu UMEMOTO2006-08-071-0/+4
| | | | | | | | | | Though our 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. Notes: svn path=/stable/6/; revision=161049
* MFC 1.3: _close() should be called instead of close() here.Hajimu UMEMOTO2006-08-071-2/+6
| | | | Notes: svn path=/stable/6/; revision=161048
* MFC libarchive 1.2.53 to FreeBSD 6.Tim Kientzle2006-07-3032-509/+1222
| | | | | | | | | | | | | * Fixes bin/86690 (sparse file extraction) * Fixes bin/87911 (assertion failure after failed open) * Corrects handling of very old files (negative mtime) * Better error checking for memory allocation failures * Style and portability fixes * Documentation corrections * Initial extended attribute support Notes: svn path=/stable/6/; revision=160832
* MFC 1.85: do not overload the port number on to the return value ofHajimu UMEMOTO2006-07-301-8/+9
| | | | | | | str2number(). this could result in an unexpected code path. Notes: svn path=/stable/6/; revision=160831
* MFC 1.59, 1.60:Hajimu UMEMOTO2006-07-291-87/+159
| | | | | | | | | - draft-ietf-ipngwg-icmp-namelookups-09 - make it compilable - stop use of mutex lock in ICMP lookup. Notes: svn path=/stable/6/; revision=160807
* MFC 1.81-1.83:Hajimu UMEMOTO2006-07-291-64/+43
| | | | | | | | | | | | - clean-up: rewrote explore_null and explore_numeric without using sentinel. we do not need it since we make (at most) a single addrinfo entry in these cases. - RFC3493 requires use of inet_aton for AF_INET. - simplification in explore_numeric: unified the post-process with GET_AI and GET_PORT. Commented on an impossible case. Notes: svn path=/stable/6/; revision=160806
* MFC rev. 1.35: complete fix for large group lines parsing.Maxim Konovalov2006-07-281-4/+6
| | | | Notes: svn path=/stable/6/; revision=160790
* MFC 1.84: remove obsolete comments.Hajimu UMEMOTO2006-07-251-8/+0
| | | | Notes: svn path=/stable/6/; revision=160673
* MFC: Bring libkvm side of minidumps to 6.x on i386 and amd64.Peter Wemm2006-07-246-2/+31
| | | | | | | Reminded by: emaste Notes: svn path=/stable/6/; revision=160634
* MFC: (1.92, 1.94) use CDUPDag-Erling Smørgrav2006-07-221-29/+175
| | | | | | | | (1.93) ignore MODE failure (1.95) respect FETCH_BIND_ADDRESS Notes: svn path=/stable/6/; revision=160563
* MFC rev. 1.25Konstantin Belousov2006-07-211-2/+2
| | | | | | | | | | | Document new mincore behaviour, the mincore(2) returns ENOMEM when requested range is not fully mapped. Reminded by: pjd Approved by: pjd (mentor) Notes: svn path=/stable/6/; revision=160539
* MFC 1.31: Use a prototype for res_init().Stefan Farfeleder2006-07-201-1/+1
| | | | Notes: svn path=/stable/6/; revision=160520
* Fix typo, error not present in HEAD.Christian Brueffer2006-07-181-1/+1
| | | | | | | Submitted by: Jilles Tjoelker Notes: svn path=/stable/6/; revision=160470
* MFC:Hajimu UMEMOTO2006-07-1766-8600/+1634
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update the resolver in libc to BIND9's one. - make reentrant version of netdb functions glibc style API, and expose them to outside of libc. - make netdb functions NSS friendly. include/Makefile 1.261 include/arpa/inet.h 1.26 include/arpa/nameser.h 1.18 include/arpa/nameser_compat.h 1.5 include/netdb.h 1.40-1.42 include/res_update.h 1.1 include/resolv.h 1.29-1.30 lib/libc/Makefile 1.64 lib/libc/include/isc/eventlib.h 1.1.1.1 lib/libc/include/port_after.h 1.1-1.2 lib/libc/include/port_before.h 1.1 lib/libc/include/resolv_mt.h 1.1.1.1 lib/libc/inet/Makefile.inc 1.1 lib/libc/inet/inet_addr.c 1.1.1.1, 1.2 lib/libc/inet/inet_cidr_ntop.c 1.1.1.1 lib/libc/inet/inet_cidr_pton.c 1.1.1.1, 1.2 lib/libc/inet/inet_lnaof.c 1.1.1.1, 1.2 lib/libc/inet/inet_makeaddr.c 1.1.1.1, 1.2 lib/libc/inet/inet_net_ntop.c 1.1.1.1, 1.2 lib/libc/inet/inet_net_pton.c 1.1.1.1, 1.2 lib/libc/inet/inet_neta.c 1.1.1.1, 1.2 lib/libc/inet/inet_netof.c 1.1.1.1, 1.2 lib/libc/inet/inet_network.c 1.1.1.1, 1.2 lib/libc/inet/inet_ntoa.c 1.1.1.1, 1.2 lib/libc/inet/inet_ntop.c 1.1.1.1, 1.2 lib/libc/inet/inet_pton.c 1.1.1.1, 1.2 lib/libc/inet/nsap_addr.c 1.1.1.1, 1.2 lib/libc/isc/Makefile.inc 1.1 lib/libc/isc/ev_streams.c 1.1.1.1, 1.2 lib/libc/isc/ev_timers.c 1.1.1.1, 1.2 lib/libc/isc/eventlib_p.h 1.1.1.1, 1.2 lib/libc/nameser/Makefile.inc 1.1 lib/libc/nameser/ns_name.c 1.1.1.1 lib/libc/nameser/ns_netint.c 1.1.1.1 lib/libc/nameser/ns_parse.c 1.1.1.1 lib/libc/nameser/ns_print.c 1.1.1.1, 1.2 lib/libc/nameser/ns_samedomain.c 1.1.1.1, 1.2 lib/libc/nameser/ns_ttl.c 1.1.1.1 lib/libc/net/Makefile.inc 1.58 lib/libc/net/getaddrinfo.c 1.74, 1.77-1.78 lib/libc/net/gethostbydns.c 1.55-1.57 lib/libc/net/gethostbyht.c 1.24-1.26 lib/libc/net/gethostbyname.3 1.35 lib/libc/net/gethostbynis.c 1.26-1.28 lib/libc/net/gethostnamadr.c 1.29-1.30, 1.32 lib/libc/net/getnameinfo.c 1.18 lib/libc/net/getnetbydns.c 1.32-1.33 lib/libc/net/getnetbyht.c 1.17-1.18 lib/libc/net/getnetbynis.c 1.20-1.21 lib/libc/net/getnetnamadr.c 1.22 lib/libc/net/getproto.c 1.5 lib/libc/net/getprotoent.c 1.7 lib/libc/net/getprotoname.c 1.5 lib/libc/net/getservbyname.c 1.8 lib/libc/net/getservbyport.c 1.8 lib/libc/net/getservent.c 1.21 lib/libc/net/name6.c 1.56-1.57 lib/libc/net/netdb_private.h 1.10-1.11, 1.13 lib/libc/net/res_config.h 1.9 lib/libc/net/res_mkupdate.c 1.7-1.8 lib/libc/net/res_update.c 1.8-1.9 lib/libc/resolv/Makefile.inc 1.1 lib/libc/resolv/h_errno.c 1.1 lib/libc/resolv/herror.c 1.1.1.1, 1.2 lib/libc/resolv/mtctxres.c 1.1.1.1, 1.2 lib/libc/resolv/res_comp.c 1.1.1.1, 1.2 lib/libc/resolv/res_data.c 1.1.1.1, 1.2-1.3 lib/libc/resolv/res_debug.c 1.1.1.1, 1.2 lib/libc/resolv/res_debug.h 1.1.1.1 lib/libc/resolv/res_init.c 1.1.1.1, 1.2 lib/libc/resolv/res_mkquery.c 1.1.1.1, 1.2 lib/libc/resolv/res_private.h 1.1.1.1 lib/libc/resolv/res_query.c 1.1.1.1, 1.2-1.3 lib/libc/resolv/res_send.c 1.1.1.1, 1.2 lib/libc/resolv/res_state.c 1.1-1.2 Tested by: nork Notes: svn path=/stable/6/; revision=160429
* Fix build by making this look like rev. 1.25.Ruslan Ermilov2006-07-141-3/+5
| | | | Notes: svn path=/stable/6/; revision=160353
* MFC: include ssh_namespace.hDag-Erling Smørgrav2006-07-141-2/+4
| | | | Notes: svn path=/stable/6/; revision=160340
* MFC manual for sigwaitinfo and sigtimedwait syscalls.David Xu2006-07-132-3/+2
| | | | | | | PR: doc/90711 Notes: svn path=/stable/6/; revision=160324
* MFC rev. 1.4.Konstantin Belousov2006-07-051-2/+3
| | | | | | | | | | | Replace absolute addressing in the call instructions with position-independend calls. This eliminates TEXTREL from libc, making its text segment relocatable. PR: i386/85242 Approved by: kan (mentor) Notes: svn path=/stable/6/; revision=160110
* MFC rev. 1.34: record a file offset for a last successfully parsedMaxim Konovalov2006-07-011-0/+8
| | | | | | | | group file line. If the initial buffer size (1KB) for the given group line is not big enough, reset the offset. Notes: svn path=/stable/6/; revision=160061
* MFC:Poul-Henning Kamp2006-06-255-6/+26
| | | | | | | Extensible printf implementation compatible with GLIBC Notes: svn path=/stable/6/; revision=159920
* MFC 1.26 and bump date.Giorgos Keramidas2006-06-231-3/+48
| | | | | | | | | | | | | | | | | | | | | # * Document the fact that non-superusers cannot change file flags for # objects with SF_IMMUTABLE, SF_APPEND, or SF_NOUNLINK. # * Document that non-superusers cannot set or clear any SF_* flag # (setting fails with EPERM, clearing is silently ignored). # * Document that superusers cannot change any flag if one of # SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK is set and securelevel is # greater than 0. # * Document SF_SNAPSHOT and note that it is maintained by the # system and is, for this reason, impossible to set to clear by # any user. # # PR: docs/33877 # Submitted by: harti # Help by: George Marsellis <gam9478@njit.edu> # MFC after: 1 week Notes: svn path=/stable/6/; revision=159892
* MFC rev. 1.127 thr_private.h, rev. 1.85 thr_sig.c, rev. 1.24 thr_sigaction.c:Maxim Konovalov2006-06-233-7/+18
| | | | | | | make signal(SIGINFO, handler) work for libpthread. Notes: svn path=/stable/6/; revision=159877
* The malloc(3) manual page claim the options 'J' and 'Z' imply 'R'Giorgos Keramidas2006-06-201-7/+2
| | | | | | | | | | option, but this is not true for RELENG_6. PR: docs/99231 Submitted by: Dan Lukes <dan@obluda.cz> Notes: svn path=/stable/6/; revision=159815
* MFC revs. 1.276 and 1.277 ufs_vnops.c and rev. 1.18 truncate.2:Maxim Konovalov2006-06-141-1/+5
| | | | | | | silently ignore truncate requests for all but VREG, VLNK and VDIR. Notes: svn path=/stable/6/; revision=159602
* This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2006-06-122-0/+551
| | | | Notes: svn path=/stable/6/; revision=159558
* MFC:Maksim Yevmenkin2006-06-092-4/+4
| | | | | | | | | Fix an unwanted gcc4 warning. Submitted by: delphij Notes: svn path=/stable/6/; revision=159469
* MFC: 1.8Marius Strobl2006-06-061-4/+4
| | | | | | | | For _Qp_{fge,fgt,fle,flt}() the SCD states that "Exceptions mimic fcmpeq", this means they should set the cmpe flag when calling __fpu_compare(). Notes: svn path=/stable/6/; revision=159357
* MFC rev. 1.21 strtol.3 and rev. 1.22 strtoul.3: .Xr strtonum(3).Maxim Konovalov2006-05-292-0/+2
| | | | Notes: svn path=/stable/6/; revision=159035
* This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2006-05-255-0/+429
| | | | Notes: svn path=/stable/6/; revision=158908
* MFC: Correct decoding a string containing '/'.Jung-uk Kim2006-05-241-1/+1
| | | | | | | | PR: 97485 Submitted by: Mikko Tyolajarvi < mbsd at pacbell dot net > Notes: svn path=/stable/6/; revision=158896
* MFC 1.53 by peter:Gleb Smirnoff2006-05-241-22/+8
| | | | | | | We don't have 2Gb limitation since .Fx 2.2 Notes: svn path=/stable/6/; revision=158873
* MFC following revisions:David Xu2006-05-233-4/+44
| | | | | | | | | libpthread_db.c 1.11-1.14 libpthread_db.h 1.4 libthr_db.c 1.12 Notes: svn path=/stable/6/; revision=158853
* MFC following revisions:David Xu2006-05-232-0/+4
| | | | | | | | pthread.map 1.18 thread/thr_symbols.c 1.4 Notes: svn path=/stable/6/; revision=158852
* MFC: src/lib/libstand/printf.c 1.9Jung-uk Kim2006-05-221-9/+11
| | | | | | | | | src/sys/kern/subr_prf.c 1.123 Implement printf 'X' conversion for both libstand and kernel. Notes: svn path=/stable/6/; revision=158842
* MFC 1.14:Tom Rhodes2006-05-171-1/+1
| | | | | | | | | Fix a bug where, for 6-byte sequences, the top 6 bits get compared to 111111 rather than the top 7 bits being compared against 1111110 causing illegal bytes fe and ff being treated the same as legal bytes fc and fd. Notes: svn path=/stable/6/; revision=158695
* MFC revisions 1.10, 1.11.David Xu2006-05-171-0/+7
| | | | Notes: svn path=/stable/6/; revision=158677