summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2004-08-09Support the "setenv" capability in login.conf ala FreeBSD. FollowingTodd C. Miller
FreeBSD's example, a '~' in an environment variable is replaced with the user's homedir. A '$' is replaced by the user's login name. Both can be escaped with a backslash to get the literal char. OK deraadt@
2004-08-03Define BI_FDPASS for the BSD auth fd passing changes.Todd C. Miller
2004-08-03Update strtonum() protorTodd C. Miller
2004-07-15do not install netiso header files, millert deraadt okHenning Brauer
2004-07-13passwd.conf has been deprecated since login.conf was imported.Todd C. Miller
Today it finally dies. Based on a diff from Gabriel Kihlman.
2004-07-08POSIX says "data" is void *, not char *. Also remove extern from prototypes.Todd C. Miller
deraadt@ OK
2004-06-29make includes in gnu/usr.sbin/sendmail/libmilterTodd C. Miller
2004-06-24hsearch API/ABI u_int -> size_t -> crank majors; ok millertTheo de Raadt
2004-06-22Cosmetic clean-up.Marc Espie
Simpler licence, update copyright years, trim empty lines, ISO declarations. okay miod@
2004-06-22Make the `filename' parameter to HASHFile() and HASHFileChunk() constJean-Francois Brousseau
ok pedro@, millert@
2004-06-20add bounds check for src pointer in bcopy(3) as well as dest pointer,Anil Madhavapeddy
noticed by millert@
2004-06-09According to POSIX, _POSIX_PATH_MAX should be 256 but _POSIX_SYMLINK_MAXTodd C. Miller
should only be 255. You would think they would be the same but you'd be wrong.
2004-06-07major bump to libc and libpthread to break the dependency of aMarco S Hyman
particular implementation of libpthread for libc. libc no longer needs pthread.h to compile. OK millert@, brad@, tedu@
2004-05-31Define _POSIX_SYMLINK_MAX and SYMLINK_MAX as _POSIX_PATH_MAX and PATH_MAXTodd C. Miller
respectively instead of duplicating their values.
2004-05-31Updates based on Single Unix; OK deraadt@Todd C. Miller
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)
2004-05-17Enable binutils for arm now that we have binutils 2.14.Dale Rahn
2004-05-05Make the Transform functions match the other hash types and document them.Todd C. Miller
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.
2004-05-05Make the 2nd arg to SHA1Transform const again and unifdef SHA1HANDSOFF.Todd C. Miller
It was defined before and there is no need to for this knob...
2004-05-03strtonum prototypeTed Unangst
2004-05-03Use KNF indentation style and do some u_char -> u_int8_t conversionTodd C. Miller
I missed earlier.
2004-05-03Add Pad and FileChunk functions for each family of hash functions.Todd C. Miller
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).
2004-05-03Make ndbm match POSIX. A datum consists of a void *dptr and a size_t dsize.Todd C. Miller
Also make the open functions take a mode_t, not int. OK deraadt@
2004-05-03XPG specifies bsd_signal(3) so make it an alias for signal(3); OK deraadt@Todd C. Miller
2004-05-03Add _Exit(3) as per C99. Discussed with espie@ some time ago.Todd C. Miller
2004-04-29Undo some recent prototype changes; it is legal to pass the helperTodd C. Miller
functions can take a NULL buf pointer. They will malloc memory as needed in this case.
2004-04-28PD md4 code derived from Colin Plumb's md5 routines.Todd C. Miller
2004-04-28Rename members of struct MD5Context to match other hash routines.Todd C. Miller
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.
2004-04-28PD version of md5(3) based on code written by Colin Plumb.Todd C. Miller
2004-04-27Add __bounded__ attributes like the other hash functions have.Todd C. Miller
With help from avsm@
2004-04-27Make the bit count u_int64_t instead of two u_int32_t. Adapted fromTodd C. Miller
changes Niklas made to the md5 code long ago. OK hshoexer@
2004-04-26Use a common source file for all the hash helper functions thatTodd C. Miller
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@
2004-04-14implement RFC3493 AI_NUMERICSERV. tedu okJun-ichiro itojun Hagino
2004-04-13Add /dev/fd/ and /var/empty/; ok henning@ and krw@Todd C. Miller
2004-04-06prototypes for bcrypt and md5crypt, as described in manpage; ok deraadt@Damien Miller
2004-04-02fix non-gnu ansi compilers by not using 'inline' but '__inline' instead.Anil Madhavapeddy
lets tendra build again. ok deraadt@, pvalchev@, millert@
2004-03-31dumped is really spelled with one p and not twoHenning Brauer
from Daniel Lucq
2004-03-08Do not build binutils on arm. ARM needs at least binutils 2.14.Dale Rahn
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable Requested by deraadt@
2004-03-01Enable gnu/lib/libf2c for 'make includes' with GCC3, for [fg]2c.h ok deraadt@Dale Rahn
2004-01-27TSIZE & TIMEOUT support; from freebsd via tholoTheo de Raadt
2004-01-23USE_GCC3 switch, now that propolice is in.Marc Espie
2004-01-22Remove unnecessary typedef usage.Marc Espie
u_char -> unsigned char u_short -> unsigned short u_long -> unsigned long u_int -> unsigned int okay millert@
2004-01-21Prototype llabs(3). Forgotten commit gathering bit rot in my tree...Todd C. Miller
2004-01-17add a couple of new RR types; ok deraadt@Jakob Schlyter
2004-01-16spacingTheo de Raadt
2004-01-15If lint is defined, act like _ANSI_LIBRARY was defined. That wayTodd C. Miller
lint gets the prototypes it expects and doesn't get confused by the inline functions. OK deraadt@
2004-01-13Prototype closefrom(); tedu@ OKTodd C. Miller
2004-01-13Allow this to compile on non-gcc. OK deraadt@ art@Todd C. Miller
2004-01-07Implement kvm_getproc2(), kvm_getargv2() and kvm_getenvv2() that useTodd C. Miller
the KERN_PROC2 sysctl. Based on changes from NetBSD but uses our own kvm_arg_sysctl().
2004-01-03put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosMarc Espie
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@.
2003-12-31Implement svc_getreq_poll(3) and friends and use poll(2) instead of select(2)Todd C. Miller
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@