Commit Graph

289 Commits

Author SHA1 Message Date
csgr
a437577be6 The big crypt removal - make libtelnet exportable.
Securedist can be sorted out later - getting these bits exportable
is top priority.
The libtelnet with encryption has been moved to src/secure/lib.
It will either become part of libsecure, or or be made available
under another name, once the securedist strategy has been completely
worked out.
Submitted by:	Geoff Rehmet
1994-08-12 22:41:29 +00:00
csgr
dc279f216e Fix afterinstall rule for NOSHARED case
Submitted by:	Geoff Rehmet
1994-08-12 21:12:37 +00:00
dg
fcf8611de4 Made kvm routines use procfs to get out process data such as argument
strings.
1994-08-11 13:38:23 +00:00
wollman
a342a7f920 Oops, forgot to cvs add this file. 1994-08-10 06:27:35 +00:00
wollman
178a1b3793 Make it easier for programs to figure out what revision of FreeBSD they
are running under.  Here's how to bootstrap (order is important):

1) Re-compile gcc (just the driver is all you need).
2) Re-compile libc.
3) Re-compile your kernel.  Reboot.
4) cd /usr/src/include; make install

You can now detect the compilation environment with the following code:

#if !defined(__FreeBSD__)
#define __FreeBSD_version 199401
#elif __FreeBSD__ == 1
#define __FreeBSD_version 199405
#else
#include <osreldate.h>
#endif

You can determine the run-time environment by calling the new C library
function getosreldate(), or by examining the MIB variable kern.osreldate.

