Commit Graph

455 Commits

Author SHA1 Message Date
pk ff90cf758b Keep track of `dlsym()' symbol lookup scope differently. There's (currently)
only one special case: a NULL argument to dlopen(); return a special
token for that case.
1997-05-03 08:00:02 +00:00
tls 037708cbd4 Sync to 4.4BSD-Lite2 1997-04-29 21:19:05 +00:00
tls 80eef670d5 fix a couple of unlikely buffer overflows. 1997-04-29 21:01:54 +00:00
tls 83c7e41542 Sync to 4.4BSD-Lite2 1997-04-29 20:39:10 +00:00
tls eec1ea6c3f Import from 4.4BSD-Lite2 1997-04-29 20:07:31 +00:00
cjs 6ed41b9085 /etc/ftpusers now matches globs against the username. mycroft suggested this. 1997-04-29 04:00:39 +00:00
lukem 66783f1f43 * fix "cd ~" so that it works (from Simon Burge <simonb@telstra.com.au>
* move resetting of CFLAGS on powerpc to before optional CFLAGS settings
* minor code & man page cleanups
1997-04-27 03:21:38 +00:00
mrg 8a6057d663 get rid of supplementary groups. 1997-04-22 10:33:07 +00:00
mrg cae2d6411c KNF. RCSids. be safe with buffers. 1997-04-21 11:29:26 +00:00
thorpej 85ea5d090f Don't compile this with -O on the PowerPC - cc1 cores. 1997-04-19 05:13:26 +00:00
thorpej cb232ac37b STRIP -> STRIPFLAG (sign, I guess I forgot to check this one in last night) 1997-04-17 22:17:27 +00:00
christos d3d1227320 Ld directory reorganization:
- separate out the common files used by rtld ldd ld
	- move machine dependent files into arch
	- move ld in its own directory
	- factor out .PATH and CFLAGS common to all Makefiles
1997-04-16 16:49:28 +00:00
cgd 7631ac43fd make sure that ld.elf_so's path is in the data segment 1997-04-15 07:15:46 +00:00
cgd aee2cfeaa1 pull in arch-specific Makefile.inc only if it exists 1997-04-10 17:39:20 +00:00
mikel f78e29b2a9 descend unconditionally for clean and cleandir targets 1997-04-09 06:23:40 +00:00
cjs a5d6da371a Change the syntax of /etc/ftpusers to have both allow and deny
information in the same file by following the username with `allow'
or `deny'. Also, the user `*' can be used to set the default for
users not listed in the file. This is entirely backward compatable
with old /etc/ftpusers files.
  Also, do the /etc/ftpusers and the valid login shell checks after
