Commit Graph

9859 Commits

Author SHA1 Message Date
stefanf
beb6b60f01 MFC: refresh.c 1.11: A refresh bug.
editline.3 1.26-1.29: Man page update and cleanup.
     editrc.5: 1.19: Man page cleanup.
2006-01-09 15:14:57 +00:00
marcel
14fe1a0c49 MFC standardization of the ELF types and update of the ELF constants:
lib/libc/gen/nlist.c:1.19
	libexec/rtld-elf/rtld.c:1.108
	libexec/rtld-elf/rtld.h:1.36
	libexec/rtld-elf/alpha/reloc.c:1.21
	libexec/rtld-elf/amd64/reloc.c:1.16
	libexec/rtld-elf/ia64/reloc.c:1.16
	libexec/rtld-elf/sparc64/reloc.c:1.11
	share/man/man5/elf.5:1.32-1.33
	sys/alpha/alpha/elf_machdep.c:1.20
	sys/amd64/amd64/elf_machdep.c:1.24
	sys/boot/common/bootstrap.h:1.42
	sys/boot/common/load_elf.c:1.33
	sys/boot/common/load_elf_obj.c:1.2
	sys/boot/common/reloc_elf.c:1.2
	sys/ia64/ia64/elf_machdep.c:1.21
	sys/kern/link_elf.c:1.87
	sys/kern/link_elf_obj.c:1.90
	sys/sparc64/sparc64/elf_machdep.c:1.20
	sys/sys/elf32.h:1.9-1.10
	sys/sys/elf64.h:1.11-1.13
	sys/sys/elf_common.h:1.16
	sys/sys/elf_generic.h:1.7
	sys/sys/imgact_elf.h:1.28
	sys/sys/linker.h:1.40
	usr.bin/elf2aout/elf2aout.c:1.10
	usr.bin/elfdump/elfdump.c:1.13
	usr.sbin/crunch/crunchide/exec_elf32.c:1.15
	usr.sbin/kldxref/ef.c:1.9
	usr.sbin/kldxref/ef.h:1.6
	usr.sbin/kldxref/ef_amd64.c:1.3
	usr.sbin/kldxref/ef_i386.c:1.3
	usr.sbin/kldxref/ef_obj.c:1.4
	usr.sbin/kldxref/ef_powerpc.c:1.3
	usr.sbin/kldxref/ef_sparc64.c:1.4-1.5
2005-12-30 22:13:59 +00:00
cvs2svn
30ca7bc8d2 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-12-30 16:45:32 +00:00
davidxu
93b322a2d4 Sync version number with libpthread. 2005-12-26 12:30:53 +00:00
davidxu
326a7a67d3 MFC following revisions to fix mutex memory leak for threaded program:
local.h		revision 1.28
	fread.c		revision 1.13
	vfscanf.c	revision 1.39
2005-12-23 06:07:43 +00:00
davidxu
deba570ebe MFC revision 1.20:
Clear return code to zero if joiner successfully waited joinee.
2005-12-22 01:50:44 +00:00
brooks
f3e6c8a71c MFC rev 1.6:
When removing the local domain, only do so when the result
	will be a host name.  This is matches the documented behaviro.
	The previous behavior would remove the domain name even if
	the result retained a dot.

	This fixes rsh connections from a.example.com to example.com.

This is also reported to fix rsh connections from host xxx to
yyy.example.com.

PR:		88301
2005-12-22 00:34:48 +00:00
davidxu
7002fc652f MFC revision 1.35:
Remove unused _get_curthread() call.
2005-12-15 07:28:19 +00:00
davidxu
5b11619181 MFC Revision 1.16:
Export following functions:
	_pthread_condattr_getpshared
	_pthread_condattr_setpshared
	_pthread_mutexattr_getpshared
	_pthread_mutexattr_setpshared
	pthread_condattr_getpshared
	pthread_condattr_setpshared
	pthread_mutexattr_getpshared
	pthread_mutexattr_setpshared
2005-12-15 07:25:00 +00:00
davidxu
0a8267e26b MFC:
Add file thr_mattr_pshared.c and thr_condattr_pshared.c.
2005-12-15 07:22:24 +00:00
davidxu
94186b25f2 MFC Revision 1.8:
Put pthread_condattr_init sorted order.
    Revision 1.7:
	Export following functions:
	_pthread_mutexattr_getpshared
	_pthread_mutexattr_setpshared
	pthread_condattr_getpshared
	pthread_condattr_setpshared
	pthread_mutexattr_getpshared
	pthread_mutexattr_setpshared
    Revision 1.6:
	Sort function names.
    Revision 1.5:
	Add function pthread_timedjoin_np.
2005-12-15 06:43:18 +00:00
davidxu
4fbab286c2 MFC:
thr_exit.c:
	Revision 1.19
	Fix code for user stack recycling.

    thr_join.c:
	Revision 1.18
	Fix code for user stack recycling.

	Revision 1.17
	Add function pthread_timedjoin_np.
2005-12-15 06:36:57 +00:00
davidxu
c031264bec MFC revision 1.3:
Add functions pthread_mutexattr_setpshared and
	pthread_mutexattr_getpshared.