For the time being, the release date is defined as 199409, which we have
already established as our target.
1994-08-10 06:25:07 +00:00
wollman
c2a3fb3cca Eliminate non-fatal error message so Jordan doesn't get confused. 1994-08-10 04:25:19 +00:00
wollman
083822dbe4 Add back set_rpc_grouplistsize(), so mount_nfs compiles again. Also
fixed incipient bug wrt gid_t versus int.
1994-08-10 02:25:22 +00:00
wollman
cf3f4bcad2 Fixed typo. 1994-08-09 22:44:12 +00:00
wollman
31903ce529 Add (substantially re-written) support for /etc/host.conf, and reintegrated
1.1.5 support for YP, fixing a bug in 1.1.5 that prevented YP from ever
working reliably.  (I'm amazed that there were no bug reports.)

IWBRNI someone could write a host.conf(5) manual page.  Please look at
the code before doing so; this version is somewhat more flexible in the
format of its input.
1994-08-09 20:23:14 +00:00
csgr
bb43b35d5d The password scrambler now becomes libscrypt, and libcrypt is
a symlink to it. (The real libcrypt will be installed as libdescrypt.)
Submitted by:	Geoff.
1994-08-09 18:49:04 +00:00
csgr
2c91ab9500 This commit was generated by cvs2svn to compensate for changes in r1984,
which included commits to RCS files with non-trunk default branches.
1994-08-09 17:07:27 +00:00
csgr
d16f38c8f0 Nates password scrambler, from FreebSD 1.1.5, but with everything except
crypt() ripped out
Reviewed by:	Geoff Rehmet
Submitted by:	Nate Williams
1994-08-09 17:07:27 +00:00
wollman
7edde47b73 Use a consistent name for librpcsvc.
Reviewed by:
Submitted by:	Found by Bruce Evans.
1994-08-09 16:56:28 +00:00
wollman
df2bd21f52 Add back librpcsvc. It builds fine on both my machine and thud, I don't
know what Jordan's problem was.
1994-08-09 16:29:20 +00:00
jkh
8d4db54c4a Comment out librpcv. Not there.
Submitted by:	jkh
1994-08-09 00:37:16 +00:00
jkh
b8fc15b3cc Correct the man page extent.
Submitted by:	jkh
1994-08-08 19:26:23 +00:00
jkh
3863a7e7b8 Boy, was *this* ever bollixed!
1. Copyright files looked for in the wrong place

2. cmp was looking in wrong place for test data.

3. Driver for test not linked static, thus dynamic resolution of library
   not working.

4. Man page installation not consistent with source.

Reviewed by:
Submitted by:	jkh
1994-08-08 19:22:14 +00:00
jkh
c58dfc9aab Make this work even if make depend is not run.
Reviewed by:
Submitted by:	jkh
1994-08-08 18:54:08 +00:00
jkh
ffc1108145 Add a missing backslash to get this to work again.
Reviewed by:
Submitted by:	jkh
1994-08-08 15:17:41 +00:00
wollman
fad189b992 Added YP domain name getting/setting support, for SunOS/old program
compatibility.
1994-08-08 00:40:24 +00:00
wollman
9a727ad012 Make librpcsvc. 1994-08-07 23:27:27 +00:00
wollman
76377494cb Makefile to build librpcsvc. (All sources automatically generated.)
Taken from 1.1.5; not sure who originally wrote it.
1994-08-07 23:21:08 +00:00
wollman
9e6d3e2a44 Add back in the YP code from 1.1.5. (This attribution brought to you
by Theo de Raadt.)  Added a new make flag variable, NO_YP_LIBC, which
disables YP entirely.  User-land programs to come later.
1994-08-07 23:04:55 +00:00
wollman
412b2bc7be More directory cleanup after YP merge. 1994-08-07 22:21:14 +00:00
wollman
879cc6ba01 Don't try to build librpc in a separate directory. 1994-08-07 18:52:47 +00:00
wollman
a1216d4005 Add Sun RPC documentation, which should eventually go into our PSD.
(I think I'm up to part 6.)
1994-08-07 18:46:28 +00:00
wollman
d290ade8ec Moving RPC stuff into libc, part 2. 1994-08-07 18:39:35 +00:00
wollman
f189f587db Moving Sun RPC code into libc, part 1. Based on work done by a number of
people, including J.T. Conklin, Theo de Raadt, Paul Richards, and probably
someone else who's going to flame me as soon as they see this message.
1994-08-07 18:36:12 +00:00
wollman
efc3bf4732 Make it work with new mmap syscall. 1994-08-05 17:53:07 +00:00
dg
17e7606224 Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
wollman
3651e8b8d0 Allow libtelnet to compile, by removing references to Kerberos and DES in
the Makefile.  We still need to determine the appropriate source organization
for this.
1994-08-05 02:02:36 +00:00
wollman
6face23f3e Make up for the fact that rpc headers are now installed from include. 1994-08-05 01:59:40 +00:00
wollman
fa2b599e2e Temporarily force creation of librpc.so.2.0 (by including lib-directory
Makefile.inc).  Eventually this will be moved back into libc as in 1.1.5.
1994-08-05 01:58:43 +00:00
wollman
66118e81f9 Make it work with our make macros. 1994-08-05 01:52:05 +00:00
wollman
0930efaf59 Make it work with our make macros. 1994-08-05 01:42:04 +00:00
wollman
1ffb82bf2a First crack at making libc work with the new make macros. It compiles on
my machine, and a simple static (genassym) and shared (sysctl) executable
both work.  Still to be done: RPCand YP merge.
1994-08-05 01:19:12 +00:00
wollman
90087e8f72 From 1.1.5: define default shared library versions. For 2.0, use version
2.0.
1994-08-04 22:44:00 +00:00
wollman
c0f661f462 Make obj directory work right. md?hl.c should probably be
deleted, but I'll leave that up to PHK.
1994-08-04 21:20:03 +00:00
wollman
4479b77c9b histedit.h is now installed from include. 1994-08-04 20:47:46 +00:00
phk
807f01d177 Reviewed by: phk
Added libmd.
1994-07-24 03:30:47 +00:00
phk
ab16718378 This commit was generated by cvs2svn to compensate for changes in r1802,
which included commits to RCS files with non-trunk default branches.
1994-07-24 03:29:56 +00:00
phk
8a6db7e780 Reviewed by: phk
Imported libmd.  This library contains MD2, MD4 and MD5.
These three boggers pop up all over the place all of the time, so I 
decided we needed a library with them.  In general they are used for
security checks, so if you use them you want to link them static.
1994-07-24 03:29:56 +00:00
csgr
f120200c00 Rewrite nlist to mmap the whole a.out file (at Davidg's suggestion).
This means that we don't have to do rounding calculations for page
boundaries.  (We do all our accesses via the mmapped area now.)
Reviewed by:
1994-07-22 12:22:51 +00:00
guido
bcd7dbf945 Move skey.h to /usr/include so other packages will be able to use
libskey. (such as wu-ftp and xdm).
Editted skey so it matches the standard /usr/include way.
1994-06-02 20:25:30 +00:00
rgrimes
5c08450f86 MAP_FILE is the default on mmap now, and is no longer defined just
like on a sun, so #define it to be 0 if we are running BSD >=199306.
1994-05-28 13:59:16 +00:00
rgrimes
56169aa084 Enable csu/${MACHINE} now that I have copied in our crt* files. 1994-05-28 09:24:46 +00:00
rgrimes
d520158db4 Fix kvm_i386.c just enough to make it compile and return lots of errors
when called.  Noop out swapread in kvm_proc.c as our vm system is
different.
1994-05-28 05:48:30 +00:00
rgrimes
bede59afb8 This is a COPY of kvm_hp300.c, soon to be patched to sorta work with
the i386 port.
1994-05-28 04:34:59 +00:00
rgrimes
18e94da133 Make the comments about what is missing and not done consistent with
my other Makefile comments so they can easily be found with grep.
1994-05-28 04:32:21 +00:00
rgrimes
f615bd8b65 Initial revision 1994-05-27 12:32:03 +00:00
rgrimes
ef13b1890e Do not create link for *lib_p.a if you are not installing profiled libraries. 1994-05-27 11:02:31 +00:00
rgrimes
e79d32403a Comment out missing sources. 1994-05-27 11:01:30 +00:00
rgrimes
ed41ce1acb Pull in GNU2 fix for this from FreeBSD, allows ldexp.c to compile with
gcc2.x
1994-05-27 11:00:56 +00:00
rgrimes
e7af59394e Comment out missing libmp and libplot, disable csu until it is ported. 1994-05-27 11:00:20 +00:00
rgrimes
5ce521b0b5 This commit was generated by cvs2svn to compensate for changes in r1581,
which included commits to RCS files with non-trunk default branches.
1994-05-27 10:33:22 +00:00
rgrimes
3f0cb5fe2e This is Christopher G. Demetriou of NetBSD versions of ftime.c, gtty.c, and
stty.c.
1994-05-27 10:33:22 +00:00
rgrimes
522afe5098 This commit was generated by cvs2svn to compensate for changes in r1578,
which included commits to RCS files with non-trunk default branches.
1994-05-27 10:26:59 +00:00
rgrimes
3351a23834 This is James da Silva at the University of Maryland at College Park's
regex.c code as picked up from the net.
1994-05-27 10:26:59 +00:00
pst
f98c370850 Clean up S/key library (libskey.a) so that filename access is via the
standard 4.4bsd pathnames mechanism.

Also document a potential security hole vs backwards compatibility tradeoff.
1994-05-27 07:50:08 +00:00
rgrimes
eedec95276 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
rgrimes
412cfd3425 This commit was generated by cvs2svn to compensate for changes in r1573,
which included commits to RCS files with non-trunk default branches.
1994-05-27 05:00:24 +00:00
rgrimes
b533bb0399 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
rgrimes
be22b15ae2 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
rgrimes
8b1c40bc18 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
rgrimes
366dfaba19 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
rgrimes
24f0a69da0 BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
rgrimes
3466df2f5d BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00
rgrimes
7fb4da3221 BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
guido
922673777d Put md5.c copyright on md4.c. I contacted RSA inc. for that some time ago
but forgot to do it.

-Guido
1994-05-20 06:44:56 +00:00
guido
047685aef7 1) Added s/key support .
2  Added optional excessive login logging.
3) Added login acces control on a per host/tty base.
4) See skey(1) for skey descriptions and src/usr.bin/login/README
  for the logging and access control features.

