jmmv
d8ef502768
Add the atf-exec and atf-killpg tools that come with atf 0.4.
2008-02-04 20:31:32 +00:00
christos
b11674e1a4
move gettytab to paths.h
2008-02-04 15:27:20 +00:00
mrg
e972654d70
support MKCRYPTO=no:
...
- don't link -lssl -lcrypto
- -DNO_SSL_SUPPORT
2008-02-03 23:48:09 +00:00
lukem
d9ce2acdd5
Explicitly note the unsupported requests from RFC 2228.
...
Improvements from FreeBSD:
* Document `ftp-chroot' from login.conf(5).
* Document that SIZE is prevented for files > 10240 bytes via ASCII transfers.
2008-01-30 02:16:35 +00:00
yamt
8c93baa802
constify
2008-01-14 08:53:42 +00:00
yamt
8a58f724e1
tabify
2008-01-14 08:52:16 +00:00
simonb
d8de5b102b
Remove support for NetBSD/pc532.
2008-01-09 11:25:58 +00:00
christos
8fb14189dc
make this compile again.
2007-12-29 01:44:03 +00:00
ad
2b5d04688e
Make it build with src/sys from the vmlocking2 branch.
2007-12-28 21:44:32 +00:00
christos
716fde8fa0
simplify; mapbase == vaddrbase from the PaX author.
2007-12-28 19:36:21 +00:00
christos
8636ab52f6
Deal with ASLR PIE executables, by recognizing that phdr != phdr->v_addr
...
for PT_PHDR headers when the program has been loader to a vaddr other than
then one specified (a randomized one), and modifying the relocation base
address appropriately (idea from elad)
2007-12-26 21:14:41 +00:00
christos
8b0637156f
No need for stack_protector.o if USE_FORT is no.
...
XXX: compiling a binary with -Wl,--dynamic-linker,${NETBSDSRCDIR}/libexec/...
results in stack overflow. Investigate!
2007-12-26 21:11:52 +00:00
christos
5ad1b72097
print the symbol we are seaching for [when debugging]
2007-12-26 21:10:03 +00:00
perry
9dfe283011
remove cdefs.h at mrg's request
2007-12-16 02:38:24 +00:00
perry
8b0f9554ff
convert __attribute__s to applicable cdefs.h macros
2007-12-15 19:44:37 +00:00
perry
36c7456d7c
include sys/cdefs.h so that __attribute__ can be fixed later
2007-12-15 16:32:05 +00:00
ad
558a5ffd0f
rtld changes for PR bin/37347:
...
- Apply patch from J.T. Conklin to execute .init/.fini functions in order.
- Support DF_1_INITFIRST and mark libc with DF_1_INITFIRST. Shared libs
should be recording a dependency on libc, but it's too late to do that.
Ok christos@.
2007-12-07 20:34:04 +00:00
isaki
5b22b72692
white space fix.
2007-12-03 09:54:24 +00:00
wiz
04cd5014b6
filetypes -> file types.
2007-12-02 19:15:07 +00:00
christos
496f9be3e8
support %z
2007-11-24 18:32:26 +00:00
ad
71ac015ebf
stack_protector.c has moved.
2007-11-13 15:34:51 +00:00
jmmv
9d5a9c0d86
Add the atf tools
...
This adds reachover Makefiles to build and install the atf tools.
Some are public, thus installed in /usr/bin, and others are internal
and therefore installed in /usr/libexec.
2007-11-12 15:00:00 +00:00
rtr
3aa5278c3a
- remove const from h_header, this pointer is occasionally free'd
...
- remove unused write_str var
+ move header parsing to new function separation of parsing vs processing
+ alter some variable names to avoid confusion between header value and
header name (caused breakage with previous rev)
2007-11-04 15:20:11 +00:00
rtr
6dc1829962
+ don't free strdup()'d ptr that was manipulated.
...
(i.e. free(): warning: modified (chunk-) pointer))
+ don't leak memory for ptr actually returned from strdup()
+ don't strdup() if we don't have to
+ don't break without free() if we did strdup()
+ as well as freeing h_value also free the header.
2007-11-04 06:07:52 +00:00
skrll
29353f93e2
Build a local copy of exit that doesn't call __cxa_finalize. It's not
...
needed and drags in a lot of libc via free.
2007-10-30 17:19:59 +00:00
christos
ed1a8fea8d
build stack protector locally so that we don't call syslog_ss that results
...
in 1/2 of libc dragged in.
2007-10-29 20:36:31 +00:00
ad
bc89ba23ac
Make the dir indexes less ugly (horizontal rules were out of place).
2007-10-18 18:53:59 +00:00
he
a9cf29f812
A build for sun2 reveals that we also need -lcrypt, as auth-bozo.c
...
otherwise gets an unsatisfied reference to crypt().
2007-10-18 17:43:02 +00:00
tls
18c80b6525
RCS IDs
2007-10-17 18:47:59 +00:00
tls
13d3c473b0
Fix two memory leaks noted by Coverity (CID-4694, CIT-4695) and use
...
SIMPLEQ_FOREACH where possible. Patch from Arnaud Lacombe.
2007-10-17 18:43:46 +00:00
reed
15823ba9ad
Document .htpasswd / HTTP "Basic" authentication support.
...
Update date of man page too.
2007-10-17 13:55:46 +00:00
reed
7c5821fbe4
Fix typo in EXAMPLES (unknown service).
...
While there mention inetd.conf(5) again (since in a new section of man page).
2007-10-17 13:33:18 +00:00
reed
dbfaed2362
Fix typo on Makefile which causes HTTP Authentication support
...
to not be used.
Now fix auth-bozo.c to not have warnings "may be used uninitialized"
and pointer targets "differ in signedness".
2007-10-17 13:27:19 +00:00
reed
ca8ed3ab02
Remove extra period.
2007-10-16 22:50:01 +00:00
tls
215e50961e
Add httpd to the build. Add _httpd to passwd and groups and postinstall.
...
Add /var/www to mtree, add example line to inetd.conf.
2007-10-16 02:47:12 +00:00
tls
1d63366b2d
Get httpd ready for inclusion in build.
2007-10-16 01:31:03 +00:00
tls
ba6eac50dd
Move bozohttpd.8 to httpd.8
2007-10-16 01:29:44 +00:00
tls
60dbe74596
Import of bozohttpd for its originally intended purpose: a small (~30k)
...
simple run-from-inetd httpd suitable for small systems (and some large
ones).
2007-10-16 01:14:01 +00:00
ad
9c5739f1c6
brelse() now takes two arguments.
2007-10-08 21:41:12 +00:00
ad
bf4b000d16
- Don't use the names malloc/free/etc, since we can end up pulling in libc's
...
malloc which is not what we want.
- Remove ancient memory compaction hack. Realloc on free memory is now an
error again (from joerg@).
Ok christos@.
2007-10-05 22:21:07 +00:00
christos
596c6ec5db
provide xrealloc, and don't cast and use malloc and realloc directly.
2007-09-27 17:52:16 +00:00
christos
2cce1500a2
If we are using SSP, compile in a separate copy of the stack protector
...
functions so that we don't end up calling syslog_ss() which drags in
a large portion of libc. Found by skrll...
2007-09-27 17:51:40 +00:00
christos
6f875d32e2
Don't trust AT_SUN_EXECNAME, if we are set{u,g}id.
2007-09-21 13:57:09 +00:00
christos
6eac115581
delete debug printf
...
make regress compile again.
2007-09-20 19:42:53 +00:00
christos
40cfdb5e3a
Use AT_SUN_EXECPATH instead of argv[0] for the executable name. This needs
...
kernel support, which is not there yet, thus $ORIGIN is broken at this time.
This is ok, nothing uses it yet.
2007-09-20 14:14:25 +00:00
cube
f7779133cd
Don't remove the last component of filename before calling
...
_rtld_digest_dynamic: it is done in expand(), and doing it twice is once
too much. This fixes $ORIGIN expansion for dependencies.
2007-09-20 07:50:32 +00:00
tnn
ea0fc2f827
5 is not a valid version for .Nx, so change it to 5.0.
2007-09-13 21:32:14 +00:00
joerg
ad61ac15d2
Don't define bool, false and true. Use stdbool.h.
2007-09-02 09:57:16 +00:00
tls
b8360b28b0
Oops. USE_FORT needs to be in Makefile.inc, not Makefile, to cause the
...
programs in subdirectories here to get -D_FORTIFY_SOURCE.
2007-08-16 18:36:46 +00:00
lukem
f21ab048da
Rename cred_t to ftpd_cred_t; the former causes a nameclash on Solaris.
2007-07-23 10:41:05 +00:00