2005-12-15 06:31:43 +00:00
des
32a42fa507 MFC: implement the full range of ISO9660 number conversion routines in iso.h. 2005-12-14 09:20:30 +00:00
des
2fcf6f75c3 MFC: (1.77) ignore HTTP_PROXY if it is defined but empty 2005-12-14 09:10:13 +00:00
jhb
3aad640c54 MFC: Restore the previous state after a FILL operation in
properties_read().
2005-12-05 20:10:44 +00:00
jhb
f41e06b49b MFC: Add MLINK for execvP(3). 2005-12-05 19:59:20 +00:00
davidxu
0a05924128 MFC Revision 1.11:
In raise(), use a shortcut to directly send signal to current thread.
MFC Revision 1.12:
	Remove a redundant _get_curthread() call.
2005-12-01 00:49:45 +00:00
tmclaugh
f8d191da17 MFC: Revision 1.60
Misspelling in Poul-Henning Kamp's email address under AUTHORS

Approved by:	ade
2005-11-30 04:19:40 +00:00
cvs2svn
2b0dd32330 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-11-22 19:17:43 +00:00
simon
d7c50e2dcb MFC 1.46:
Do not explicitly state how many bytes an argument list can be in the
description of E2BIG, since it's now larger on some platforms.
2005-11-22 19:13:09 +00:00
ru
0cca69ec25 MFC: Markup and misc. fixes. 2005-11-21 19:41:52 +00:00
ume
40cbc7d159 MFC 1.55: The KAME's getipnodebyaddr() code honor the
MULTI_PTRS_ARE_ALIASES define also, but res_config.h was not
included into libc/net/name6.c.  So getipnodebyaddr() ignored
the multiple PTRs.
2005-11-18 02:32:32 +00:00
rwatson
d937e2486d Merge Makefile:1.5 from HEAD to RELENG_6:
Add symlinks for kvm access methods for memstat(3).
2005-11-16 08:20:44 +00:00
ru
bbcc7bbd63 MFC: Finish the removal of threads support in ../config.mk,v 1.15. 2005-11-16 07:59:50 +00:00
ru
43f7bf1231 MFC: 1.9: Recognize all current standard node types. 2005-11-16 07:56:37 +00:00
ru
7d62c554b2 MFC: 1.13: Drop useless here SHLIB_MAJOR. 2005-11-16 07:26:26 +00:00
rwatson
f18dd0b7aa Merge libmemstat.3:1.9 from HEAD to RELENG_6:
Document kvm(3)-related error constants, and correct minor formatting
  nits.
2005-11-09 10:23:33 +00:00
rwatson
a8375631b1 Merge libmemstat.3:1.8, memstat.h:1.9, memstat_all.c:1.3,
memstat_malloc:1.6 from HEAD to RELENG_6:

  Teach libmemstat(3) how to extract malloc(9) statistics using kvm(3),
  so that libmemstat can be used to view full memory statistics from
  kernel core dumps and /dev/mem.  This is provided via a new query
  function, memstat_kvm_malloc(), which is also automatically invoked
  by memstat_kvm_all().  A kvm handle must be passed in.

  This will allow malloc(9)-specific code to be removed from vmstat(8).
2005-11-09 10:22:28 +00:00
rwatson
eb288312be Merge libmemstat.3:1.7, memstat.c:1.7, memstat.h:1.8, memstat_all.c:1.2,
memstat_uma.c:1.10 from HEAD to RELENG_6:

  Add memstat_kvm_uma(), an implementation of a libmemstat(3) query routine
  that knows how to extract UMA(9) allocator statistics from a core dump or
  live memory image using kvm(3).  The caller is expected to provide the
  necessary kvm_t handle, which is then used by libmemstat(3).

  With these changes, it is trivially straight forward to re-introduce
  vmstat -z support on core dumps, which was lost when UMA was introduced.

  In the short term, this requires including vm/ include files that are not
  intended for extra-kernel use, requiring in turn some ugliness.

Merge memstat_uma.c:1.11 from HEAD to RELENG_6:

  Define LIBMEMSTAT so that vm_page.h won't perform a nested include of
  opt_vmpage.h.

  Remove definition of _KERNEL, it is no longer required in order to
  include uma_int.h, as the sensitive parts of uma_int.h (a number of
  inlines depending on kernel-only constants) are now protected by
  _KERNEL.

The use of LIBMEMSTAT here will be cleaned up in the future.
2005-11-09 10:20:48 +00:00
peter
a15f17eca3 MFC: Fix fencepost error that made libkvm fail to read crashdumps.
Approved by: re
2005-10-26 00:07:25 +00:00
cvs2svn
1ad5f43971 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-10-24 05:35:41 +00:00
davidxu
cd55799acc MFC revision 1.24:
> The pthread_attr_set_createsuspend_np was broken, fix it by
 > replacing THR_FLAGS_SUSPENDED with THR_FLAGS_NEED_SUSPEND.