-Guido
1994-05-19 18:13:11 +00:00
nate
4e18bd31f8 From Jordan via. Paul K.
This fixes the problems Warner's having with ctors not being called
again with the latest round of ld changes and updates the file-names to what
Paul is using now.

The name change will not affect anything as we are not (yet) using it.
1994-03-09 17:12:59 +00:00
rgrimes
a8c51b1229 Add $Id$ to all, clean up multiple spaces 1994-02-21 05:19:06 +00:00
nate
b88452c371 Allow NetBSD (old style) shared binaries to work. Probably not the
final solution but at least this gets folks running -current up again.
1994-02-16 19:26:39 +00:00
jkh
92f287873a New dlopen, dlclose, etc al. For the new ld changes. 1994-02-13 20:53:11 +00:00
dg
9c2f0e733c WINE/user LDT support from John Brezak, ported to FreeBSD by Jeffrey Hsu
<hsu@soda.berkeley.edu>.
1994-01-31 12:05:32 +00:00
dg
8bc542a60d Implemented 'QMAGIC' a.out format correctly, and changed the default
output to be QMAGIC.
1994-01-03 18:35:54 +00:00
jkh
866c689960 Adding embryonic C++ shared lib support (all tests positive so far). 1993-12-24 02:11:37 +00:00
ache
9c22e5bb70 -r option incorrectly removed:
it is impossible to make gcrt0.o from moncrt0.o and gmon.o without it.
1993-11-18 00:08:03 +00:00
paul
3f9b37efec Removed all the ld -x -r stuff -- paranoia. 1993-11-16 02:22:16 +00:00
paul
6ab451c484 shlib update:
Can get rid of local symbols with "ld -x -r" again.
Made LDSO #ifdef DEBUG.
1993-11-09 04:26:11 +00:00
paul
e31d3bbcc6 Removed install -d line since our install doesn't support the -d
option.
1993-11-07 03:05:40 +00:00
paul
eb0155c0b9 Added shared libs support from NetBSD. 1993-11-04 01:09:18 +00:00
dg
db5c3ded26 Yanked out the 8 'addb %al,%al' (0xc000)'s out of the start of the
program. The idea was that these are 'alignment' crap, but the image
is 16byte-aligned without these. Location 0 still doesn't have a 0,
but who cares, binaries wil be built with page zero unmapped in the
near future.
1993-10-26 09:04:13 +00:00
root
e52b688b2f Added ${COPY} knob to the install commands 1993-07-03 00:21:21 +00:00
nate
02f4f7db9a Added some support the new err(3) routines need
(Copied directly from NetBSD verbatim)
1993-06-29 04:34:12 +00:00
paul
b803a1954d Upgrade to GCC 2.X 1993-06-18 02:04:48 +00:00
rgrimes
48231afadc Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:58:17 +00:00
rgrimes
e209a83c1e This commit was generated by cvs2svn to compensate for changes in r4,
which included commits to RCS files with non-trunk default branches.
1993-06-12 14:58:17 +00:00
rgrimes
e7bc108f0d Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:58:17 +00:00