jb
f872545ef0
Enable rtld-elf for build on alpha too. We now have support for shared
...
libraries on alpha!
1998-09-04 22:55:17 +00:00
dfr
61d8f0b0b1
Add alpha support.
...
Submitted by: John Birrell <jb@cimlogic.com.au> (with extra hacks by me)
Obtained from: Probably NetBSD
1998-09-04 19:03:57 +00:00
jdp
bb404e6bbf
Suppress duplicate entries in ldd output.
1998-09-02 02:51:12 +00:00
jdp
9bf76278fc
Style fixes. If it seems like a lot of lines of changes, it's
...
because I moved some functions. Mr. Tidy likes them to be in
alphabetical order.
1998-09-02 02:00:20 +00:00
jdp
649f889aaf
Handle dlsym(NULL, ...) properly, by searching in the caller's
...
shared object. Note, this searches _only_ that object, and not its
needed objects, in accordance with the documentation.
Also fix dlopen(NULL, ...) so that the executable's needed objects
are searched as well as the executable itself.
1998-09-02 01:09:34 +00:00
wosch
a024876276
Sort cross references.
1998-08-31 16:41:09 +00:00
jb
ad07d4a0af
BINFORMAT -> OBJFORMAT ready for E-day.
1998-08-30 01:57:55 +00:00
mckay
d0b73b3b1b
Pass me the pointy hat with the extra sequins. Just a moment, while I get
...
it to sit right...
The __error() hack gave out the wrong address. It returned the address of
errno in ld.so instead of the address of errno in the main program. Oops.
The hack is now correct, just in time to be obsoleted by elf.
1998-08-22 15:51:41 +00:00
jb
eb522a9455
Update this header to use the revamped elf headers which select Elf32
...
or Elf64 based on the inclusion of the machine dependent header.
I've left the addition of the extra fields to handle the relocation
structures with addend for a separate commit after jdp has had a chance
to review what I've done. The current change is needed to compile
csu/alpha/crt1.c
1998-08-21 03:29:40 +00:00
jdp
ba5269475b
Add "-C" to INSTALLFLAGS to install atomically. An elf->elf
...
installworld dies at this point otherwise, leaving the system
without a dynamic linker.
1998-08-17 04:59:15 +00:00
markm
57b61e8f72
Fix LIBDIR (for aout/ELF).
1998-08-06 21:41:13 +00:00
peter
614c5aca56
Build mail.local and smrsh (when building sendmail)
1998-08-04 15:32:43 +00:00
peter
2ae39b6062
Build sendmail-8.9.1 smrsh
1998-08-04 15:31:31 +00:00
peter
b468bf2ae3
Use sendmail-8.9.1 mail.local (with our changes). It has LMTP support.
1998-08-04 15:30:17 +00:00
bde
fdf039c199
Fixed printf format errors.
1998-08-02 16:44:18 +00:00
phk
6043c98f63
Getty is missing the speed table entry for 230400 baud.
...
PR: 7280
Reviewed by: phk
Submitted by: Craig Leres <leres@ee.lbl.gov>
1998-07-22 05:57:22 +00:00
steve
eca8e681f8
Remove no longer needed FreeBSD specific code.
...
PR: 5497
Submitted by: Jacob Bohn Lorensen <jacob@jblhome.ping.mk>
Obtained from: OpenBSD (indirectly it seems so just to be safe)
1998-07-20 04:52:26 +00:00
jkoshy
0fc0040fdc
Document the use of lines beginning with a '#' as comment lines.
...
PR: 5676
1998-07-09 11:38:21 +00:00
jkoshy
8dc7ded82e
Clean up grammar. Provide proper pathnames for spool directories.
...
Document dependency on current load average for starting new batch jobs.
PR: 7109
1998-07-01 05:47:58 +00:00
bde
531465c9e6
Fixed printf format errors.
1998-06-30 15:19:51 +00:00
bde
ab05e68061
Don't assume that time_t is long.
1998-06-29 17:06:00 +00:00
bde
046bf17a6b
Don't assume that time_t is long. Fixed printf format errors.
1998-06-29 16:47:08 +00:00
mckay
478200d356
Since I got no objections to this patch, and no one has offered any
...
alternative, I present .. ta! da! .. the __error() hack.
This patch to the a.out dynamic loader provides old a.out binaries
with __error() if they are linked with an older libc that lacks it,
but are also linked against a library that needs it.
There is a smaller, tricker hack that takes advantage of the fact
that ld.so has __error() too, courtesy of the new libc, but this
hack is the straightforward version.
1998-06-21 14:22:29 +00:00
peter
7f08ebd518
Fix stupid typo, I had only tested this in elf mode.
1998-06-12 19:45:14 +00:00
peter
d74499329c
Only build rtld-aout if we're in an a.out build environment.
1998-06-12 16:09:33 +00:00
peter
74a7bc6597
Activate libbind
1998-06-11 09:17:58 +00:00
phk
306618399a
Spelling fixes.
...
PR: 6903
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-10 12:34:27 +00:00
brian
55965d83a4
Search for libraries in dlopen() when the specified path
...
contains no ``/''s.
Elf already searches it seems.
Mostly submitted by: Mike Smith <mike@smith.net.au>
1998-06-07 03:53:08 +00:00
jb
5a00ef6309
named-xfer can't be linked static due to the duplicated symbols in
...
libc and libbind.
rpc.rstatd required libkvm.
Only try to build these on i386 for the time being.
1998-06-06 07:09:01 +00:00
jkoshy
d7a9959d8d
Mention that syslog.conf(5) does not log LOG_FTP messages by default.
...
PR: 5287
1998-06-05 10:31:24 +00:00
joerg
d5fe0276dd
Use gethostname(3) to obtain the local host name, as opposed to uname(3).
...
Otherwise the length of the name is limited to 32 characters only.
1998-06-03 20:01:28 +00:00
jb
3613b8e4e0
signal() returns SIG_ERR on error, not int.
...
time() requires a time_t pointer, not a long.
1998-06-03 11:33:44 +00:00
jkoshy
50fa01edd2
Spelling corrections.
...
PR: 6829
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-03 04:21:41 +00:00
peter
fdb5eaa21e
SUBDIR += rtld-aout
1998-06-01 14:33:06 +00:00
peter
8e01f767c7
Seperate the Paul Kranenburg a.out rtld stuff into a stand-alone area away
...
from the gpl ld code. This is part 2 of something that I began in 1996.
A repository copy has happened behind cvs's back.
1998-06-01 13:00:32 +00:00
sos
d721e2b3d6
ELF preparation step 2:
...
Move a.out libraries to /usr/lib/aout to make space for ELF libs.
Make rtld usr /usr/lib/aout as default library path.
Make ldconfig reject /usr/lib as an a.out library path.
Fix various Makefiles for LIBDIR!=/usr/lib breakage.
This will after a make world & reboot give a system that no
longer uses /usr/lib/*, infact one could remove all the old
libraries there, they are not used anymore.
We are getting close to an ELF make world, but I'll let this
all settle for a week or two...
1998-05-26 20:12:56 +00:00
steve
0440c8d7dd
Make ftpd(8) honor its default group setting in the config files.
...
PR: 6682
Submitted by: Max Euston <meuston@jmrodgers.com>
1998-05-25 03:45:35 +00:00
ache
e5618d9c47
Back out "always UTC" fix since some people want visually identical 'ls'
...
output for local users. FTP protocol RFC also says that 'ls' output is
not machine-readable. "always UTC" still possible with TZ= in ftpd
environment by price of having UTC in log files too.
Fix INTERNAL_LS to sense new /etc/localtime after chroot
1998-05-18 00:06:28 +00:00
ache
cbf681e617
Return back initial tzset() must be before first chroot
1998-05-16 21:23:33 +00:00
ache
4f62e1acde
Return back vfork and use execve with TZ="" environment in vfork case
1998-05-15 16:51:06 +00:00
ache
3a9a1a3486
Use fork instead of vfork since setenv clobber parent environment
...
Fork already used for INTERNAL_LS in anycase
1998-05-15 16:30:09 +00:00
ache
04888d021e
Move TZ="" assignment just before exec to not touch other time stuff
1998-05-15 16:08:52 +00:00
ache
4ca333f904
Do TZ= as first thing, since FTP protocol is unable to tell zone offset in
...
any case.
It makes no difference for anon account (since chroot already makes it GMT),
but if you do mirror with special non-anon login, in old variant
your mirror will be wholy retransmitted twice in the year due to
time zone changes (/etc/localtime plays bad role here)
1998-05-15 15:06:58 +00:00
jb
ff02009c11
NetBSD kernels don't support TCP_NOPUSH, so on alpha don't try setting
...
this socket option. This is temporary code while the alpha still uses
NetBSD socket code in the kernel.
1998-05-15 03:23:28 +00:00
jb
43347b0407
Remove a bogus prototype for time() and let time.h do that.
...
Change pointer casts from int to long. The code that looks to index -1
of argv is still broken on alpha.
1998-05-14 10:07:29 +00:00
bde
4b408b42d7
Fixed missing dependencies on headers generated by rpcgen, as usual.
...
Removed bogus dependencies of generated .c files on generated headers.
Sorted sources lists.
1998-05-10 16:01:36 +00:00
rnordier
92afefeb0b
Replace _exit() with exit()
...
Pointed out by: Nathan Torkington <gnat@prometheus.frii.com> PR 5585
1998-05-05 00:28:51 +00:00
rnordier
46a3ce617a
Fix typo.
...
Pointed out by: Junji SAKAI <sakai.jp.freebsd.org> PR 5621
1998-05-05 00:12:01 +00:00
bde
7746dc49bf
Simplified by using new yacc rules and by not generating y.tab.h.
1998-05-04 18:20:18 +00:00
peter
1c2afda8cf
Argh, forgot to commit the update here for bind-8.. Sorry folks...
...
Prompted by: John Hay <jhay@mikom.csir.co.za>
1998-05-04 05:12:49 +00:00
steve
91b45ff170
Clarify use of 'if' capability.
...
PR: 6499
Submitted by: Doug Barton <Studded@san.rr.com>
1998-05-04 02:37:29 +00:00
steve
7e4a22c718
Avoid stairstep effect on output of 'if=...' file.
...
PR: part of 6492
Submitted by: Chip Norkus via Doug White <studded@san.rr.com>
1998-05-03 16:29:06 +00:00
dfr
c97988bb9c
Add support for ldd.
1998-05-01 08:39:27 +00:00
dfr
fb4b627fd3
Add GDB support. The method and some of the code came from NetBSD's elf
...
runtime linker.
1998-04-30 07:48:02 +00:00
dg
18da8f9801
Set TCP_NODELAY on the control channel to improve performance a bit.
1998-04-28 03:37:23 +00:00
dg
5b2c685f2a
Fixed a bug where if MAXUSRARGS amount of args were passed in, the argv[]
...
array would end up without the NULL pointer termination, causing the glob
code to glob whatever garbage happend to follow on the stack.
1998-04-27 10:51:26 +00:00
phk
7fb3aa582e
telnetd does not recognize the if (display file before login) gettytab flag.
...
PR: 6365
Reviewed by: phk
Submitted by: Jason Garman <init@risen.org>
1998-04-26 06:51:36 +00:00
stark
2ca484c0f3
PR: misc/4679
...
Submitted by: Glen Foster (gfoster@gfoster.com )
Fix missing "/" in dump file pathname.
1998-04-18 13:37:24 +00:00
phk
06b26864f6
openlog() needs to have LOG_NDELAY added, or else the syslog() calls after
...
the chroot will not get sent to syslogd.
PR: 4910
Reviewed by: phk
Submitted by: Jim Mercer <jim@komodo.reptiles.org>
1998-04-12 11:15:54 +00:00
charnier
dc3901b8d6
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-19 07:37:43 +00:00
charnier
b4bda38057
.Sh AUTHOR -. .Sh AUTHORS. Use .An/.Aq.
1998-03-19 07:37:22 +00:00
jdp
73958e96ea
Enable rtld-elf when building an ELF system on the i386.
1998-03-07 19:43:48 +00:00
jdp
80858b4054
This commit was generated by cvs2svn to compensate for changes in r34192,
...
which included commits to RCS files with non-trunk default branches.
1998-03-07 19:24:35 +00:00
jdp
d75383fd3d
Import the ELF dynamic linker. This is the ElfKit version with
...
quite a few enhancements and bug fixes. There are still some known
deficiencies, but it should be adequate to get us started with ELF.
Submitted by: John Polstra <jdp@polstra.com>
1998-03-07 19:24:35 +00:00
jdp
350f58aa8f
Import the ELF dynamic linker. This is the ElfKit version with
...
quite a few enhancements and bug fixes. There are still some known
deficiencies, but it should be adequate to get us started with ELF.
Submitted by: John Polstra <jdp@polstra.com>
1998-03-07 19:24:35 +00:00
danny
c7d0f49ada
PR: 5812
...
Pointed-in-the-right-driection-by: Mike Smith and Steve Price
Close syslogging before calling ls_main()
1998-02-25 07:10:57 +00:00
eivind
771117d6ae
Make ftpd log IP-addresses in addition to hostnames.
1998-02-24 08:45:57 +00:00
obrien
5999c586e0
MFS.
1998-02-18 10:53:16 +00:00
jdp
a1b356b0ca
Implement dladdr.
1998-02-06 16:46:46 +00:00
charnier
a3a257c23c
Convert to mdoc. Header -> Id. Typo.
1998-02-03 07:30:22 +00:00
phk
b5cf5f2e84
Remove lfs_cleanerd
1998-01-30 12:36:10 +00:00
phk
ee8d261a8f
Disable lfs_cleanerd
1998-01-30 12:35:10 +00:00
bde
e9aff89bee
Merged just enough files from Lite2 in lfs_cleanerd to convert from
...
MOUNT_LFS to "lfs" in one place. The merge was painful because it
conflicted with cosmetic FreeBSD changes. lfs_cleanerd still compiles
cleanly but has aproximately the same chance of working as before (0).
1998-01-20 14:41:53 +00:00
wpaul
7026fff7f5
Make these programs compile and work correctly now that /usr/include/rpcsvc
...
has been ANSI-fied.
Pointed out by: bde
1998-01-19 23:13:38 +00:00
bde
75271c7114
Removed most unused includes of <net/if_var.h> outside the kernel.
1998-01-16 17:38:56 +00:00
charnier
f51e7fa399
Add missing dot.
1998-01-07 07:56:15 +00:00
charnier
9eb833992e
Remove unused #includes and make it compile again with -DDEBUG. Use syslog()
...
instead of errx() when being a daemon.
1998-01-07 07:54:18 +00:00
charnier
4b24ff256f
Remove unused #include. Display if inetd started us in case of failure.
1998-01-07 07:51:00 +00:00
charnier
be2f5ef8c2
Typos.
1998-01-07 07:44:01 +00:00
max
c53a8357d4
Typo fix: bootgw -> bootpgw
1997-12-29 13:59:28 +00:00
imp
c7312ce4b2
style(9) nits
...
Submitted by: bde
1997-12-26 23:36:43 +00:00
imp
a10f3f596e
sprintf->snprintf paranoia
...
Obtained from: OpenBSD (?)
1997-12-24 19:39:57 +00:00
imp
2cab4ca6ce
Be extra paranoid about the length of data returned from gethostbyaddr or
...
gethostbyname.
Submitted by: Julian Assange
1997-12-24 19:38:18 +00:00
imp
04325fa0d2
sprintf->snprintf paranoia. The one thing that looks like a hole in
...
the diff is in an ifdef that isn't enabled for FreeBSD.
Obtained from: OpenBSD(?)
1997-12-24 19:21:09 +00:00
imp
b14c1dcaab
Various sprintf -> snprintf fixes.
...
Minor style fix (strcpy(foo,"") -> *foo = '\0')
Obtained from: OpenBSD(?)
1997-12-24 19:13:23 +00:00
imp
986d085dae
Use snprintf rather than printf out of paranoia
...
Obtained from: OpenBSD
1997-12-24 18:56:03 +00:00
charnier
fe0f17e13b
Typo.
1997-12-18 07:39:27 +00:00
charnier
d955d50cf0
Cosmetic in usage string.
1997-12-15 07:19:41 +00:00
charnier
0a2811815e
Use full path in synopsis. Sort #includes. Use .Tn for NIS.
1997-12-08 07:49:56 +00:00
charnier
15ac08a2b7
Sync with diffs I found in kerberised versions: -Wall, no `;' in macros.
1997-12-08 07:46:53 +00:00
jdp
310123882b
Make emacs work again. This is a workaround for the fact that the
...
emacs a.out file, self-generated by emacs's "unexec" function in
"unexsunos4.c", is invalid. In particular, its "_end" symbol has
the wrong value. The dynamic linker was using the value of that
symbol to initialize its sbrk break level.
The workaround is to peek at the executable's a.out header in
memory, and calculate what "_end" should be based on the segment
sizes.
I will work out a fix for emacs and send it to the FSF. This
dynamic linker workaround is still worthwhile, if only to avoid
forcing all emacs users to build a new version.
Note: xemacs gives a bogus warning at startup, for related reasons.
The warning is harmless and can safely be ignored. I will send a
patch to the xemacs maintainers to get rid of it, and meanwhile
add a patch file to our port.
1997-12-05 02:06:37 +00:00
charnier
80226f89b8
Use err(3). Add prototypes. Document that startup scripts are rc.i386 and
...
rc.conf (enable/disable) not rc.local.
Use full pathname in SYNOPSIS section.
1997-12-04 07:25:19 +00:00
charnier
e07b667488
Sort #includes. Add rcsid. Use full pathname in SYNOPSIS section.
1997-12-04 07:20:45 +00:00
steve
7d0ed7b367
FTP_INTERNAL_LS -> FTPD_INTERNAL_LS
...
Pointed out by: Jaye Mathisen <mrcpu@cdsnet.net>
1997-12-04 03:58:02 +00:00
charnier
3f0e1c985b
Use full path in synopsis. Syslog will add trailing \n.
1997-12-03 07:19:58 +00:00
charnier
b4c65bae04
Use err(3). Remove progname and trailing \n in syslog strings.
1997-12-03 07:16:08 +00:00
charnier
01b40a7c30
Use err(3). Add protos for -Wall.
1997-12-02 12:33:42 +00:00
charnier
156349cd73
No \n in syslog() strings. Add man page to Xrefs. Change null byte to NUL byte.
1997-12-02 12:30:04 +00:00
charnier
9540025bcc
Do not terminate syslog() messages with a dot, as others daemons do.
1997-12-02 12:25:39 +00:00
charnier
854ad15b67
Document -n flag. Use err(3). Add usage.
...
Add syslog capability.
1997-12-02 12:20:17 +00:00