kleink
3ed4fcf61e
In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
...
of errno.
1999-01-11 22:39:59 +00:00
christos
9f77dc2e81
Add a few comments about the i386 and others.
1999-01-11 11:05:29 +00:00
christos
14d2402e4b
Add i386 bits. Only works with -fpic or -fPIC compiled binaries since
...
COPY relocations don't work.
1999-01-10 18:21:24 +00:00
christos
d72f81978d
Add i386 bits
1999-01-10 18:18:56 +00:00
christos
afb18a5077
Moved via repository copy to arch/powerpc
1999-01-10 17:34:42 +00:00
christos
86ef105de2
Moved via repository copy to arch/mips
1999-01-10 17:33:59 +00:00
christos
a12e7c4c86
Moved via repository copy to arch/alpha
1999-01-10 17:33:11 +00:00
christos
ab951f38e0
Add __attribute__ for printf like commands.
1999-01-10 17:19:01 +00:00
castor
dc6b4c42a3
Restore missing variable declaration with -DRTLD_DEBUG
1999-01-09 18:10:19 +00:00
itohy
85da239ef8
Fix byte order swapping for cross linker.
1999-01-05 10:02:20 +00:00
cjs
74f6e33bdf
Descend on obj, as well as clean, cleandir, etc.
1999-01-03 21:56:42 +00:00
lukem
32214ab926
rcsid police
1999-01-03 02:22:05 +00:00
nathanw
f315107074
Fix compile warning on alpha (%qd and off_t lossage).
1999-01-02 17:54:21 +00:00
tv
80710db636
Until such time that the arm32 hacks are added to ld.so, or at least
...
something is done about arm32 shlibs, do not build ld.aout_so on a vanilla
recursive make.
1998-12-30 15:07:08 +00:00
lukem
c984c19121
* replace LOG(CMD|BYTES) macros with logcmd(), which is a cleaner
...
solution with less code replication. use realpath() in logcmd() so
that all logged filenames are sane.
* support `REST STREAM' in `FEAT' reply (from draft-ietf-ftpext-mlst-05)
* in 'HELP', suffix unimplemented commands with `-' instead of `*'; the
former is easier to differentiate from `+'.
* deprecate curdir() now that logcmd() doesn't use it.
* ensure all filename buffers are at least MAXPATHLEN+1 in size.
* move jmp_buf errcatch out of extern.h, removing need to #include <setjmp.h>
in every file.
1998-12-28 04:54:00 +00:00
is
7871bc1564
Add a prototype for the _cachectl() trap call stup in mdprologue.S.
1998-12-21 12:16:16 +00:00
veego
4bf0cd6592
Include err.h to fix compile warnings.
1998-12-20 17:43:37 +00:00
pk
e35b4d9b30
Duh! Hang on to SUN_COMPAT.. something is bust.
1998-12-17 23:36:38 +00:00
pk
259f05dc84
Re-arrange to hide unneeded functions when building the run-time linker.
...
Pick up ld(1) implementation definitions.
1998-12-17 20:14:44 +00:00
pk
cdb9bd0327
Add ld.aout_so to SUBDIRS
1998-12-17 15:15:27 +00:00
pk
76ae27e1f8
Pick up ld(1) implementation definitions.
1998-12-17 14:29:50 +00:00
pk
d2db1ca59a
* Add header file containing definitions shared among all a.out
...
linker related utilities.
* Adjust makefile to new location in `src/libexec'
* Have rtld.c use the new shlib.h and ld.h headers.
1998-12-17 11:34:10 +00:00
pk
5f5db2f16f
Re-arrange to hide unneeded functions when building the run-time linker.
1998-12-17 10:54:34 +00:00
pk
4f32152ede
Export the common shared library search functions in its own header file.
1998-12-15 23:16:14 +00:00
pk
b53366509b
Deal with compiler warnings: format strings, prototypes, variable initialization.
1998-12-15 21:35:17 +00:00
pk
c03c29c0e4
Prototypes.
1998-12-15 21:33:00 +00:00
pk
f6f34d9c9f
Pull in <a.out.h>.
1998-12-15 21:28:28 +00:00
pk
631ebffde3
Layout & compiler warnings.
1998-12-15 21:23:57 +00:00
pk
ad3e459220
NetBSD -> __NetBSD__
1998-12-15 21:22:52 +00:00
fair
bf3b9adb93
Document (or expand documentation about) the ability of getty(8) to
...
recognize a PPP bringup sequence and invoke something appropriate, per
PR#6462
1998-12-12 19:04:54 +00:00
mycroft
dedf21f286
Put back code to use pc-relative branches in the PLT, and avoid doing cache
...
flushes.
1998-12-03 15:56:51 +00:00
mycroft
26fce3548b
Use the `first' argument to md_fix_jmpslot().
1998-12-03 15:46:28 +00:00
tsubai
775e7035f4
Add powerpc support.
1998-11-24 11:34:30 +00:00
hubertf
b3ab3ca1cd
Fix typo, per PR 6457 by Geoff C. Wing <gcw@pobox.com>
1998-11-18 13:32:17 +00:00
msaitoh
d261dde4f6
add a missing comma.
1998-11-17 16:32:44 +00:00
msaitoh
2861f340a6
delete .Sh ENVIRONMENT.
...
delete extra period.
1998-11-17 16:26:51 +00:00
msaitoh
4a3d3570f1
s/a a/a/
1998-11-17 16:00:28 +00:00
msaitoh
93f9db1b75
The key is expected to be eight bytes (not ten bytes).
1998-11-15 20:31:37 +00:00
scottr
9aad2a5d21
Grammar police: comprised of -> comprising
1998-11-14 22:22:49 +00:00
matt
ce394ac326
Add hook to convert some DISP32 relocs to BASREL through a GOT entry.
...
[XXX not perfect since gotslot are allocated on a per-symbol basis but
not a per-symbol & addend tuple. This makes impossible to have separate
GOT entries to ___sF (stdin), ___sF+88 (stdout), and ___sF+176 (stderr)]
1998-10-31 09:04:29 +00:00
matt
931b784473
Remove reference to unused include file.
1998-10-31 08:59:58 +00:00
jonathan
fd7cb41920
gdb's shared-lib mapping code in solib.c has #ifdef dependencies on
...
DT_MIPS_RLD_MAP being defined on mips targets with shared libs. Since
netbsd's gdb config.h defines HAVE_LINK_H, link.h is expected to
provide it. So #include <machine/elf_machdep.h> to make it so.
1998-10-30 05:43:40 +00:00
matt
8f7b610683
More fixes and optimizations for VAX shared library support. Including
...
one that makes vfork work.
1998-10-23 00:51:36 +00:00
matt
42ba16dee7
Make the BINDER debug messages a bit more useful (print index and jmpslot
...
address too).
1998-10-23 00:44:44 +00:00
matt
4f1a79cfbd
Back out change to md_make_gotreloc which added 4 arguement of got_t *.
...
Add argument to md_fix_jmpslot indicating whether this the first (i.e
tranfer) jmpslot or not. Add better support for VAX (the VAX can support
pure text code; let ld that advantage of it). Checking in verified and
working versions of rtld VAX support routines.
1998-10-19 03:09:31 +00:00
matt
f94bc8f4df
Add AUX_LABEL (need for VAX JSB/JMP "jmp" slots).
1998-10-19 00:30:57 +00:00
itohy
9d79a50f6a
Correct return value of md_midcompat().
1998-10-17 17:08:21 +00:00
ross
ee65bcaa99
Cast quad_t and off_t objects to (long long) for printing with %q.
...
(Fix a sort-of-LP64 egcs printf warning.)
It's unfortunate that off_t and quad_t don't print with %q. I wonder
what would happen if alpha changed these from long -> long long? It's
the same actual size in bits either way.
1998-10-15 00:29:51 +00:00
tsarna
13b21dc12c
Add PPP autodetect, based on code from FreeBSD via OpenBSD.
1998-10-12 18:03:48 +00:00
matt
bb27fa210f
Get shared libraries a lot closer to working.
1998-10-12 01:33:35 +00:00
hubertf
030e6d4f1d
Omit "(section)" if either -i or -t are given, print "\n" and insert a
...
"-" at the right place when -i is given.
1998-10-10 02:53:12 +00:00
christos
977a282bd1
PR/6248: Konrad Schroder: lfs_cleanerd could use syslog() for notices,
...
instead of err()/warn()
1998-10-07 15:00:34 +00:00
christos
e044377a39
PR/6249: Konrad Schroder lfs_cleanerd uses wrong units when computing which
...
segments to clean
1998-10-07 14:57:30 +00:00
christos
2e885feacf
PR/6247: Konrad Schroder: lfs_cleanerd overflows char register counting live
...
bytes
1998-10-07 14:56:22 +00:00
ross
b899771419
Rewrite AuxInfo handling to track AuxID changes in sys/exec_elf.h.
1998-10-07 02:53:27 +00:00
matthias
78f9c9bd25
remove some vm_offset_t fallout.
1998-10-03 20:04:01 +00:00
explorer
ed33c87314
Remember the interface the request comes in on, so we will reply to the
...
same address. This fixes tftp'ing to lo0 aliases.
1998-09-20 04:44:55 +00:00
pk
4d98b5ce9c
Prevent spurious matches matches against unwanted major versions.
...
Patch based on PR#6139.
1998-09-15 12:38:55 +00:00
thorpej
3d5ce01bb7
At least make the comments accurate.
1998-09-13 05:53:34 +00:00
mrg
c0ea06b21f
remove MD asm as(1) comments from sysident.h, placing them in a comment
...
above the asm() block. now we can share sysident.h across all ports..
change ld.elf_so to be for $MACHINE == sparc64 not sparc (yet!).
1998-09-13 03:50:31 +00:00
kleink
9e9281f60f
Need <signal.h> for sig_atomic_t.
1998-09-12 20:47:33 +00:00
kleink
f3d497d9f4
Make the external declaration of `transflag' match its definition; from R. C.
...
Dowdeswell <elric@mabelode.imrryr.org> in PR bin/6141.
1998-09-12 20:46:45 +00:00
pk
e6b129450c
Exit early from alloc_link_map() if we have no object; only relevant
...
when tracing. (PR#6140)
1998-09-12 15:03:19 +00:00
pk
547e652f5d
type fixes, in part from PR#6032
1998-09-11 21:21:29 +00:00
lukem
b36247790b
bump version from 7.03 to 7.1.0 (new commands available)
1998-09-07 08:17:39 +00:00
lukem
701e7ebd99
remove nack() - missed in previous work
1998-09-07 08:15:25 +00:00
lukem
29ed71b169
new features:
...
* implement FEAT and OPTS from RFC2389. FEAT returns SIZE and MDTM.
OPTS only works on NOOP (as a test).
* extend format of /etc/ftpchroot similar to /etc/ftpusers; each entry
can take an optional trailing `yes' or `no' which indicates if
chroot should be done (defaults to `yes').
based on patches from Ty Sarna <tsarna@endicor.com> in [bin/4769]
cleanups/bugs:
* reorder and reformat entries in yacc parser to match cmdtab[].
add a blank line between each rule.
* add short hasopts and char *options to struct tab, to support OPTS.
* deprecate upper(); use strcasecmp() instead of strcmp()
* remove unnecessary for (;;) { } in yylex();
* replace copy() and sgetsave() with xstrdup()
* fix a couple of `hasyyerrored = 1' that were accidently removed.
1998-09-07 08:11:20 +00:00
lukem
0e5bdd5185
* complete fix for `multiple replies returned for single parse error'
...
problem; move `hasyyerrored' state flag out of yylex() so that
check_{login,modify} can also set it.
* check result of check_login for PORT command
* set initial timeout before the "setjmp(); for(;;) yyparse()",
otherwise an invalid command after login incorrectly sets the timeout
to 5 minutes (rather than what was set in ftpd.conf)
* replace (char *)0 with NULL
* move yyerror() from ftpd.c to ftpcmd.y
* remove need for -Dunix, by using the version string from ftpd.c
(instead of `BSD-199506')
* move all extern-ed vars into extern.h
1998-09-06 10:39:40 +00:00
lukem
cf3263f735
* implement NOARGS state, for commands which don't take any arguments.
...
fixes long standing ftpd bug where two replies would be returned
to the client if a command was flagged as accepting `ARGS' but the
parser didn't know how to cope. obvious symptom of this would be
ftp client is always one error message `behind' the server.
* consistently refer to the RFC as `RFC 959' not `RFC959' or `RFC-959',
and replace refs to RFC 765 with RFC 959.
* change order of commands in cmdtab[] to: RFC 959, BSD extras, and obsolete.
* whitespace police, deprecate register, replace malloc/strcpy with strdup
1998-09-05 17:33:00 +00:00
lukem
873a0c8bea
replace malloc/strcpy with strdup
1998-09-05 17:00:01 +00:00
lukem
06b0ffe181
distclean is a synonym for cleandir
1998-09-05 14:46:13 +00:00
pk
0a97faa040
Assign my copyrights to TNF.
1998-09-05 13:08:38 +00:00
kim
5b9f519499
Added a "-h" option to fingerd, passed on to finger (show host, not office).
1998-08-29 22:54:58 +00:00
tsarna
c89a574ffa
Execute ttyaction on termination of rlogind/telnetd sessions.
...
Also, say a little bit about ttyaction in the getty and login manpages.
1998-08-29 17:31:55 +00:00
tv
65b8da28f5
Use -L for libc's objdir in case NOPICINSTALL is set in mk.conf.
1998-08-27 01:55:16 +00:00
matt
60f624ddb7
Fix some obvious bugs.
1998-08-26 15:32:02 +00:00
matt
4da3f7cfd8
Add external symbol for __PROCEDURE_LINKAGE_TABLE_. Modify arguments
...
to md_make_gotreloc for VAX'es sake.
1998-08-26 14:37:40 +00:00
perry
98b9f211ee
fix bcopy->memcpy with memcpy->memmove -- not strictly needed, but...
1998-08-26 00:38:39 +00:00
ross
12eb02fc43
{} "fix" for lame egcs warning, from Erik Bertelsen <erik@mediator.uni-c.dk>
1998-08-25 19:11:11 +00:00
matt
fb6da63fa6
More changes for shareable libraries and PIC code
1998-08-21 01:03:48 +00:00
matt
0111660e53
Get md.c to compile again. Get mdprologue.S to assemble. [Now at least
...
ld and rtld compile and link.]
1998-08-20 15:12:02 +00:00
matt
74018d8df6
Untested(!!) beginning of VAX a.out shared library support. This is a work
...
in progress.
1998-08-18 18:46:16 +00:00
christos
e8902c2d7c
Don't install the ELF link.h in a.out systems!@#$#@
1998-08-13 18:16:43 +00:00
mycroft
93f8d753f8
Small changes to make debugging a little easier.
1998-08-13 07:34:05 +00:00
christos
d6ab36722f
fix bugs in getidle() that would cause -1 to be returned as the idle time.
...
also log when we cannot stat the device to get the idle time.
1998-08-12 14:47:30 +00:00
msaitoh
0c4bcdab76
add ".Xr uucico 8" (and some fixes)
1998-08-10 17:21:08 +00:00
perry
bfd526219d
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-10 02:57:23 +00:00
mycroft
41a070136b
When DEBUG, log init and fini calls.
1998-08-06 00:03:28 +00:00
mycroft
9ae60c44af
More cruft.
1998-08-05 04:25:03 +00:00
mycroft
7625579cb3
GC some cruft.
1998-08-05 04:21:51 +00:00
perry
b791320225
Fix for pr 5904 from Zdenek Salvet; we now use openpty() to get a pty.
1998-08-05 00:15:25 +00:00
tv
55267a7623
Use NOPIC to mean "no shared libraries", not NOSHLIB.
1998-08-04 17:02:16 +00:00
lukem
15b3c2bfae
* implement -u user and -g group - to specify the username and/or
...
group to run as.
if -u isn't given, user defaults to "nobody".
if -g isn't given, group defaults to the primary group of user.
doesn't try and change uid or gid if they're already set ok.
should solve PR 4218.
* deprecate register
* deprecate trailing \n in syslog messages
1998-07-29 11:31:22 +00:00
simonb
a72208957e
Remove useless BINOWN=root
1998-07-29 01:14:16 +00:00
mycroft
2e9ada3aff
const propagation.
1998-07-27 15:11:06 +00:00
mycroft
5d231ae38e
Don't reset the reloc_index when we patch a jmpslot. We don't need to, and
...
this kluges around some cache issues.
1998-07-27 07:48:21 +00:00
scottr
ebc77f0f62
Ack! I misunderstood a problem reported to me. We don't need to do
...
anything special to handle obj directories; bsd.man.mk does it for us
already. Back out that part of the previos commit.
1998-07-27 04:45:23 +00:00
scottr
b894fb7eed
Fix two problems with my previous change:
...
- We must include bsd.own.mk to get EXPORTABLE_SYSTEM from mk.conf.
Noted by Bernd Ernesti.
- If we're only generating man pages, we should deal with obj
directories as appropriate. Both Perry Metzger and I found this
independently.
This completes the tasks necessary to close PR 5519.
1998-07-27 04:16:19 +00:00
mycroft
a5fbe304ec
const poisoning.
1998-07-27 01:55:23 +00:00
mycroft
6de775c2ad
const poisoning.
1998-07-27 01:45:09 +00:00
mycroft
5dd823ab5d
const poisoning.
1998-07-26 19:44:12 +00:00
mycroft
0db548a927
const poisoning.
1998-07-26 14:57:56 +00:00
mycroft
cfaad53a4e
Remove bogus change to use -O0.
1998-07-25 12:37:27 +00:00
scottr
8f01a044f4
Unlike other domestic bits, telnet and telnetd are never built as a part
...
of the domestic build process. No domestic program actually builds its
own man pages but instead relies on those built in the exportable tree.
The result is missing telnet(1) and telnet(8) pages.
Fix this problem descending into the telnet and telnetd directories
regardless of whether we're doing an exportable build or not. Once there,
we generate only the man pages if we're building a non-exportable system.
1998-07-22 22:30:07 +00:00
drochner
017037d6b1
adapt to changed dkinit() in ../../usr.bin/vmstat/dkstats.c
1998-07-19 17:48:15 +00:00
tv
3ecc6b044e
Some local changes accidentally made it into the last commit; back that
...
part out (noticed by mycroft; thanks!)
1998-07-15 11:26:28 +00:00
msaitoh
718c318d9e
Add a perl script to convert a standard distribution directory for
...
pidentd into a NetBSD source tree.
1998-07-15 07:37:26 +00:00
msaitoh
db19dcec0d
Upgrade to version 2.8.3.
1998-07-15 07:31:55 +00:00
tv
77a275d732
Change ld.so default behavior to RTLD_LOCAL, and make RTLD_LOCAL into a
...
new flag bit. Keep RTLD_GLOBAL as an actual flag bit so it won't be
re-used, or may be used for something later. Mask the dlopen() mode bits
in ld.elf_so so a comparison against RTLD_NOW works. (RTLD_{LOCAL,GLOBAL}
needs to be implemented for ld.elf_so.)
1998-07-14 22:18:36 +00:00
lukem
74b52f1ba3
remove Extraneous .El call which caused formatting problem
1998-07-13 09:18:14 +00:00
msaitoh
4944940fcf
Declare ints, too, don't default them.
1998-07-09 18:32:52 +00:00
mrg
2beab49a06
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
...
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
mrg
90e4ac0203
add -l logging switch.
1998-07-04 19:38:39 +00:00
mrg
687403aa7a
- clean up some more cruft
...
- support "talkd -l" for extra (syslog(3)) logging
- fix error in previous announce.c change
- use getopt
- add (missing) -d and -l descriptions to man page
1998-07-04 19:31:05 +00:00
mrg
fc0b820cbd
- KNF.
...
- check return call of several important system calls
- clean up some more cruft.
- support "rexecd -l" for extra (syslog(3)) logging.
- avoid *sprintf
1998-07-04 19:03:20 +00:00
mrg
88bc5ea96c
- KNF.
...
- check return call of several important system calls
- clean up some more cruft.
- support "uucpd -l" for extra (syslog(3)) logging.
- add a man page for uucpd. did it really arrive in 4.2BSD as the code
indicates? that's what `HISTORY' says...
1998-07-03 18:09:48 +00:00
mrg
39fbcd87b6
- deal with fork failure better
...
- some more KNF nits
- no more "union wait"
1998-07-03 17:21:22 +00:00
mrg
750ef3b29d
- use S_IWGRP over 020
...
- KNF
- ensure we don't overflow a buffer (don't think it would anyway).
- favour snprintf over sprintf (and varargs versions)
1998-07-03 11:54:08 +00:00
mrg
36407a9595
KNF.
1998-07-03 11:51:19 +00:00
mrg
d407e73999
clean up a bit of cruft.
1998-07-03 11:50:51 +00:00
mrg
ae7821a46c
KNF.
1998-07-03 11:49:50 +00:00
mrg
896a03fbba
KNF, and use MOUNT_FFS over "ffs"
1998-07-03 11:48:58 +00:00
mrg
b6134033e4
oops, lost this in previous change.
1998-07-03 04:10:43 +00:00
mrg
46b017828c
- remove register
...
- KNF
- ensure hostname has trailling nul.
- use initgroups/setgid/setuid rather than just setuid, and do this earlier.
- find "from:" and "subject:" as well.
- use strvis(3) rather than some local crufty code.
1998-07-03 02:27:58 +00:00
mrg
9cc2c90c42
backout previous; there was no buffer overflow anymore. while i'm here,
...
fix some KNF and stop account information leakage in the case of logging
in as a non-existant user (did not prompt for a password for call crypt(3)
before returning "Login incorrect.")
1998-07-02 07:46:45 +00:00
tv
d643a3384e
Allow PAGESIZE to be set via a -D option to cc (CLBYTES not a constant on
...
sparc; it is defined in terms of the kernel variable "nbpg")
1998-07-01 20:42:47 +00:00
tron
f5a8d207a9
Prevent buffer overflow on reverse lookup, fixes PR misc/5688 by
...
D'Arcy J.M. Cain.
1998-07-01 19:29:22 +00:00
tv
e3ab20461f
Add the ability to disable passive connects in ftpd.conf (breaks RFC1123,
...
STD3, but needed in some firewall environments).
1998-06-30 20:18:52 +00:00
christos
d7b7ede245
Merge in changes from OpenBSD.
1998-06-27 21:15:42 +00:00
msaitoh
10171df916
add "-s" flag (like telnetd and login)
1998-06-26 18:12:00 +00:00
msaitoh
a5471c1dd8
add "-s" flag (SecureID).
1998-06-26 17:41:38 +00:00
kleink
e62a515e87
GLOB_QUOTE is gone; per POSIX, backslash quoting of special characters being
...
enabled is the default behaviour.
1998-06-21 12:16:35 +00:00
kleink
fc5d36f8e4
GLOB_QUOTE is dead; per POSIX, backslash quoting of special characters being
...
enabled is the default behaviour.
1998-06-19 22:58:04 +00:00
mhitch
c01fadd882
Don't forget to update _rtld_objtail when _rtld_dlclose() removes the
...
current tail entry.
1998-06-16 03:24:13 +00:00
lukem
fc90756956
Implement a new manual page category ``SECURITY CONSIDERATIONS''
...
(suggested by mycroft)
1998-06-08 12:41:41 +00:00
lukem
9c9d43e6b5
support displaying the stderr output from a LIST or a conversion to
...
the user at the end of a transfer.
this generates a file in /tmp, so anonymous requires a
writable ~ftp/tmp, which you may not want to do (because it may
allow people to unwanted upload files).
XXX: a better method of storing the stderr output would be nice, but
is a lot more effort to implement. this feature can at least be
used temporarily whilst debugging why an ftp conversion doesn't
work.
1998-06-08 07:13:13 +00:00
mouse
7ccec6ac9f
Show/log the strerror(errno) string when getcwd fails
1998-06-03 13:21:42 +00:00
hubertf
dde092b47d
Fix some problems with failed getcwd commands, reported in PR bin/5531
...
by Saitoh Masanobu <msaitoh@spa.is.uec.ac.jp>.
1998-06-03 09:21:45 +00:00
kleink
76bc8071eb
Clear the error indicator after retrieval (xref. dlerror(3)).
1998-05-30 18:28:31 +00:00
tv
106fae1a3a
...and clear DESTDIR in fake Makefile.
1998-05-24 03:54:12 +00:00
frueauf
21fc3e02fd
Don't ignore compressed unformatted man pages and use $MKWHATIS where
...
makewhatis.sed should be used.
1998-05-23 14:26:05 +00:00
tv
044f139d81
Use a "smart" lookup of makewhatis.sed.
1998-05-23 13:42:25 +00:00
msaitoh
06db2e9ee4
fix typo
1998-05-22 19:00:40 +00:00
hubertf
80a44df7c2
use correct getopt parameters, as per PR 5480 from Konrad Schroder <perseant@hhhh.org>
1998-05-22 02:21:00 +00:00
christos
f7ab9656fe
From chopps: be more picky about handling incorrectly formatted man pages.
...
Look for .Sh NAME; this breaks internationalized man pages. Someone could
put NLS support for it.
1998-05-21 23:21:48 +00:00
tv
2a0a609947
Don't try to get at ${DESTDIR} inside /usr/libexec/makewhatis; instead,
...
supply ${DESTDIR} as part of the command line argument in
src/share/man/Makefile, and use that modified $MANPATH to find
makewhatis.sed.
1998-05-21 11:40:11 +00:00
tv
b05a04267a
In case NOPICINSTALL is set, get -lc_pic from src/lib/libc/(objdirname).
1998-05-21 00:31:05 +00:00
lukem
77c4126096
use TM_YEAR_BASE (not 1900) - not that we expect it to change in any case :)
1998-05-21 00:09:32 +00:00
pk
294ed94908
Optimize symbol/string table access slightly by precomputing their
...
locations at load time. These values don't change once the object is loaded.
1998-05-19 12:15:38 +00:00
mrg
638411ef77
- don't leak account information (from christoph badura)
...
- no need to copy remotehost to line, just use remotehost in both
cases. fixes problem reported by repsec (see http://www.repsec.com/ )
1998-05-18 12:41:30 +00:00
thorpej
dd26162d11
Need <dlfcn.h> for Dl_info.
1998-05-14 01:55:28 +00:00
pk
d123bc84d4
Implement `dladdr()': find nearest symbol given an address.
1998-05-12 21:22:28 +00:00
pk
79bd77e1cc
Add `dladdr()' rtld entry point.
1998-05-12 21:21:21 +00:00
mhitch
e8c1659e9a
${DESTDIR} isn't needed - which isn't what the example in
...
/usr/share/mk/bsd.README seems to indicate.
1998-05-11 19:30:15 +00:00
fair
42aff08cb4
fix a bad .Xr
1998-04-29 19:25:25 +00:00
fair
5ce6614a4f
fix bad .Xr references
1998-04-29 08:33:11 +00:00
fair
dc026e0515
Change occurrences of "UNIX" to .Ux or .At as appropriate.
1998-04-28 06:00:51 +00:00
hubertf
930085f3c8
Add note on how to re-read this file (via PR 5341 by David Brownlee)
1998-04-22 08:11:10 +00:00
ross
8c7509c9ef
Reference ttys(5). (David Brownlee, PR #5339 )
1998-04-22 04:54:19 +00:00
lukem
6c4ddbba34
fix disabling of optimization on powerpc (set COPTS *after* <bsd.prog.mk>...)
1998-04-13 14:24:02 +00:00
fair
c90e2a4b2e
getNAME now handles [nt]roff comments (.\") correctly.
1998-04-10 22:32:45 +00:00
fair
3b04f8e0b1
Add .Xr ttyaction 3 per PR#4647
1998-04-10 09:31:55 +00:00
mhitch
f00af7b07c
Oops - when assembled with PIC, the jal gets expanded, so what used to be
...
in the branch delay slot was no longer getting executed at the proper time.
This resulted in a corrupt ps_strings pointer and caused programs trying to
use ps_strings to fail.
1998-04-09 04:45:08 +00:00
tv
482063559a
.y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
...
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
fvdl
98712f00f0
If a good matching shared library is found, don't look in the next
...
directories. This is compatible with the SunOS behaviour. Also,
it fixes a problem where it was not possible for some 3rd party
package to have a library with the same name as a library already
in the system, and a lower version number. The highest version
would always be picked. This particular problem shows up with Mozilla,
which has a libutil.so.1.0
1998-04-04 01:00:29 +00:00
kleink
60cfe27506
Need <time.h> for various definitions, so just include it in this one place.
1998-04-01 15:05:10 +00:00
kleink
ce38478eb8
No need to include <sys/tty.h>.
1998-04-01 15:02:47 +00:00
kleink
f604523fb6
Need <time.h> for localtime() prototype.
1998-04-01 14:51:54 +00:00
kleink
bcc2f4cc93
Need <time.h> for time() prototype, and rearrange inclusion order a bit.
1998-04-01 14:47:01 +00:00
kleink
2efb2aaff6
Need <time.h> for ctime() prototype.
1998-04-01 14:39:56 +00:00
kleink
d868740f80
Need <time.h> for time() and ctime() prototypes.
1998-04-01 14:37:45 +00:00
kleink
cd7d0f550d
Need <time.h> for time() prototype.
1998-04-01 14:35:23 +00:00
kleink
223dbe1123
Need <time.h> for time(), localtime() and ctime() prototypes.
1998-04-01 14:31:59 +00:00
kleink
d1cd3dd49b
Need <time.h> for time() prototype.
1998-04-01 14:29:08 +00:00
mrg
984d89b066
use static int, not just static
1998-03-30 01:53:45 +00:00
mrg
d5088f6ab0
remove register.
1998-03-30 01:52:02 +00:00
mrg
2ccff62399
break if ".PP" also
1998-03-30 01:45:27 +00:00
cjs
9308c6c2e1
Add uugetty manpage link.
1998-03-28 06:10:32 +00:00
cgd
c0ac8bae67
GC alpha's ECOFF_TOOLCHAIN make variable, and related bits. Nobody
...
should be using an ECOFF toolchain on NetBSD/alpha any more.
1998-03-28 00:50:41 +00:00
mycroft
ab8a4c5234
Allow a non-RTLD_GLOBAL object to refer to symbols in itself.
1998-03-26 23:33:12 +00:00
thorpej
c506364411
Make this work with objdirs.
1998-03-26 07:36:30 +00:00
mhitch
082edecc20
Add support for mips.
1998-03-25 04:12:32 +00:00
tron
7c26d20c65
Add support for "${DESTDIR}".
1998-03-21 23:46:00 +00:00
pk
d47d43b956
Use file size from fstat(2) to map the hints file, instead of fiddling
...
with incremental mmap()'s. Squashes a bug which caused only the first
page of the hints file to unmapped.
1998-03-18 23:21:46 +00:00
pk
5ea8bb6d05
Implement RTLD_GLOBAL dlopen(3) flag.
...
Rename internal flags to avoid <dlfcn.h> name space collisions.
1998-03-15 23:10:21 +00:00
pk
b5f4c3ad5e
Check for short hints file (noticed by Chuck Silvers).
1998-03-15 21:24:27 +00:00
mycroft
28ad88290d
Remove spurious extra newline.
1998-03-03 00:36:24 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
enami
86053c56a1
Cosmetic changes; fix more indentation (just added/deleted white spaces).
1998-02-28 13:29:03 +00:00
cjs
39926e4051
Send back an error message rather than dumping core when an invalid
...
username is entered. The latter, while effective, does not appear to
me to be an appropriate response.
1998-02-23 23:10:34 +00:00
jonathan
5e0e8cec39
More table-driven changes for different toolchains:
...
* new bsd.own.mk variable OBJECT_FMT with values "a.out" or "ELF".
* use OBJECT_FMT in Makefile tests that depend on toolchain.
* Add new bsd.own.mk variable NOSHLIB that, if set indicates a given
port doesnt yet do shared libraries. Set on powerpc.
* Document new feature-test variables in src/share/mk/bsd.README.
Tested on i386, mips, fakedup Alpha environment.
1998-02-23 10:09:31 +00:00
mycroft
4462053ab3
Fill in missing (default) mmap(2) flags.
1998-02-20 09:27:18 +00:00
perry
ba7b5f16ff
add -DPMAP_NEW if PMAP_NEW is on in mk.conf
1998-02-18 03:54:58 +00:00
pk
9084f293a7
Print a warning message if we detect that a "copy symbol" has changed
...
size in a shared library. Also, always use our expected size to copy
the item in, on the assumption that doing so generally minimizes the
damage (maybe it's better to just bail out?).
1998-02-17 23:07:33 +00:00
tron
49a4ba96f8
Make login prompt handling smarter, fixed PR bin/3255.
1998-02-13 23:15:16 +00:00
cjs
0fb549738e
Disable RNFR command for guest users so that they can't rename (and thus
...
also overwrite!) files.
1998-02-13 17:15:53 +00:00
mrg
b788ab7665
use sysctl for "kern.boottime" over kvm_read
1998-02-12 05:27:51 +00:00
bad
8a0d3fa9d7
Make this compile with -DUVM.
1998-02-11 17:27:37 +00:00
mrg
279ce528ce
add -DUVM to CPPFLAGS if defined(UVM)
1998-02-09 06:25:15 +00:00
lukem
906cb46ddb
cons up a makefile to install whatis.db with FILES=
1998-02-09 01:34:57 +00:00