Commit Graph

2478 Commits

Author SHA1 Message Date
christos 1dc0b61eca If the environment is corrupt, die. From FreeBSD. 2009-12-02 15:50:13 +00:00
mbalmer 124961627e s/the the/the/ 2009-11-22 18:40:26 +00:00
skrll 77fd7698f3 Make _rtld_pagesz of type size_t.
Fixes round_down for alpha which made ldd(1) break.
2009-11-17 18:44:33 +00:00
skrll b9fe4e7d17 Add RCSID 2009-11-11 14:15:41 +00:00
lukem 11a6d49961 NetBSD-ftpd 20091107:
* Fix WARNS=4 issues (const & sign mismatches, etc)
* Ensure various ftpd.conf values can't exceed their underlying types.
* Fix for 64 bit time_t and dev_t
* Rename internal getline() function to get_line() so it does
  conflict with the getline(3) libc function.
* Log both the hostname and numeric address.
* Improve man page mdoc formatting
2009-11-07 03:10:05 +00:00
agc 96b6b6617b Re-add two files necessary for the testsuite to run properly. 2009-11-05 07:46:10 +00:00
joerg 33d938a5e5 Do not indent global variables. 2009-11-04 18:32:27 +00:00
skrll ef99e95537 Fix start symbols for new binutils. 2009-11-04 17:02:43 +00:00
agc ac9efee5f2 Plug a memory leak for ssl-protected formatted output 2009-11-04 15:37:39 +00:00
skrll d43e9fc212 Fix start symbol for newer binutils. 2009-10-22 21:56:13 +00:00
snj 550147bd6a Remove 3rd and 4th clauses in christos' license. OK christos. 2009-10-21 01:07:44 +00:00
pooka 977fb405f8 LDADD+= instead of LDADD= 2009-10-09 20:19:44 +00:00
pooka 494379efaf Attempt to recover slightly more gracefully if the kernel socket is shutdown. 2009-10-09 16:35:17 +00:00
skrll 15653ebb45 ld.elf_so grew more PLABELS with dlinfo so bump HPPA_PLABEL_PRE. 2009-09-25 17:49:56 +00:00
pooka 4c1e54d82b Add Solarisa-like dlinfo() interface to the ELF dynamic linker.
Implement RTLD_DI_LINKMAP which returns a pointer to the linkmap
chain at the given object.  Other Solaris queries are currently
unimplemented.
2009-09-24 21:21:33 +00:00
skrll ffb28af545 Fix start symbol. I have no idea how this worked before. 2009-09-19 14:54:17 +00:00
skrll 4b849729b2 Fix the start symbol. 2009-09-12 07:22:16 +00:00
jmmv 2cb749c2fd Remove trailing \n in calls to _rtld_error: a newline is automatically
added by a call to the function.
2009-08-29 13:46:54 +00:00
martin c69e3f0a0e Add <sys/exec_aout.h> includes 2009-08-16 18:01:49 +00:00
wiz 175898c4a2 Describe -D. Bump date. 2009-08-06 21:18:54 +00:00
pooka 709a4d5bb6 Define syscalls of lfs userspace tools (cleaner, mainly) through
a struct called kernelops, which contains standard system calls
for the normal case and rump system calls for the rump case.

Make it possible to run the lfs cleaner in a library fashion (taking
the quick route with the implementation).
2009-08-06 00:51:55 +00:00
pooka 0013bbb8eb add D to getopt so that previous actually works 2009-08-06 00:23:08 +00:00
pooka b5cf475347 add -D, which prompts to stay on foreground without debug spewage 2009-08-06 00:20:45 +00:00
pooka e2863984f7 Check main loop fcntl return value and error out if it fails.
Prevents e.g. from 5.0 cleaner looping forever against -current
lfs driver (fcntl data structure sizes are different).
2009-08-06 00:05:01 +00:00
roy 7027866a09 Rename internal getline() function to get_line() so it does
conflict with the soon to be added getline(3) libc function.
2009-07-13 19:05:39 +00:00
mbalmer bf31e2ab08 Remove an old workaround from SCCS times (%M% would insert the filename). 2009-07-04 13:24:09 +00:00
christos 1b829b2a68 PR/40965: NAKAJIMA Yoshihiro: lfs_cleanerd isn't adapted to !MKDYNAMICROOT 2009-06-21 20:20:50 +00:00
he 45932f91e5 Apply fix borrowed from i386: Fix const issue (cast const pointers
to "const uint8_t *" instead of "caddr_t").
2009-05-24 20:35:41 +00:00
he 237687b934 Copy build fix from i386: Fix const issues (cast const pointers
to "const uint8_t *" instead of "caddr_t").
2009-05-24 18:29:03 +00:00
wiz 81ea280bf2 Sort options in SYNOPSIS. 2009-05-23 20:26:18 +00:00
mjf 27cb8d0e73 After a recent WARNS= bump on ld.elf_so it fails to build on hppa,
complaining that we're "discarding qualifier from pointer target
type".

