thorpej
3ff0b1a74c
RCS id police.
1996-07-31 20:33:02 +00:00
phil
cc13fe98cb
Fix for dynamically linked functions returning structs. PR#2586/Pfaller
1996-07-31 06:22:41 +00:00
rat
c8b88b5da7
Use snprintf(3) when printing into arrays allocated on the stack.
...
Patch submitted by David Holland <dholland@hcs.HARVARD.EDU>
1996-07-17 18:46:58 +00:00
thorpej
648aed921f
RCS id police.
1996-07-03 03:28:09 +00:00
pk
721a11bff8
Use DESTDIR to point at libraries like bsd.prog.mk does (PR#2524).
1996-06-08 22:22:26 +00:00
mrg
d0e431b53a
log the IP address if the hostname is > UT_HOSTSIZE, as per telnet. pr#1946
1996-05-21 12:22:31 +00:00
mrg
2a6bfcfdcf
call setlogin. from pr#1292 (James Jegers <jimj@miller.cs.uwm.edu>)
1996-05-21 11:06:49 +00:00
mark
060e1bc8f1
Initial commit of arm32 machine dependant code for ld.
...
Currently only supports static linking.
1996-05-17 21:51:07 +00:00
jtc
01120f4477
Updated to use <util.h>.
...
From Greg Hudson <ghudson@MIT.EDU>.
1996-05-15 23:46:50 +00:00
christos
c522811711
Explain why identd is using LOG_DAEMON to log messages instead of LOG_AUTH.
1996-05-13 16:50:43 +00:00
jtc
93153c7796
Changed to use 1900 + tm_year instead of hardcoding "19" as the century.
...
From PR #2308 by Stephen J. Roznowski <sjr@zombie.ncsc.mil>.
1996-04-08 19:03:11 +00:00
tls
9f01fb5000
apply Thorsten's patch to add gettytab support to telnetd.
1996-03-20 04:25:53 +00:00
ragge
5005458ad0
Removed a couple of "ifdef vax" that caused rstatd not to work.
1996-03-10 15:24:20 +00:00
thorpej
14c6919f1d
RCS id cosmetics.
1996-02-28 20:38:08 +00:00
thorpej
7c0f11b167
Move the RCS id to the proper place in the file.
1996-02-28 20:30:33 +00:00
jtk
47dc9102de
restore lost local change (be careful with 'long' vs. 'int'
...
distinctions)
1996-02-24 19:13:37 +00:00
jtk
aefee90c37
RCS Id Police
1996-02-24 01:34:44 +00:00
jtk
42e1b6b73d
update to telnetd from 95.10.23 version. Includes Borman's scrub_env()
...
to keep stuff out of the environment on the way to exec (we already have
one in the state machine that keeps them from arriving over the wire, so
this should be redundant, but it'll make any further updates easier to
have it present).
also, RCS Id police.
1996-02-24 01:22:12 +00:00
pk
05105a9150
Define RELOC_INIT_SEGMENT_RELOC for the ns32k (Matthias Pfaller; PR#2103).
1996-02-22 00:19:57 +00:00
cgd
02172229ba
add -Dunix to CFLAGS
1996-02-16 02:07:41 +00:00
mycroft
c16462643c
Make sure that the user name cannot ever be interpreted as an option to
...
login(8). Note: This does *not* fix any security holes.
1996-02-08 06:19:14 +00:00
mycroft
90f0c26840
Make sure that the user name cannot ever be interpreted as an option to
...
login(8). Note: This does *not* fix any security holes.
1996-02-08 06:05:31 +00:00
jtc
e25f83b8be
Fixed to use ffs instead of ufs; See PR #1984
1996-02-01 02:50:52 +00:00
thorpej
08f474ecc4
Correct the instructions regarding the password database in
...
~ftp/etc, from Rob Windsor <windsor@ksu.ksu.edu> in PR #544 .
1996-01-14 20:55:23 +00:00
pk
55d51fbb95
Relax checking of minor version number in `findhint()'. Also use the
...
directories from the hints (v.2) file for directory traversing.
This should take care of PR#1146.
1996-01-14 00:35:17 +00:00
pk
ccc1c895ef
Deal with v.2 hint files (hint srch dirs not yet used).
1996-01-09 00:02:28 +00:00
pk
d98240030c
Define LD_HINTS_VERSION_2:
...
- no longer hash on minor version number in hints file.
- add list of ldconfig(8) search directories.
1996-01-09 00:00:11 +00:00
tls
0f47839ca2
fix small documentation bug -- we have no bftp(1).
1996-01-05 04:10:10 +00:00
jtc
0250d4039d
Fix userid format to conform to RFC1413. Fix from der Mouse in PR1848.
1996-01-02 22:01:55 +00:00
thorpej
2e1dc487c5
Add -fno-function-cse to PICFLAGS. Without it, Very Bad Things happen
...
when ld.so is compiled with gcc 2.7.2 on the m68k. From
Niklas Hallqvist <niklas@appli.se> in PR #1557 . (Thanks, Nik, for reminding
me about this PR...)
1996-01-02 08:54:28 +00:00
pk
4162cf6459
Simplify update of r_addend field in relocation record if `-r' is on.
...
The old quirky code did strange things.
1995-12-28 18:04:59 +00:00
pk
2bb60e32ec
Make dlopen() search for libraries if given a name of the form
...
`lib<name>.so[.xx[.yy]]' (per Erik M. Theisen; PR#1763; patch from PR
used in simplified form).
1995-12-28 17:57:32 +00:00
thorpej
d6cc013968
Now that we compile the tree with -Werror, remove an explicit #warning
...
and replace it with an XXX comment.
1995-12-14 21:58:33 +00:00
pk
35c8aad7b3
Flush after diddling text, so we get predictable results on machines
...
with separate I & D caches.
1995-11-28 19:29:45 +00:00
ragge
6ac54c7a78
Vax support for ld, so we (at least) can link static binaries.
1995-10-19 13:10:17 +00:00
ghudson
75ec1de458
Cleanup, from Mark Eichin.
1995-10-19 12:47:28 +00:00
ghudson
070618219e
Filter potentially dangerous environment variables passed from
...
telnet client.
1995-10-18 05:44:26 +00:00
pk
d04fcadcc2
Fix typo.
1995-10-09 09:24:59 +00:00
pk
9d43c41208
New style RCS IDs.
1995-10-09 00:09:39 +00:00
pk
b74b1d6456
Allow customized trace output, so ldd(1) can be more conveniently used
...
as a filter.
Rearrange cascading stuff: remove two-level limit.
1995-10-08 23:43:28 +00:00
mycroft
d31086db17
Update from kernel source.
1995-10-05 08:51:31 +00:00
mycroft
4a508a1252
Change to use SET(), CLR(), and ISSET() macros. Copy current sgtty->termios
...
conversion code from kernel.
1995-10-05 07:16:25 +00:00
mycroft
a38b5c448f
Fix some other problems created during the termios switch.
1995-10-05 00:54:45 +00:00
mycroft
2da76ff341
Simulate the old newline behaviour better, and make sure OPOST
...
is set if needed.
1995-10-05 00:40:33 +00:00
pk
b19a7d87e2
Pass on return value.
1995-09-23 22:48:18 +00:00
pk
d4fe561742
Interface version 4:
...
implement dlexit() (per Doug Rabson)
get actual rtld path from crt0
pass ld_entry back to crt0 in a better place
1995-09-23 22:46:24 +00:00
pk
fa6e06725c
Define `dlexit()' in crt<=>rtld interface (active in v4).
1995-09-23 22:26:15 +00:00
jtc
d943cdadce
Sync with 4.4lite2
1995-09-07 06:42:58 +00:00
pk
1a9159c7ba
Check for zero sized BSS to avoid a big no-op syscall (per Mike Hibler).
1995-08-31 22:07:25 +00:00
pk
f6797ed4f1
Install the manual page.
1995-08-25 10:08:45 +00:00
cgd
6c5f148828
log open failure every 10th try (that was the old behaviour) UNLESS
...
the error is ENXIO and it's already been logged. (this allows people
to leave getty's running on nonexistent devices without filling their
syslog. while it's arguable that that might not be a good idea, i've
found it to be _very_ useful, because it allows me to rdist /etc/ttys.)
1995-08-13 04:08:27 +00:00
pk
72acb4fe30
Handle object code with the "large" model PIC (eg. gcc's `-fPIC' option).
1995-08-04 21:32:15 +00:00
pk
4a5c9a20e5
Use `xdrproc_t' to declare xdr_{args,result}. (takes care of PR#1182).
1995-07-09 00:30:11 +00:00
pk
b542137ece
Oops, previous needs <limits.h>
...
Also, previous addresses PR#1183.
1995-07-08 23:57:06 +00:00
pk
39565cfe93
Call kvm_openfiles() with suitable arguments.
...
(Note, the error reporting mechanism in here is quite braindead)
1995-07-08 23:53:46 +00:00
pk
f42537952b
man page for the run-time linker
1995-06-30 12:23:10 +00:00
pk
fed935eb9a
Conform to rpcgen generated prototypes.
1995-06-24 15:57:18 +00:00
pk
5bf5f9214d
Make declarations confirm to rpcgen generated prototypes.
1995-06-24 15:47:49 +00:00
pk
45359beaf4
Initialise after malloc (fixes PR#1149).
...
Also, correct comparison when looking in `prefered' paths.
1995-06-20 23:07:03 +00:00
jtc
1847eaed9f
sys/termios.h -> termios.h
1995-06-19 22:47:37 +00:00
cgd
fe84ea21f6
update for new network queues
1995-06-19 21:59:31 +00:00
cgd
2db81cafc5
update for new networking queue structures
1995-06-18 22:44:10 +00:00
cgd
788733b7a9
typeof(timeval.tv_sec) != time_t
1995-06-07 17:14:21 +00:00
pk
d680ed6b95
#include <dlfcn.h>
1995-06-05 00:08:38 +00:00
pk
878392000d
Put dlopen() et.al. declarations in separate header file for compatibility.
1995-06-05 00:08:07 +00:00
pk
fdd7092874
Cache two more environment variable values.
1995-06-04 23:21:35 +00:00
pk
fe9497fd8c
Revive library search paths.
1995-06-04 21:57:18 +00:00
pk
ad760ce3d6
Implement compiled-in library search paths: any `-L' argument encountered
...
while `dynamic link-mode' is on, is recorded in the executable. The
run-time linker will search these paths after $LD_LIBRARY_PATH but
before the default set and those currently in the hints file.
The feature is disabled whenever for set[ug]id programs.
1995-06-04 21:56:22 +00:00
jtc
ad6a2b10b2
The tftpd daemon must be invoked as root in order for the chroot()
...
call to succeed, and must give up those privledges as soon as the new
root has been aquired. Use setgid() & setuid() to explicitly set the
user and group IDs to non- priveleged values.
This change now requires tftpd to be executed by root. I haven't
studied the security implications of making it setuid root, so
inetd.conf needs to be changed to start it as root.
1995-06-04 20:48:22 +00:00
mycroft
e4cc49cc0d
Fill in sin_len.
1995-06-03 22:47:20 +00:00
mycroft
5860921eda
Fill in sin_len.
1995-06-03 22:37:19 +00:00
phil
46466fb2d7
Correct copyright.
1995-05-29 18:11:35 +00:00
mycroft
cc8066939d
Use inet_aton(), not inet_addr().
1995-05-21 00:39:11 +00:00
jtc
9ae90685f2
Winning Strategies has placed this code in the public domain.
1995-05-11 23:03:44 +00:00
briggs
ad2b81e4f0
jbsr takes one argument, not two. Apparently the assembler quietly
...
ignores the second...
Pointed out by uhenric@mcl.ucsb.edu (Henric Jungheim).
1995-05-07 13:22:12 +00:00
mycroft
78cb5bbe77
Use POSIX tty semantics.
1995-05-02 02:05:47 +00:00
jtc
2d577aafd2
Install manpage as foo(8) as well as rpc.foo(8), a convenient shorthand.
...
Also make sure that foo and rpc.foo are mentioned in the NAME section.
1995-04-12 00:47:27 +00:00
jtc
0e1df05653
#include <sys/signal.h> -> <signal.h>
1995-04-12 00:41:40 +00:00
cgd
8954551479
typo.
1995-04-11 02:58:40 +00:00
cgd
6a9917621c
clean up RCS Id's and a couple of stype nits.
...
Also, fix bug 947 (reported by Luke Mewburn, extraneous vers.c)
1995-04-11 02:44:45 +00:00
pk
28dba22b40
Fix bogosities in cascade stuff.
1995-04-01 20:56:55 +00:00
jtc
ae0b9c2010
KERNEL -> _KERNEL
1995-03-28 17:18:59 +00:00
mycroft
eb82f2b314
__timersub --> timersub
1995-03-26 23:36:44 +00:00
mycroft
dad7a18390
Use IPTOS_THROUGHPUT for passive mode data connection.
1995-03-22 16:55:35 +00:00
mycroft
ebeae88da2
Use POSIX signals.
1995-03-21 21:47:04 +00:00
cgd
930fffb85d
clean up id tags
1995-03-21 07:08:15 +00:00
brezak
4036a63b78
Fill in ttyname for cred file uniquifier under KERBEROS (From Michael Graff)
1995-03-08 19:50:54 +00:00
pk
b6340cabe2
Burn LD_RUN_PATH; I didn't read the SVR5 man-pages carefully enough.
1995-03-06 22:59:10 +00:00
pk
64edf8f86f
Code from Matthew Green to do DL cascading "in the first degree".
...
Two `fprintf(stderr, ..)' => `warnx(..)'.
1995-03-06 20:51:24 +00:00
cgd
3a92da2d89
properly init group list before running the job.
1995-03-02 22:06:06 +00:00
mycroft
4c34be6b52
Clean up deleted files.
1995-03-01 00:00:00 +00:00
jtc
490ec0010d
Change mention of /etc/passwd to /etc/pwd.db, as reported by PR #556 .
1995-02-17 09:19:45 +00:00
christos
770ca3a8d6
Fix:
...
Save hostname in a permanent buffer, otherwise ruserok()
can trash it if it calls gethostbyname() or inet_ntoa().
Repeat by:
Add entries in .rhosts and login from a machine that does
not have an entry there. Notice that the error message
in syslog contains the last hostname in .rhosts and not
the original remote hostname.
1995-01-20 18:48:50 +00:00
mycroft
ae92c26c4c
Several consistency nits, and fix a byte order problem in md_swapout_reloc().
1995-01-17 06:44:38 +00:00
mycroft
2c64d3be89
Several consistency nits, and don't define the get_*() macros twice.
1995-01-17 06:41:43 +00:00
mycroft
8f6e962b3e
Die quietly when we time out.
1995-01-13 21:28:00 +00:00
mycroft
5f5a0a3e8d
Oops.
1995-01-13 21:07:00 +00:00
mycroft
f8bc7fb821
Only time out if called from inetd. Other cleanup.
1995-01-13 20:53:08 +00:00
mycroft
516fa506ed
Make sure we reply to the request, so the client will stop sending.
1995-01-13 20:46:33 +00:00
mycroft
b481f03023
General cleanup.
1995-01-13 19:59:13 +00:00
mycroft
48bf1a7fe0
Fix error messages.
1995-01-13 19:37:52 +00:00
mycroft
8ee607a670
Need syslog.h.
1995-01-13 19:18:08 +00:00
mycroft
93335c3b0e
Free argument list (for !from_inetd case). General cleanup.
1995-01-13 19:16:45 +00:00
mycroft
e3cbb4b410
Fix this for the case of not running from inetd. Send error messages to a
...
useful place. General cleanup.
1995-01-13 18:51:39 +00:00
mycroft
002aa598e1
Correct calling sequence of getsockname(2).
1995-01-13 06:14:28 +00:00
pk
a9384f4676
Define `MAN'.
1994-12-25 12:32:12 +00:00
pk
da34da6096
Put a reserved field into use (weak symbol support).
1994-12-23 20:16:59 +00:00
cgd
a59d6b2cae
stdlib.h for protos
1994-12-23 15:59:21 +00:00
cgd
b54e75897f
be a bit more careful with types, casts, and and function declarations.
1994-12-23 14:29:31 +00:00
cgd
ae9172d6cd
specify man pages the new way.
1994-12-22 09:57:51 +00:00
cgd
b32916a5d5
new way of specifying man pages.
1994-12-22 09:23:05 +00:00
glass
e34b72b0cb
vis(3)ify remote user name. Fixes bug 589. Fix basically as submitted by matthew green
1994-12-21 20:03:48 +00:00
pk
e46ed32748
Bummer! Undo mmap() changes in rev. 1.26; they royally screw up the
...
kernel's pmap address preference mechanism.
1994-12-19 12:21:21 +00:00
pk
e2025017e0
Handle "/dev/zero" stuff more globally.
1994-12-18 16:05:49 +00:00
pk
b8937d605d
Re-arrange mmap() calls, per Charles' suggestion.
1994-12-18 15:38:55 +00:00
pk
524e00b29b
Ensure contiguous chunks for all of an object's address space (text+data+bss).
1994-12-07 20:30:53 +00:00
mycroft
9ea7c211d9
Fix some other broken comments.
1994-12-04 08:26:22 +00:00
mycroft
ffadc8821a
Remove silly comment that was causing `make depend' to barf.
1994-12-04 07:42:44 +00:00
pk
7df5d3ecf2
Another md macro to initialize a home-made struct reloc needed
...
for N_SET* type relocations in shared objects.
1994-11-30 18:24:56 +00:00
phil
0a13ae3ba2
patches from Matthias
...
new RCS id format
1994-11-30 06:20:42 +00:00
jtc
3a08d567f4
Misc manpages fixes (PR #551 )
1994-11-03 15:37:46 +00:00
mycroft
15cea8b764
Don't close the hints file while it's mapped, but unmap and close it after
...
loading.
1994-10-26 20:21:42 +00:00
mycroft
e23e2b1219
Remove two unused functions.
1994-10-26 20:03:31 +00:00
mycroft
c1a45e7763
Clean this up a bit, and use the trap gate to enter the kernel.
1994-10-26 19:41:13 +00:00
cgd
4d2cbfce0a
new RCS ID format.
1994-10-26 00:55:40 +00:00
mycroft
206b57f8c9
Minor tweak to aid cross-compiling.
1994-09-24 01:02:51 +00:00
mycroft
4fb5f48ce0
Remove old comment about converting to termios.
1994-09-24 00:56:05 +00:00
mycroft
8f58e94ed3
Import original 4.4-Lite version.
1994-09-24 00:41:59 +00:00
mycroft
667b5ea158
Merge 4.4-Lite version.
1994-09-22 09:24:46 +00:00
jtc
a5f771b355
Fix PR #491 , what could have been a big security hole
1994-09-20 23:09:14 +00:00
deraadt
43965575ed
NBPG --> getpagesize()
1994-09-19 16:58:18 +00:00
mycroft
72e34bc0d4
Shrink ld.so by 12k.
1994-09-19 04:49:02 +00:00
mycroft
7e59c0d1fc
Fix typo in date format.
1994-09-18 00:14:39 +00:00
mycroft
6386e4b6a5
Document the % escapes I added, and clean up the description of %h a bit.
1994-09-16 22:02:34 +00:00
pk
6b619f18ed
Use tcflush().
1994-09-05 09:09:43 +00:00
pk
437ee32a52
Set control flags properly while in read mode.
...
Supply process ID when syslogging.
1994-09-05 08:52:49 +00:00
mycroft
2f65aa5da5
Fix pad insertion for termios.
1994-08-24 16:42:23 +00:00
mycroft
4695fa8444
Use _POSIX_VDISABLE, not \377.
1994-08-24 16:39:24 +00:00
mycroft
d72774f29d
Use cfset[io]speed() to set termios speeds, per POSIX.
1994-08-24 07:54:50 +00:00
pk
41671de8e6
Define Global Offset Table range.
1994-08-21 15:15:43 +00:00
pk
4bba3e65c6
The man page says to disable input parity checking if `ap' is on.
1994-08-17 20:27:59 +00:00
pk
fe82241620
Cleanup import, merge local changes.
1994-08-17 20:10:27 +00:00
pk
1ea392708b
Import 4.4-Lite version.
1994-08-17 19:50:13 +00:00
phil
7297407d7b
fix from Matthias Pfaller.
1994-08-16 23:18:20 +00:00
pk
462fa7ef48
Handle parity stuff more sensibly; `ep' and `op' take precedence over `ap'.
...
Update tty_compat().
1994-08-15 15:46:44 +00:00
pk
233cc208f0
Re-add `LD_WARN_NON_PURE_CODE' that went missing.
1994-08-12 08:11:16 +00:00
pk
867591e7cb
Relax minor version number checking somewhat; issue warning if minor
...
version is less than expected.
1994-08-07 10:34:40 +00:00
jtc
9c98b1cffd
Sync with 4.4 lite
1994-08-06 23:26:31 +00:00
jtc
d7b008b8f9
Change format specification from %ld to %qd, as off_t's are now quads.
1994-08-05 23:41:15 +00:00
jtc
c3a4cec791
Include proper header files to bring prototypes into scope
1994-08-05 01:01:16 +00:00