Commit Graph

1483 Commits

Author SHA1 Message Date
csjp
cf4ea132d0 MFC rtld.c revision 1.124
Unset potentially harmful environment variables.

Discussed on:	seacteam
PR:		kern/109836
2007-07-14 19:04:00 +00:00
yar
b29966b1bd MFC revs. 1.19-1.22: Assorted small fixes. 2007-07-12 13:11:00 +00:00
pav
4a63faf670 MFC 1.42:
Markup fixes.
MFC 1.44:
  Expand documentation for LD_TRACE_LOADED_OBJECTS_FMT? variables
MFC 1.45:
  Remove %m formatter, it's ifdef 0'ed in the code from the very beginning
2007-05-19 11:20:31 +00:00
davidxu
f0dcb8d283 MFC Revision 1.123:
> Fix a TLS memory leak.
2007-05-15 08:10:15 +00:00
yar
676ef2544f MFC rev. 1.74: Remove references to S/Key and list OPIE. 2007-05-01 11:46:29 +00:00
yar
8751e4a7b1 MFC:
ftpd.c		1.212
	ftpcmd.y	1.66
	ftpd.8		1.72-1.73

Add support for RFC 2389 (FEAT) and RFC 2640 (UTF8) to ftpd(8).

PR:	bin/111714
2007-05-01 11:40:44 +00:00
jhb
90056bb78d MFC: Document LD_UTRACE. 2007-01-26 16:33:03 +00:00
jhb
27e3587df9 MFC: Add various utrace's to the ELF runtime linker/loader. 2007-01-23 22:31:45 +00:00
kib
8e9e807db4 MFC rev. 1.117, 1.118 and 1.119.
- When looking up the symbol by dlsym, look it not only in the object
  given as dso handle, but also in the implicit dependencies of that dso.
- Const-ify the read-only parameter objlist of symlook_list.
- Clean up white spaces and fix style(9).

Patch backported by:	jkim
2007-01-16 07:51:04 +00:00
obrien
6075c8df8f Fix ARM build:
1. NO_FORTH needs to be defined
2. bootpd.c rev 1.24: make tv_sec a time_t
3. authpf.c rev 1.7: handle timeval.tv_sec change from long to time_t

Approved by:	re(BMAH)
2006-11-17 00:32:53 +00:00
obrien
a5a1672a5d MFC: build bits matching LukeM's ftpd 31-Aug-2006 update. 2006-09-07 20:02:23 +00:00
marcel
1f2c528417 Define TLS_TCB_SIZE, needed by allocate_tls() and free_tls(). 2006-09-03 05:15:00 +00:00
marcel
bf5166c879 MFC TLS variant I fixes. 2006-09-02 20:38:13 +00:00
cvs2svn
426c6cabbb This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-09-02 09:56:29 +00:00
marcel
27e7d48201 MFC TLS fixes. 2006-09-02 00:59:35 +00:00
dougb
d6ed2ea2fa MFC revision 1.4 which silently ignores errors while sourcing rc.conf*
files, simplifies the file rotation logic, and makes it slightly
more secure.
2006-09-01 23:58:46 +00:00
yar
43cc84ae19 MFC r1.19:
- Improve and extend mark-up.
  - Don't use full path in .Nm (we just don't do that).
  - Correct some frivolous and poorly rendering language,
    such as using possessive case for .Nm or .Fl .
  - Use the same capitalization for "user ID" as in setuid(2) and getuid(2).
  - Bring SEE ALSO in accord with the text.
2006-08-12 18:31:56 +00:00
yar
226fdc6533 MFC: Make it actually possible to disable INET6 support in ftpd(8). 2006-06-14 07:42:45 +00:00
pav
ea5b0e487d MFC 1.41:
- Document LD_32_* environment variables
  - Mention 32-bit files in FILES section
2006-05-14 19:25:36 +00:00
ume
d9e0ace474 MFC 1.210:
- Reduce needless DNS query by lookup only appropriate address
  family.
- Specify appropriate hints to getaddrinfo(3).
- Obtain address family from peername in inetd mode.

Approved by:	re (mux)
2006-03-09 09:15:34 +00:00
yar
5972439952 MFC recent ftpd fixes related to handling the pidfile and unneeded
open sockets when in stand-alone daemon mode:

ftpd.c    1.207-1.209
ftpd.8    1.70-1.71
2006-01-29 13:21:05 +00:00
marcel
4ef2eebeda MFC ia64 psABI conformance changes:
s/R_IA64_/R_IA_64_/
	s/DT_IA64_/DT_IA_64_/

	libexec/rtld-elf/ia64/reloc.c:1.17,1.18
	libexec/rtld-elf/ia64/rtld_start.S:1.4
	sys/boot/ia64/efi/start.S:1.9,1.10
	sys/ia64/ia64/elf_machdep.c:1.23
	sys/ia64/ia64/genassym.c:1.42
	sys/ia64/ia64/locore.S:1.39
	sys/ia64/include/elf.h:1.12,1.13,1.14
	usr.bin/elfdump/elfdump.c:1.14
2006-01-28 18:40:55 +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
jhb
4d00ca61c0 MFC: Include the size of the DL_serpath structures in the total size used
in the RTLD_DI_SERINFOSIZE and RTLD_DI_SERINFO requests.
2005-11-28 19:19:39 +00:00
ru
650c9150fd MFC: 1.5: Style. 2005-11-16 08:01:07 +00:00
peter
db8830bc2d Clean out the leftovers from the i386_set_gsbase() TLS conversion.
Like on libthr, there is an i386_set_gsbase() stub implementation here
to avoid libc.so.5 issues.  This should likely be a weak symbol and I
expect this will be fixed soon.

