bde
e1f08fe22b
Remove dead code. gmon stuff is now done better in libc/gmon an
...
<machine/profile.h>. The old version was writing an incomplete
header without the profrate field that is necessary to handle the
current faster profiling clock. The counters that are where the
the profrate should be are usually 0 and gprof converts a profrate
of 0 to hz so the old version gave times too large by a factor of
profhz/hz = 10.24.
1994-08-22 15:13:41 +00:00
dg
292c4363f6
WINE/user LDT support from John Brezak, ported to FreeBSD by Jeffrey Hsu
...
<hsu@soda.berkeley.edu>.
...Moved over from 1.1.5. Other portions of this commit were done by moving
the RCS files into place directly.
1994-08-22 10:49:05 +00:00
jkh
4475596713
This is weird. I *added this*, but it went away again! Ummm.. Mumble.
...
I'm confused..
Submitted by: jkh
1994-08-22 09:19:50 +00:00
guido
cec2fb9e65
Add skey supprot
...
Reviewed by:
Submitted by: guido
1994-08-21 19:26:22 +00:00
csgr
bb1890fe44
LDADD= -lcrypt
...
Submitted by: Geoff
1994-08-20 21:19:46 +00:00
jkh
ee89c5a365
Put __infinity back here again until someone does the right thing and
...
repartitions libc into something human again. I don't have that kind of
time right now myself, unfortunately.
Submitted by: jkh
1994-08-20 20:16:57 +00:00
csgr
ab2cba9887
Fix afterinstall rule for generating links to the real libcrypt
...
Submitted by: geoff
1994-08-20 18:13:59 +00:00
jkh
d9d09e74e2
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
b16f3fe956
Add entry for libskey
...
Reviewed by:
Submitted by: guido
1994-08-19 18:16:40 +00:00
jkh
fd411c4b09
Make this puppy actually compile now.
...
Submitted by: jkh
1994-08-19 11:15:40 +00:00
jkh
9f0650ff29
Do all the includes: <machine/asm.h> -> <machine/asmacros.h>
...
Reviewed by:
Submitted by:
1994-08-19 11:14:32 +00:00
jkh
5d58375ab0
Change includes to reference <machine/asmacros.h>.
...
Submitted by: jkh
1994-08-19 11:12:52 +00:00
jkh
669d29ec95
Make libmsun a switchable option, as before.
...
Submitted by: jkh
1994-08-19 10:24:56 +00:00
jkh
3a5f48d7f8
This commit was generated by cvs2svn to compensate for changes in r2116,
...
which included commits to RCS files with non-trunk default branches.
1994-08-19 09:40:01 +00:00
jkh
2a8fd4fc31
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
sef
dd3aeac1b0
More stuff from the latest curses. Really minor this time.
...
Reviewed by: Sean Eric Fagan
1994-08-13 23:23:53 +00:00
sef
75d40fe0bd
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
dg
700593f434
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
csgr
b7542fbbb0
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
ccd0e11260
Fix afterinstall rule for NOSHARED case
...
Submitted by: Geoff Rehmet
1994-08-12 21:12:37 +00:00
dg
89be8c23d3
Made kvm routines use procfs to get out process data such as argument
...
strings.
1994-08-11 13:38:23 +00:00
wollman
01a149f01b
Oops, forgot to cvs add this file.
1994-08-10 06:27:35 +00:00
wollman
f0e3ec0f96
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
4daa7a8637
Eliminate non-fatal error message so Jordan doesn't get confused.
1994-08-10 04:25:19 +00:00
wollman
08c11fa2ca
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
d20aae3469
Fixed typo.
1994-08-09 22:44:12 +00:00
wollman
004c5a3482
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
d1a6399b68
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
398d272114
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
42e9230261
Use a consistent name for librpcsvc.
...
Reviewed by:
Submitted by: Found by Bruce Evans.
1994-08-09 16:56:28 +00:00
wollman
c52c9612a7
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
7970b61147
Comment out librpcv. Not there.
...
Submitted by: jkh
1994-08-09 00:37:16 +00:00
jkh
f8f2c5800b
Correct the man page extent.
...
Submitted by: jkh
1994-08-08 19:26:23 +00:00
jkh
66286e3fa9
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
15db5005ed
Make this work even if make depend is not run.
...
Reviewed by:
Submitted by: jkh
1994-08-08 18:54:08 +00:00
jkh
274dc9f50a
Add a missing backslash to get this to work again.
...
Reviewed by:
Submitted by: jkh
1994-08-08 15:17:41 +00:00
wollman
356a80adea
Added YP domain name getting/setting support, for SunOS/old program
...
compatibility.
1994-08-08 00:40:24 +00:00
wollman
5759bb76af
Make librpcsvc.
1994-08-07 23:27:27 +00:00
wollman
70046b9a22
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
905766ce24
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
5840c2bc03
More directory cleanup after YP merge.
1994-08-07 22:21:14 +00:00
wollman
07f54dbbf0
Don't try to build librpc in a separate directory.
1994-08-07 18:52:47 +00:00
wollman
7e6f5f8c5d
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
39d367d32e
Moving RPC stuff into libc, part 2.
1994-08-07 18:39:35 +00:00
wollman
ad3e7cd01d
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
2751343523
Make it work with new mmap syscall.
1994-08-05 17:53:07 +00:00
dg
6b466831f4
Converted 'vmunix' to 'kernel'.
1994-08-05 09:14:37 +00:00
wollman
195961bd8d
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
d61cc614b7
Make up for the fact that rpc headers are now installed from include.
1994-08-05 01:59:40 +00:00
wollman
0946373659
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
66d9a507a2
Make it work with our make macros.
1994-08-05 01:52:05 +00:00
wollman
ac2dffffaf
Make it work with our make macros.
1994-08-05 01:42:04 +00:00
wollman
e017c781ca
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
962b8cc8e0
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
39c6e29318
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
5e44d04dde
histedit.h is now installed from include.
1994-08-04 20:47:46 +00:00
phk
6f89e60928
Reviewed by: phk
...
Added libmd.
1994-07-24 03:30:47 +00:00
phk
63df6e0559
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
a22e08d763
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
d14fac757a
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
d13b1c246f
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
333eaa9d00
Enable csu/${MACHINE} now that I have copied in our crt* files.
1994-05-28 09:24:46 +00:00
rgrimes
01c9385475
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
0095655af3
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
8429370ce2
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
6afce27cfe
Initial revision
1994-05-27 12:32:03 +00:00
rgrimes
edf5396bb3
Do not create link for *lib_p.a if you are not installing profiled libraries.
1994-05-27 11:02:31 +00:00
rgrimes
eb8a34747c
Comment out missing sources.
1994-05-27 11:01:30 +00:00
rgrimes
a3ddeea37c
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
c7a9609a2e
Comment out missing libmp and libplot, disable csu until it is ported.
1994-05-27 11:00:20 +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
55b9cda166
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
11bdc7ddfd
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
0740fe303d
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
8b1c40bc18
BSD 4.4 Lite Lib Sources
1994-05-27 05:00:24 +00:00
rgrimes
eedec95276
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
e043687c62
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
cb2f2e712b
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
c5df1ac6c7
BSD 4.4 Lite bin Sources
1994-05-26 06:18:55 +00:00
rgrimes
5d98a33b2f
BSD 4.4 Lite usr.sbin Sources
1994-05-26 05:23:31 +00:00
rgrimes
8b2b31265d
BSD 4.4 Lite Include Sources
1994-05-24 09:57:34 +00:00
guido
62feaa07c9
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
459ed7e431
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
0dbc086d98
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
036e570b76
Add $Id$ to all, clean up multiple spaces
1994-02-21 05:19:06 +00:00
nate
88cc102a4d
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
7d6e9dc580
New dlopen, dlclose, etc al. For the new ld changes.
1994-02-13 20:53:11 +00:00
dg
5e9419ef4a
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
d44d2d472f
Implemented 'QMAGIC' a.out format correctly, and changed the default
...
output to be QMAGIC.
1994-01-03 18:35:54 +00:00
jkh
d7a06fc61f
Adding embryonic C++ shared lib support (all tests positive so far).
1993-12-24 02:11:37 +00:00
ache
caec23e957
-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
dae4063bfb
Removed all the ld -x -r stuff -- paranoia.
1993-11-16 02:22:16 +00:00
paul
fe43b03bfb
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
0d7b7c986d
Removed install -d line since our install doesn't support the -d
...
option.
1993-11-07 03:05:40 +00:00
paul
4efaa0ebf8
Added shared libs support from NetBSD.
1993-11-04 01:09:18 +00:00
dg
c06d5da754
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
7048cfb1c8
Added ${COPY} knob to the install commands
1993-07-03 00:21:21 +00:00
nate
6d87a8d940
Added some support the new err(3) routines need
...
(Copied directly from NetBSD verbatim)
1993-06-29 04:34:12 +00:00
paul
03bdb6abfb
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
bcfa18552e
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