Approved by: re (scottl)
2005-10-11 23:24:25 +00:00
delphij
f93a29eca0 MFC stefanf's work on libedit. This includes a sync with NetBSD/OpenBSD
and some bugfixes.

Approved by:	re (scottl)
2005-10-09 03:44:01 +00:00
pjd
8660beb374 MFC: lib/libmd/sha256.3 1.3
Correct type.

Approved by:	re (scottl)
Requested by:	delphij
OK'ed by:	cperciva
2005-10-08 21:46:23 +00:00
delphij
6092a2ab34 MFC (by ume)
| refer RFC 3542 rather than RFC 2292bis.
|
| Submitted by:   Keiichi SHIMA <keiichi__at__iijlab.net>
| Obtained from:  KAME
|
| Revision  Changes    Path
| 1.8       +2 -2      src/lib/libc/net/ip6opt.c
| 1.25      +1 -1      src/lib/libc/net/rcmd.3 (already merged)
| 1.8       +1 -1      src/lib/libc/net/rthdr.c

Approved by:	re (scottl)
2005-10-08 20:58:29 +00:00
delphij
6c069067ed MFC (by ume)
| fixed the validation code of routing header length in inet6_rth_getaddr().
| reported by Delia Kecskemeti <delia.kecskemeti__at__windriver.com>
|
| Submitted by:   Keiichi SHIMA <keiichi__at__iijlab.net>
| Obtained from:  KAME
|
| Revision  Changes    Path
| 1.7       +3 -4      src/lib/libc/net/rthdr.c

Approved by:	re (scottl)
2005-10-08 20:52:53 +00:00
delphij
7eae1cb08f MFC (by deischen)
|  Add usleep to the map files.
|
|  Noticed by:     davidxu
|
|  Revision  Changes    Path
|  1.15      +2 -0      src/lib/libpthread/pthread.map
|  1.4       +2 -0      src/lib/libthr/pthread.map

Approved by:	re (kensmith)
Ok'ed by:	deischen, davidxu
2005-10-08 17:58:11 +00:00
delphij
1a10afa24f MFC (by deischen)
|  Add a cancellation point for usleep().
|
|  Revision  Changes    Path
|  1.9       +16 -1     src/lib/libpthread/thread/thr_sleep.c

Approved by:	re (kensmith)
Ok'ed by:	deischen, davidxu
2005-10-08 17:57:49 +00:00
delphij
c87122e6d8 MFC (by deischen)
|  Add a cancellation point for usleep().
|
|  While here, fix sleep() so that it is also a cancellation point (a
|  missing weak reference prevented that).
|
|  Revision  Changes    Path
|  1.10      +19 -0     src/lib/libthr/thread/thr_syscalls.c

Approved by:	re (kensmith)
Ok'ed by:	deischen, davidxu
2005-10-08 17:57:28 +00:00
delphij
50d80715c4 MFC (by deischen)
|  Make syslog() use the internal (non-cancellation point) _usleep().
|  Prior to this it was calling the cancellable usleep() while holding
|  a lock.
|
|  Revision  Changes    Path
|  1.36      +1 -1      src/lib/libc/gen/syslog.c

Approved by:	re (kensmith)
Ok'ed by:	deischen, davidxu
2005-10-08 17:57:10 +00:00
delphij
1de4269756 MFC (by deischen)
| Make usleep() overridable by the thread libraries so they can provide
| cancellation points.
|
| Noticed by:     phk
|
| Revision  Changes    Path
| 1.29      +4 -1      src/lib/libc/gen/usleep.c

Approved by:	re (kensmith)
Ok'ed by:	deischen, davidxu
2005-10-08 17:56:53 +00:00
delphij
0273af281b MFC (by deischen)
| Add namespace #defines for usleep.
|
| Revision  Changes    Path
| 1.17      +1 -0      src/lib/libc/include/namespace.h
| 1.14      +1 -0      src/lib/libc/include/un-namespace.h

Approved by:	re (kensmith)
Ok'ed by:	deischen, davidxu
2005-10-08 17:56:33 +00:00
jon
aedee39383 MFC of 1.34: fix innetgr() returning false positives and negatives when reverse netgroup matching is used.
PR:		35506
Approved by:	re
2005-10-07 19:38:07 +00:00
ache
7e1a58e7bc MFC: 1.26-1.28
Approved by: re
2005-10-04 14:33:09 +00:00
ache
9894c5fb7c MFC: 1.23
Approved by: re
2005-10-04 14:31:10 +00:00
des
b0f5f61587 MFC: don't take unprotected keys into account for authentication.
PR:		bin/81231
Approved by:	re (kensmith)
2005-09-30 14:02:29 +00:00
brueffer
bda3ce0621 MFC: rev. 1.2
Use the correct function name as .Nm argument.

Approved by:	re (hrs)
2005-09-24 07:13:37 +00:00
keramida
754be4de67 MFC: a lot of manpage fixes from HEAD.
Approved by:	re (hrs)
2005-09-24 01:59:40 +00:00
kientzle
77b68075b4 MFC archive_read_extract.c 1.42 and 1.43: Correctly restore file flags.
Approved by: re
2005-09-21 03:12:45 +00:00