Approved by:	re
2005-06-29 23:15:36 +00:00
ru
e2200cd04b Removed trailing whitespace.
Approved by:	re (blanket)
2005-06-14 08:41:11 +00:00
ru
bd91acfc56 Bump document date on behalf of a recent change.
Approved by:	re (blanket)
2005-06-14 08:40:10 +00:00
nectar
a23214e059 Remove rexecd(8), a server that implements a particularly insecure
method of executing commands remotely.  There are no rexec clients in
the FreeBSD tree, and the client function rexec(3) is present only in
libcompat.  It has been documented as "obsolete" since 4.3BSD, and its
use has been discouraged in the man page for over 10 years.
2005-06-10 20:52:36 +00:00
des
2bb8de20fe Remove kludges intended to support src trees with partial obj trees.
Discussed with:	ru
2005-06-10 06:12:53 +00:00
marius
4eca37e10b MFNetBSD: src/libexec/ld.elf_so/arch/sparc64/mdreloc.c 1.26 (partial)
Fix an obvious bug in the 64-bit PLT fixup: the SLLX was by 12 bits, when
it should be 32.

MFC after:	1 month
2005-06-04 20:49:15 +00:00
marcel
97c723a388 Fix the load64 and store64 macros, created to handle 8-byte unaligned
loads and stores (resp.) The ldq_u and stq_u instruction mask off the
lower 3 bits of the final address before loading from or storing to
the address, so as to avoid unaligned loads and stores. They do not
themselves allow loads from or stores to unaligned addresses. Replace
the macro definitions by a packed struct dereference.

Submitted by: Richard Henderson (rth at twiddle dot net)
2005-06-02 05:34:08 +00:00
maxim
7a5321874f o Missed colon in getopt(3) argument makes tftpd(8) crash. Fix that.
PR:		misc/81732
Submitted by:	Denis Grudkin
MFC after:	2 weeks
2005-05-31 17:22:53 +00:00
eivind
b83d3b8bcc Fixup of last commit: Use the name X instead of XFree86 for the server binary,
thus being compatible with both XFree86 and X.org.

Noticed by: danfe
2005-05-27 06:07:21 +00:00
eivind
5594ff1b13 Make the example for using xterm as a login manager to match the X of the
noughties, not eighties.
2005-05-27 00:39:11 +00:00
dfr
46ba1c3d37 Align the stack to a 16 byte boundary before calling _rtld so that we can
safely initialise shared libraries that use SSE in their init sections.

MFC After: 1 week
2005-05-19 07:32:42 +00:00
keramida
4bf80fbbcf Switch to WARNS=2 instead of tinkering directly with CFLAGS (level 2 was
picked because higher warn levels are broken for ftp-proxy at the moment).

Approved by:	mlaier
2005-05-18 12:19:50 +00:00
obrien
06fef1a964 Enable lukemftpd for 6.0-RELEASE. 2005-05-16 17:12:23 +00:00
ume
e33ba03345 NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 defines
NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special
for it, now.
2005-05-13 16:31:11 +00:00
jmallett
f0d513b44e Spell SHUT_RDWR as SHUT_RDWR not 2 as the how argument to shutdown(2). 2005-05-11 02:43:04 +00:00
jmallett
72198c2a2f Spell SHUT_RDWR as SHUT_RDWR not 1+1 as the how argument to shutdown(2). 2005-05-11 02:41:39 +00:00
delphij
847a7e5295 Prevent usage of nested externs. 2005-05-06 15:28:54 +00:00
davidxu
581ef8042b Fix compilation problem. 2005-04-27 13:17:23 +00:00
peter
55bba67087 Stop calling _amd64_set_gsbase() for COMPAT_32BIT. The amd64 kernel
implements i386_set_gsbase(), so there is no need for the variation.
2005-04-26 20:38:44 +00:00
das
e2b9708f18 s/int/size_t/ as appropriate.
Noticed by:	bde
2005-04-17 01:06:37 +00:00
peter
1fad513bbc Attempt to use i386_set_gsbase(), and gracefully fall back to LDT methods
if the direct access methods are not implemented.
2005-04-14 00:04:50 +00:00
dougb
bb01989367 The script mistakenly ignores the entropy_save_sz variable from
rc.conf[.local]. Fix this, and leave the default as 2048.

Update the copyright year to include the present.

Update the assignment of the copyright to be me personally,
instead of "The FreeBSD Project" which is not a legal entity,
and therefore not a proper assignee. My intention remains the
same however, that this code continue to be BSD licensed, and
freely available to anyone that wants it under those terms.

PR:		conf/75722
Submitted by:	Nicolas Rachinsky <list@rachinsky.de>
2005-04-11 02:07:33 +00:00
des
ca18f36fa5 Revert parts of previous commits and use a temporary variable to avoid
an invalid type pun.
2005-04-08 11:19:50 +00:00
cognet
6bb6868e16 No need to provide atomic_cmpset_32() anymore. 2005-04-07 22:04:49 +00:00
nectar
32eab0f970 An array was mistaken for a pointer in the previous commit.
Noticed by:	tinderbox, stefanf
Pointy hat to:	nectar
2005-04-07 19:26:35 +00:00