millert
29064d763b
Undo some recent prototype changes; it is legal to pass the helper
functions can take a NULL buf pointer. They will malloc memory as
needed in this case.
20 years ago
millert
6a5149bdf9
PD md4 code derived from Colin Plumb's md5 routines.
20 years ago
millert
2ee8a23109
Rename members of struct MD5Context to match other hash routines.
Add constants for buffer lengths and use them.
Make bit count 64bit based on changes by niklas@ long ago.
Conver htole32n() to macros and unroll loops.
20 years ago
millert
95118666b1
PD version of md5(3) based on code written by Colin Plumb.
20 years ago
millert
14ad1886b5
Add __bounded__ attributes like the other hash functions have.
With help from avsm@
20 years ago
millert
dc5a1f903b
Make the bit count u_int64_t instead of two u_int32_t. Adapted from
changes Niklas made to the md5 code long ago. OK hshoexer@
20 years ago
millert
9b2dd21027
Use a common source file for all the hash helper functions that
previously lived in foohl.c. The foohl.c files are now generated
via sed, though perhaps cpp could be used in the future.
Use u_int8_t instead of unsigned char for the buffers struct fooContext.
Add constants for buffer lengths and use them in function prototypes
and the man pages.
This is basically cosmetic surgery; there should be no functional changes.
OK deraadt@
20 years ago
itojun
cbdc6bf7b4
implement RFC3493 AI_NUMERICSERV. tedu ok
20 years ago
millert
923f039b2d
Add /dev/fd/ and /var/empty/; ok henning@ and krw@
20 years ago
djm
47a42edf4e
prototypes for bcrypt and md5crypt, as described in manpage; ok deraadt@
20 years ago
avsm
eed750edd0
fix non-gnu ansi compilers by not using 'inline' but '__inline' instead.
lets tendra build again.
ok deraadt@, pvalchev@, millert@
20 years ago
henning
2faf461d71
dumped is really spelled with one p and not two
from Daniel Lucq
20 years ago
drahn
6c296318c2
Do not build binutils on arm. ARM needs at least binutils 2.14.
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable
Requested by deraadt@
21 years ago
drahn
43027cba57
Enable gnu/lib/libf2c for 'make includes' with GCC3, for [fg]2c.h ok deraadt@
21 years ago
deraadt
b6b451fc3b
TSIZE & TIMEOUT support; from freebsd via tholo
21 years ago
espie
41f19df4c1
USE_GCC3 switch, now that propolice is in.
21 years ago
espie
2ccf9e8a28
Remove unnecessary typedef usage.
u_char -> unsigned char
u_short -> unsigned short
u_long -> unsigned long
u_int -> unsigned int
okay millert@
21 years ago
millert
9ba24fbffc
Prototype llabs(3). Forgotten commit gathering bit rot in my tree...
21 years ago
jakob
0c5e922390
add a couple of new RR types; ok deraadt@
21 years ago
deraadt
cb5a6ac8af
spacing
21 years ago
millert
ac424db262
If lint is defined, act like _ANSI_LIBRARY was defined. That way
lint gets the prototypes it expects and doesn't get confused by the
inline functions. OK deraadt@
21 years ago
millert
d2b2543417
Prototype closefrom(); tedu@ OK
21 years ago
millert
f73088674f
Allow this to compile on non-gcc. OK deraadt@ art@
21 years ago
millert
3bdc00b537
Implement kvm_getproc2(), kvm_getargv2() and kvm_getenvv2() that use
the KERN_PROC2 sysctl. Based on changes from NetBSD but uses our
own kvm_arg_sysctl().
21 years ago
espie
19cd71fa7a
put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.
21 years ago
millert
d3c7d64dca
Implement svc_getreq_poll(3) and friends and use poll(2) instead of select(2)
in the libc rpc code. The main difference between this and the previous
version is the use of a simple free list that simplifies the logic when
adding a socket to svc_pollfd. I've also added code to pack svc_pollfd
when the free list gets too big. The idea general idea is to keep
svc_pollfd as tightly packed as possible to make poll(2) efficient.
Tested by many people and OK deraadt@
21 years ago
deraadt
10e5a3cb3f
PD
21 years ago
avsm
6b3c9ddd0b
corrent __bounded__ attribute for the *Data functions, and add
__minbytes__ checks where appropriate. tested by itojun@
fixes PR 3505 from Janjaap van Velthooven
21 years ago
drahn
7f27882690
Add defines for missing RTLD_, eg RTLD_GLOBAL and RTLD_LOCAL,
values for RTLD_GLOBAL and RTLD_LOCAL are same as solaris uses.
21 years ago
tedu
b041d6c17b
rename struct dinode to ufs1_dinode. clears the namespace and makes
way for some future work. no function changes yet.
help testing otto@ and markus@
21 years ago
deraadt
167b1bdc53
des_cipher 3rd param is int32_t not long
21 years ago
avsm
3f2bee58c7
add __bounded__ attributes for userland headers; enabled with -Wbounded
ok deraadt@
21 years ago
millert
f5061b1804
Need ftw.h for ftw(3) and nftw(3)
21 years ago
deraadt
9997e4866f
do not enter libcom_err
21 years ago
deraadt
c90e0a2436
proto _assert2()
21 years ago
mho
416353430e
Enable build of unified libkrb5. ok deraadt, todd. Testing by hin, jakob, David Krause, ...
21 years ago
jason
384d178b51
Better value for vax MAXFLOAT
21 years ago
jason
530cbd715c
redefine MAXFLOAT in vax terms
21 years ago
avsm
b75b1238ee
backout the __bounded__ attributes for a while; requested by deraadt@
21 years ago
avsm
3ab653a0d9
Mark various standard library functions with the __bounded__ attribute.
You must have an up-to-date gcc for this!
deraadt@ ok
21 years ago
deraadt
9ebc81f93f
proto getgrgid_r and getgrnam_r
21 years ago
millert
4f09d8e4af
Sync with share/misc/license.template and add missing DARPA credit
where applicable.
21 years ago
millert
76978de29b
I hereby place this file in the public domain.
21 years ago
millert
7d5166497f
Remove an extraneous "& 0xff" (the cast to unsigned char is sufficient).
Use "extern __inline" instead of "static __inline" since the extern
flavor behaves more like a macro (which is what we want).
OK deraadt@ and tested on all platforms by various folks.
21 years ago
millert
6014de925d
Use an ISC-tyle license for all my code; it is simpler and more permissive.
21 years ago
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