Commit Graph

21188 Commits

Author SHA1 Message Date
Jordan K. Hubbard
e2014c1dcb Latest fix from jtc:
The fyl2xp1 instruction has such a limited range:
   -(1 - (sqrt(2) / 2)) <= x <= sqrt(2) - 1
it's not worth trying to use it.

Also, I'm not sure fyl2xp1's extra precision will
matter once the result is converted from extended
real (80 bits) back to double real (64 bits).

Reviewed by:	jkh
Submitted by:	jtc
1994-08-19 23:52:29 +00:00
Guido van Rooij
21f0f67278 Add entry for libskey
Reviewed by:
Submitted by:	guido
1994-08-19 18:16:40 +00:00
Jordan K. Hubbard
6ce4810b0a Make this puppy actually compile now.
Submitted by:	jkh
1994-08-19 11:15:40 +00:00
Jordan K. Hubbard
ec8cc6082c Do all the includes: <machine/asm.h> -> <machine/asmacros.h>
Reviewed by:
Submitted by:
1994-08-19 11:14:32 +00:00
Jordan K. Hubbard
2a3617d129 Change includes to reference <machine/asmacros.h>.
Submitted by:	jkh
1994-08-19 11:12:52 +00:00
Jordan K. Hubbard
b605997937 Make libmsun a switchable option, as before.
Submitted by:	jkh
1994-08-19 10:24:56 +00:00
Jordan K. Hubbard
3a8617a83f J.T. Conklin's latest version of the Sun math library.
-- Begin comments from J.T. Conklin:
The most significant improvement is the addition of "float" versions
of the math functions that take float arguments, return floats, and do
all operations in floating point.  This doesn't help (performance)
much on the i386, but they are still nice to have.

The float versions were orginally done by Cygnus' Ian Taylor when
fdlibm was integrated into the libm we support for embedded systems.
I gave Ian a copy of my libm as a starting point since I had already
fixed a lot of bugs & problems in Sun's original code.  After he was
done, I cleaned it up a bit and integrated the changes back into my
libm.
-- End comments

Reviewed by:	jkh
Submitted by:	jtc
1994-08-19 09:40:01 +00:00
Sean Eric Fagan
f98d56227f More stuff from the latest curses. Really minor this time.
Reviewed by:	Sean Eric Fagan
1994-08-13 23:23:53 +00:00
Sean Eric Fagan
6c8ac72df7 Brought the 2.0 libcurses up-to-date with the current 4.4 stuff, as
distributed in keith bostic's nvi (got his permission first).  Most changes
are cosmetic, but a few errors (mostly in tty..c) were cleared up.