Use const char * instead of caddr_t to avoid the warning and get
distribution building on hppa again.
2009-05-23 17:50:34 +00:00
mrg 4157d76654 fix a new -Wsign-compare bug. 2009-05-23 08:26:26 +00:00
mrg 67eebf838c fix a merge botch in previous 2009-05-23 06:45:28 +00:00
mrg c6e75af28a merge bozohttpd 20090522 2009-05-23 02:26:03 +00:00
mrg 36a7970f3c import bozohttpd 20090522, which has these changes:
o  close more leaking file descriptors for CGI and daemon mode
	o  add subdirs for build "debug" and "small" versions
	o  clean up a bad merge / duplicate code
	o  make mmap() usage portable, fixes linux & ranges: support
	o  document the -f option
	o  daemon mode now serves 6 files per child
2009-05-23 02:21:19 +00:00
martin c131490c29 Use the new Elf_SOff (signed offset) type to fix a few signed/unsigned
problems.
2009-05-22 21:47:46 +00:00
christos b19e027aab fix signed/unsigned comparisons and const cast away (untested) 2009-05-20 22:31:46 +00:00
ad 51a76d6f11 Add a reminder about ldd depending on ld.so. 2009-05-20 19:38:38 +00:00
christos fa64a5bf9b warns=4 2009-05-19 20:44:52 +00:00
wiz 93dafb2e39 Drop trailing whitespace. 2009-05-01 10:53:27 +00:00
lukem 24c7ea10da Simplify the example command used to extract a wu-ftpd compatible xferlog. 2009-05-01 09:47:26 +00:00
mrg 68b1f14092 oops. these files should never have made it in here. 2009-04-19 21:43:44 +00:00
mrg bbbdac0a6f merge bozohttpd 20090418. remove a couple of minor do-nothing local
changes that don't need to cause conflicts.
2009-04-18 21:22:03 +00:00
mrg 5de1fbc2cb import bozohttpd 20090418. changes include:
o  avoid dying in daemon mode for some uncommon, but recoverable, errors
o  close leaking file descriptors for CGI and daemon mode
o  handle poll errors properly
o  don't try to handle more than one request per process yet

this covers PR#38489 and PR#40079, as well some some issues reported
privately.
2009-04-18 21:09:40 +00:00
wiz 98d3964304 Remove duplicate part (pasto?). Remove trailing whitespace.
Use Aq where easily possible.
2009-04-18 12:35:51 +00:00
mrg 74dbf40e6b re-add a lot of the distribution files 2009-04-18 07:48:02 +00:00
mrg f32af62cb7 return a value when the function wants to. 2009-04-18 07:38:40 +00:00
mrg ca01226b20 de-const some variables passed to free(). 2009-04-18 07:37:08 +00:00
mrg 033876329d merge bozohttpd 20090417 2009-04-18 07:28:24 +00:00
mrg 8033ac319d import latest bozohttpd sources. changes include:
o  make bozohttpd internally more modular, preparing the way
           to handle more than one request per process
        o  fix http-auth, set $REMOTE_USER not $REMOTEUSER.  also fix
           cgi-bin with cvsweb, from Holger Weiss <holger@CIS.FU-Berlin.DE>
        o  fix an uninitialised variable use in daemon mode
        o  fix ssl mode with newer OpenSSL
        o  mmap large files in manageable sizes so we can serve any size file
        o  refactor url processing to handle query strings correctly for CGI
           from Sergey Katsev at Coyote Point
        o  add If-Modified-Since support, from Joerg Sonnenberger
           <joerg@netbsd.org>
        o  many more manual fixes, from NetBSD
2009-04-18 07:09:27 +00:00