millert
cc6797b16c
Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.
21 years ago
markus
98d2c98958
swap /usr/include/openssl and /usr/include/ssl, clean up the Makefiles
get rid old include files; with itojun@ and tdeval@; ok itojun@, deraadt@
21 years ago
deraadt
f4b36578a7
remove terms 3 and 4 of some of my licences
21 years ago
mho
d946d76de6
Remove krb4 support.
21 years ago
miod
0235ddf796
Do not let userland access the swapon system call anymore (nothing uses it
anyway).
ok deraadt@ weingart@
21 years ago
millert
0c18cf7d6b
Install sha2.h
21 years ago
millert
7d1570f34c
Add sha2 routines based on code by Aaron D. Gifford with minor
massaging and a man page by me. I used the phk-derived stuff for
sha2hl.c instead of Aaron's for consistency with our other hash
routines.
21 years ago
marc
2fd3e15de8
Add DL_SETTHREADLCK. "pretty obviously safe i think" teddu@
22 years ago
margarida
51fddb1663
realated -> related
22 years ago
margarida
65c2e4ecde
unkown -> unknown
ok millert@
22 years ago
david
3b3ad3ba2a
fix spelling in comment
ok millert@
22 years ago
marc
14f9c99279
install includes from libpthread, not libc_r
22 years ago
millert
e504a8f014
Back out __EOF stuff and just use -1 in ctype.h. This is OK since
we don't want any user defines to change how the inlined ctype
functions behave.
22 years ago
millert
a9949c0ab0
Don't define EOF In ctype.h, some 3rd party code checks whether or
not EOF is defined to determine if stdio.h has been included.
Instead, use __EOF which should be OK wrt namespace safety.
22 years ago
millert
bd747228df
o Ansi function headers
o Add __BEGIN_DECLS/__END_DECLS to include files
o Safe macros
o Remove useless variable assignment in the End function of *hl.c
o Some minor KNF, needs more
From Dan Weeks
22 years ago
millert
bb2be83ea8
Casting to unsigned int in isfoo() causes problems on alpha and
sparc64. Change cast back to unsigned char but do a bitwise AND
with 0xff to avoid any sign extension weirdness and to make it
impossible for us to overflow _C_ctype_. The bitwise AND is probably
not needed and may be removed later if this does not trigger compiler bugs.
22 years ago
millert
67eb2617d7
fix typo; noticed by David Krause
22 years ago
millert
b663735ec7
Instead of doing "if (c == EOF) return 0;" use the hook ('?') operator
instead to make these one-liners. Works around a compiler bug on vax
that affects both the libc and inline versions identically.
22 years ago
millert
4ed53a5fc2
Less stupid check for 7-bit ascii in toupper/tolower
Remove useless check for EOF in isascii
22 years ago
millert
95d7cf1ebf
Cast to unsigned int, not unsigned char, since what is being cast is an
int, not a char.
22 years ago
millert
5f83b56e7a
Convert ctype.h macros into inline functions. This fixes the issues we
currently have with the macro versions and makes the ctype.h versions
100% identical to what is in libc.
Discussed with pjanzen@ and OK'd by deraadt@.
22 years ago
millert
bae6371d6e
Make x_handy in XDR u_int, not int since there are places in the
code that assign a u_int value to x_handy. However, this means
that we need to be careful checking for overflow as we can no longer
subtract a value and check the result for < 0. We reorder the
expression instead to avoid this problem (basic algebra).
deraadt@ OK
22 years ago
miod
2a81a3c366
Intall getopt.h in /usr/include as well.
22 years ago
millert
52c5998342
GNU-like getopt_long() from NetBSD with changes by me to support
getopt_long_only(). At some point this should replace the BSD
getopt(3) but we are not there yet.
While I am here add protection from the multiple getopt() definitions
due to conflicting standards.
22 years ago
millert
5a1579637f
Add ecvt(), fcvt() and gcvt() for standard compliance and legacy code.
22 years ago
millert
e1428f6838
Add prototype for atoll(3). I must have forgotten to commit this bit
when I committed atoll(3).
22 years ago
marc
066faed74e
add prototype for strerror_r
22 years ago
millert
270b51d658
Add [gs]etres[ug]id(2) syscall to libc and use it in emulating some 4.3BSD
functions.
22 years ago
millert
9a61bb23a6
NULL is now 0L so it is the same size as a pointer.
OK mickey@ and discussed with deraadt@
22 years ago
deraadt
077210d977
uncommit, since it breaks macppc libc. millert and miod have now said they
did NOT approve those for commit. why did mickey feel he was ok to go
commiting a set of diffs which had not been passed around and tested by people?
we don't know. mickey, have you got something to say for yourself?
22 years ago
mickey
39c1771257
move __syscall prototype into unistd.h (like everybody else) and avoid private protos for it everywhere; millert@ ok
22 years ago
drahn
c246fad6cd
Revert this to art's orginal verstion, internal ld.so fields should not
be advertised in this header. Add a comment that this must be in sync
with ld.so. Fixes gdb shared library handing. ok pvalchev@
22 years ago
deraadt
0587f67083
no , at end of enum
22 years ago
deraadt
1670fc7e36
remove , at end of enum
22 years ago
markus
9c095a9002
build OpenSSL without symlink trees:
* manpage related things moved to src/libssl/man/Makefile
* there are now 3 obj directories src/libssl/{crypto,ssl,man}/ instead
of one single src/libssl/obj
* instead of running Configure (with generates lots of symlinks, and
opensslconf.h) this patch stores pre-computed opensslconf.h files
in src/libssl/crypto/arch
* requires a make includes before the library can be built
* libssl and libcrypto can be build separately
(e.g. cd src/libssl/ssl && make obj && make)
* make depend is now supported
* no more symlink trees
tested by miod@ and fries@
22 years ago
espie
db4cd241c7
put sentinel back in. Thx miod@
22 years ago
espie
27a0d1632b
Put sentinel back in.
22 years ago
pvalchev
94c08b8237
restore link_map ABI compatibility between gdb and ld.so. this comes from
what powerpc and sparc64 had as machine/link.h in 3.1 used by gdb, and will
be needed by other ELF architectures to provide gdb solib support; ok drahn
22 years ago
millert
73f8e3c654
Change value of LOGIN_DEFSTYLE from "krb4-or-pwd" to just "passwd".
If there is no login.conf or it is corrupt we don't want to make
any assumptions about kerberos. By request of deraadt@
22 years ago
millert
8605e7d157
Replace strtou?q() with the more standard strtou?ll(), using weak
aliases to fake up strtou?q(). espie@ OK.
22 years ago
millert
f6d2dac36d
define RPP_STDIN; missed in previous commit
22 years ago
millert
53b891e676
Updates from lite2 via NetBSD; fixes license.
22 years ago
naddy
3c97953878
install headers from libevent; ok miod@
22 years ago
espie
61573f5c84
back-out header change for now.
22 years ago
espie
6704871eeb
put back in the assert changes for ISO C 99 (put __func__ in it)
22 years ago
itojun
baf5dbc5c2
backout previous
22 years ago
itojun
ba0bf33dd5
pax -s <regex> is botched, don't use it.
22 years ago
art
5839a65488
Add a flag - KVM_NO_FILES which tells kvm_openfiles to not
open any files, just return an kvm handle that we can use to some
of the functions.
22 years ago
drahn
5f741cd067
Switch powerpc to using new split (aout/elf) link.h
22 years ago
miod
e1a577905d
Backout previous change. Since it requires people to upgrade gcc, we want
to give them a larger timeslot to do that.
Requested by deraadt@ and various people on icb or vocally.
22 years ago