the password is verified, rather than before, so as not to give away
whether or not a particular user ID is present on the system.
1997-04-06 07:53:10 +00:00
cjs ff88177058 Changes to make anonymous uploads more secure. For anonymous users:
* Set umask to 707;
* Disable UMASK, CHMOD, DELE, RMD and MKD commands.
Compile-time options let you change that umask and go back to the
old, insecure way if you like.
1997-03-30 22:53:36 +00:00
cjs 76d4734615 4.4lite2 update. (The one minor bugfix between 4.4lite and 4.4lite2
was already in our sources, thus just the sccsid line is changed.)
1997-03-28 21:55:41 +00:00
christos d59123b39b - Makefile cleanups 1997-03-24 22:15:37 +00:00
christos 0aad9d4378 Makefile cleanups 1997-03-24 22:02:40 +00:00
cgd fbf6ff628e put in two identifying notes, which new binutils snapshots will turn
into PT_NOTE sections so they can be examined by execve() to figure
out whether this is a native binary, what emulation it's to be run under,
etc.
1997-03-21 05:39:42 +00:00
perry ab8dd6a331 fix typos per pr-3349 submitted by SAITOH Masanobu 1997-03-18 14:25:29 +00:00
perry a73d94202d add rmail 1997-03-13 03:00:41 +00:00
perry e44e016feb add SYMLINKS to keep an symlink from /bin for back uucp compatibility 1997-03-13 02:51:29 +00:00
perry 94a8f86c1d Remove BUGS -- rmail is now not in /bin any more 1997-03-13 02:50:18 +00:00
mouse 80c0d60f84 alternate -> alternative, per PR 2643 1997-03-08 13:47:08 +00:00
cgd 3192bd314f turn Alpha's ELF_TOOLCHAIN checks to ECOFF_TOOLCHAIN checks 1997-02-23 20:42:24 +00:00
thorpej b817db1eaf Fix reporting of disk statistics that's been broken since new disk
framework went in.  From Jarle Greipsland <jarle@runit.sintef.no>, PR #3200.
1997-02-22 01:41:34 +00:00
cgd 1948031343 use 'normal' ELF library lookup rules 1997-02-17 19:32:05 +00:00
cgd e513f97a8b don't include members of Struct_Obj_Entry conditionally. 1997-02-14 22:30:25 +00:00
cgd f87e04ac68 that which thou openest, thou shalt close. 1997-02-03 19:45:02 +00:00
explorer c80b5ae409 Doh! MAXHOSTNAMELEN, not MAXHOSTNAME 1997-01-29 10:30:14 +00:00
explorer 143a02016e Allow local hostname to be longer than 32 characters, and make certain it will
fit in the buffer space provided.  Also, ensure null termination.
1997-01-29 03:21:01 +00:00
mrg 3771fb912e set transflag to 0 in dologout, to prevent a SIGURG taking us back to the main loop. 1997-01-23 05:57:55 +00:00
thorpej 9fef925ff0 RCS ID police. 1997-01-20 21:01:28 +00:00
cjs 2d1967471a PR 3089: fingerd.8 could be misleading.
Patch from Klaus Klein <kleink@layla.inka.de>, with a few minor mods by cjs.
1997-01-08 00:12:44 +00:00
scottr 372fe2ff92 Catch up with const changes to dlopen() and dlsym() prototypes in
<dlfcn.h>.  Tested on i386 and hp300 for crt0.o and ld.so, verified
other references by inspection.
1997-01-03 22:37:58 +00:00
pk db6c2ee527 <link.h> has moved in with the run-time linker source. 1996-12-23 22:13:03 +00:00
pk 49dc4d2fe7 Deal with weak symbols when looking up in shared libraries. 1996-12-21 21:53:16 +00:00
cgd 0b2b5475a4 nclude dlfcn.h, and pull RLTD_LAZY in from there. Assume that RTLD_NOW is
RLTD_LAZY + 1 (for now), if it's not defined.  RTLD_NOW should be defined
in dlfcn.h, since some code (e.g. X11) wants it and assumes that it has
the value currently used by our RTLD_LAZY.
1996-12-18 22:27:29 +00:00
cgd 7492fca28d telnetd is usually spelled with two "t"s. 1996-12-18 22:11:09 +00:00
thorpej c2958a4c33 RCS id police. 1996-12-18 05:39:57 +00:00
thorpej 25cc72bed2 Perform the same "don't build telnet stuff if the domestic counterparts
are present in the source tree" kludge that telnet(1) and libtelnet do.
XXX !!
1996-12-18 05:39:13 +00:00
cgd df19e8aaf2 remove /usr/localelf/lib from default library path 1996-12-17 05:04:10 +00:00
jonathan 20d6ace077 Mipsel changes to ELF ldd/ld.so:
* don't abort() on NetBSD/pmax 1.1 elf binaries;
  * Assume 32-bit elf unless compiling for Alpha;
  * note bugs in ldd's README.
1996-12-17 03:42:44 +00:00
cgd 41fe218b25 First cut at an ELF shared loader. Originally from John Polstra's FreeBSD elf
kit, then hacked on by Matt Thomas <matt@3am-software.com>, then by me (to
make it work with new versions of the toolchain, etc.).  This runs, but it's
in serious need of cleaning and/or a fair bit of reworking.  See the README
file for more information, and a list of things to do.
1996-12-16 20:37:55 +00:00
cgd 5a09b2d886 on the alpha, if ELF_TOOLCHAIN, add ld.elf_so to the subdirs list 1996-12-16 20:01:34 +00:00
thorpej d303db9334 Fix newline/carriage return handling during login.
From D'Arcy J.M. Cain <darcy@druid.com>, PR #2969.
1996-12-01 00:44:48 +00:00
gwr d2ae1a2c2f After the chown(ttyn, 0, 0), call ttyaction(ttyn, "getty", "root") 1996-11-14 19:25:50 +00:00
lukem 9e4b2c6012 - implement -a (verfiy all hostnames) with code taken from rshd(8).
closes [misc/543] and [bin/1295]
- syslog() failures of iruserok(), which should help debugging why
  a .rhosts authentication failed.
- log a successful iruserok() if -L given. idea from rshd(8).
- allow root .rhosts to authenticate, the same way that rshd(8) does.
  the prior behaviour meant that 'rsh foo csh -i' could get a shell
  without a password, but 'rlogin foo' couldn't; very inconsistant.
  closes [bin/1078] and [bin/1239]
1996-11-08 07:47:44 +00:00