Reviewed by:	Sean Eric Fagan
1994-08-13 23:15:38 +00:00
David Greenman
c501fb74cf Fixed problem with returning -1 on error when the return value is a
long long. Done by plugging both eax and edx with -1. This will clobber
edx unnecessarily when the return value is only 32bit...though probably
always an okay thing to do, it could stand a better fix.
   This was the cause of gawk being broken (boy was THAT ever a subtle
bug!!!).
1994-08-13 14:00:26 +00:00
Geoff Rehmet
54df3c12f9 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
Geoff Rehmet
a54d939519 Fix afterinstall rule for NOSHARED case
Submitted by:	Geoff Rehmet
1994-08-12 21:12:37 +00:00
David Greenman
338c75418e Made kvm routines use procfs to get out process data such as argument
strings.
1994-08-11 13:38:23 +00:00
Garrett Wollman
01697c8ddb Oops, forgot to cvs add this file. 1994-08-10 06:27:35 +00:00
Garrett Wollman
9ae159169a 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
Garrett Wollman
d1d58d7209 Eliminate non-fatal error message so Jordan doesn't get confused. 1994-08-10 04:25:19 +00:00
Garrett Wollman
6a39a56770 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
Garrett Wollman
d669ce372d Fixed typo. 1994-08-09 22:44:12 +00:00
Garrett Wollman
b42815434e 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
Geoff Rehmet
f5db7b1cf9 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
Geoff Rehmet
0e27b8d587 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
Garrett Wollman
d2845bc56b Use a consistent name for librpcsvc.
Reviewed by:
Submitted by:	Found by Bruce Evans.
1994-08-09 16:56:28 +00:00
Garrett Wollman
ae6bbc9a7b 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
Jordan K. Hubbard
9b9185af8d Comment out librpcv. Not there.
Submitted by:	jkh
1994-08-09 00:37:16 +00:00
Jordan K. Hubbard
c74eeed801 Correct the man page extent.
Submitted by:	jkh
1994-08-08 19:26:23 +00:00
Jordan K. Hubbard
7105368244 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
Jordan K. Hubbard
eaf83dc038 Make this work even if make depend is not run.
Reviewed by:
Submitted by:	jkh
1994-08-08 18:54:08 +00:00
Jordan K. Hubbard
b10e56dadd Add a missing backslash to get this to work again.
Reviewed by:
Submitted by:	jkh
1994-08-08 15:17:41 +00:00
Garrett Wollman
2e18dcd969 Added YP domain name getting/setting support, for SunOS/old program
compatibility.
1994-08-08 00:40:24 +00:00
Garrett Wollman
0d096f62f7 Make librpcsvc. 1994-08-07 23:27:27 +00:00
Garrett Wollman
460d496846 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
Garrett Wollman
4415cd19f1 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
Garrett Wollman
46cc41a1d8 More directory cleanup after YP merge. 1994-08-07 22:21:14 +00:00
Garrett Wollman
12199686e6 Don't try to build librpc in a separate directory. 1994-08-07 18:52:47 +00:00
Garrett Wollman
9e4ded5d0e 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
Garrett Wollman
eae561b30e Moving RPC stuff into libc, part 2. 1994-08-07 18:39:35 +00:00
Garrett Wollman
990647991e 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
Garrett Wollman
b4162996d5 Make it work with new mmap syscall. 1994-08-05 17:53:07 +00:00
David Greenman
b3bfc7199e Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
Garrett Wollman
bed8f8b45c 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
Garrett Wollman
174cff9d58 Make up for the fact that rpc headers are now installed from include. 1994-08-05 01:59:40 +00:00
Garrett Wollman
7cf8a6b5cb 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
Garrett Wollman
31f4322325 Make it work with our make macros. 1994-08-05 01:52:05 +00:00
Garrett Wollman
ab532cffe5 Make it work with our make macros. 1994-08-05 01:42:04 +00:00
Garrett Wollman
2ceb2ce9ee 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
Garrett Wollman
4ea6250be3 From 1.1.5: define default shared library versions. For 2.0, use version
2.0.
1994-08-04 22:44:00 +00:00
Garrett Wollman
0abc7bfc94 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
Garrett Wollman
8401cb0d9a histedit.h is now installed from include. 1994-08-04 20:47:46 +00:00
Poul-Henning Kamp
99fa41fb52 Reviewed by: phk
Added libmd.
1994-07-24 03:30:47 +00:00
Poul-Henning Kamp
c9502b535e 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
Geoff Rehmet
1f80968a0b 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 van Rooij
3653271054 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
Rodney W. Grimes
f46145aa78 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
Rodney W. Grimes
1ece12e5f0 Enable csu/${MACHINE} now that I have copied in our crt* files. 1994-05-28 09:24:46 +00:00
Rodney W. Grimes
21d54b076d 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
Rodney W. Grimes
f95a02507b 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
Rodney W. Grimes
f227112c93 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
Rodney W. Grimes
efd31c5952 Initial revision 1994-05-27 12:32:03 +00:00
Rodney W. Grimes
5fbf048f26 Do not create link for *lib_p.a if you are not installing profiled libraries. 1994-05-27 11:02:31 +00:00
Rodney W. Grimes
21b9e2c17e Comment out missing sources. 1994-05-27 11:01:30 +00:00
Rodney W. Grimes
8e101982f3 Pull in GNU2 fix for this from FreeBSD, allows ldexp.c to compile with
gcc2.x
1994-05-27 11:00:56 +00:00
Rodney W. Grimes
1cb16b68b3 Comment out missing libmp and libplot, disable csu until it is ported. 1994-05-27 11:00:20 +00:00
Rodney W. Grimes
2413b6ac48 This is Christopher G. Demetriou of NetBSD versions of ftime.c, gtty.c, and
stty.c.
1994-05-27 10:33:22 +00:00
Rodney W. Grimes
e5c43ac55b 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
Paul Traina
0d92fee747 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
Rodney W. Grimes
58f0484fa2 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
Rodney W. Grimes
4b88c807ea BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
Rodney W. Grimes
dea673e932 BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00
Rodney W. Grimes
59deaec541 BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
Guido van Rooij
dbd34b8383 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 van Rooij
110af3d672 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 Williams
f2523a7e72 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
Rodney W. Grimes
975da7e52b Add $Id$ to all, clean up multiple spaces 1994-02-21 05:19:06 +00:00
Nate Williams
17682d0199 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
Jordan K. Hubbard
14a24404ef New dlopen, dlclose, etc al. For the new ld changes. 1994-02-13 20:53:11 +00:00
David Greenman
bda9cd29f2 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
David Greenman
1799d2585e Implemented 'QMAGIC' a.out format correctly, and changed the default
output to be QMAGIC.
1994-01-03 18:35:54 +00:00
Jordan K. Hubbard
4344c041d1 Adding embryonic C++ shared lib support (all tests positive so far). 1993-12-24 02:11:37 +00:00
Andrey A. Chernov
fe596e6795 -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 Richards
b2c0440d02 Removed all the ld -x -r stuff -- paranoia. 1993-11-16 02:22:16 +00:00
Paul Richards
bfa077712f 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 Richards
423a102938 Removed install -d line since our install doesn't support the -d
option.
1993-11-07 03:05:40 +00:00
Paul Richards
44d76bb777 Added shared libs support from NetBSD. 1993-11-04 01:09:18 +00:00
David Greenman
cd11d97905 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
Charlie Root
dcd59e0868 Added ${COPY} knob to the install commands 1993-07-03 00:21:21 +00:00
Nate Williams
25a0fedd25 Added some support the new err(3) routines need
(Copied directly from NetBSD verbatim)
1993-06-29 04:34:12 +00:00
Paul Richards
52768b912b Upgrade to GCC 2.X 1993-06-18 02:04:48 +00:00
Rodney W. Grimes
5b81b6b301 Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:58:17 +00:00