henning
dff91603d5
do not install netiso header files, millert deraadt ok
20 years ago
millert
20709cb14a
passwd.conf has been deprecated since login.conf was imported.
Today it finally dies. Based on a diff from Gabriel Kihlman.
20 years ago
millert
84b4f5d4e8
POSIX says "data" is void *, not char *. Also remove extern from prototypes.
deraadt@ OK
20 years ago
millert
051f4d9789
make includes in gnu/usr.sbin/sendmail/libmilter
20 years ago
deraadt
f94c3bd71d
hsearch API/ABI u_int -> size_t -> crank majors; ok millert
20 years ago
espie
1452d17230
Cosmetic clean-up.
Simpler licence, update copyright years, trim empty lines, ISO declarations.
okay miod@
20 years ago
jfb
7a1e9128cc
Make the `filename' parameter to HASHFile() and HASHFileChunk() const
ok pedro@, millert@
20 years ago
avsm
95bbd623be
add bounds check for src pointer in bcopy(3) as well as dest pointer,
noticed by millert@
20 years ago
millert
6cd80dc0e2
According to POSIX, _POSIX_PATH_MAX should be 256 but _POSIX_SYMLINK_MAX
should only be 255. You would think they would be the same but you'd be
wrong.
20 years ago
marc
2092fd5de8
major bump to libc and libpthread to break the dependency of a
20 years ago
millert
8471f4bfa8
Define _POSIX_SYMLINK_MAX and SYMLINK_MAX as _POSIX_PATH_MAX and PATH_MAX
respectively instead of duplicating their values.
20 years ago
millert
0014f12b9a
Updates based on Single Unix; OK deraadt@
o _POSIX_CHILD_MAX increased to 25
o _POSIX2_RE_DUP_MAX renamed _POSIX_RE_DUP_MAX
o _POSIX_SYMLINK_MAX and SYMLINK_MAX added (same as PATH_MAX)
o _POSIX_SYMLOOP_MAX and SYMLOOP_MAX added (like MAXSYMLINKS)
20 years ago
drahn
eb78f1ef1f
Enable binutils for arm now that we have binutils 2.14.
20 years ago
millert
9a4115e513
Make the Transform functions match the other hash types and document them.
Use sizeof() in the Init functions where it makes sense.
Use weak aliases instead of wrapper functions.
Probably should have gone in before the major bump but as these are only
used internally by the sha2 functions themselves there should be no problem.
20 years ago
millert
f181b464e0
Make the 2nd arg to SHA1Transform const again and unifdef SHA1HANDSOFF.
It was defined before and there is no need to for this knob...
20 years ago
tedu
bc41fb1d63
strtonum prototype
20 years ago
millert
80dc37e3c6
Use KNF indentation style and do some u_char -> u_int8_t conversion
I missed earlier.
20 years ago
millert
e2e5c3d50c
Add Pad and FileChunk functions for each family of hash functions.
The Pad function does padding like in Final but does not finish processing.
The FileChunk function creates a digest from a portion of a file.
Also made the length parameters consistent (and size_t).
20 years ago
millert
093859655c
Make ndbm match POSIX. A datum consists of a void *dptr and a size_t dsize.
Also make the open functions take a mode_t, not int. OK deraadt@
20 years ago
millert
5fd6059fd1
XPG specifies bsd_signal(3) so make it an alias for signal(3); OK deraadt@
20 years ago
millert
d3af4c4238
Add _Exit(3) as per C99. Discussed with espie@ some time ago.
20 years ago
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@
20 years ago
drahn
43027cba57
Enable gnu/lib/libf2c for 'make includes' with GCC3, for [fg]2c.h ok deraadt@
20 years ago
deraadt
b6b451fc3b
TSIZE & TIMEOUT support; from freebsd via tholo
20 years ago
espie
41f19df4c1
USE_GCC3 switch, now that propolice is in.
20 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@
20 years ago
millert
9ba24fbffc
Prototype llabs(3). Forgotten commit gathering bit rot in my tree...
20 years ago
jakob
0c5e922390
add a couple of new RR types; ok deraadt@
20 years ago
deraadt
cb5a6ac8af
spacing
20 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@
20 years ago
millert
d2b2543417
Prototype closefrom(); tedu@ OK
20 years ago
millert
f73088674f
Allow this to compile on non-gcc. OK deraadt@ art@
20 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().
20 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@.
20 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@
20 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