summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2003-10-07corrent __bounded__ attribute for the *Data functions, and addAnil Madhavapeddy
__minbytes__ checks where appropriate. tested by itojun@ fixes PR 3505 from Janjaap van Velthooven
2003-09-02Add defines for missing RTLD_, eg RTLD_GLOBAL and RTLD_LOCAL,Dale Rahn
values for RTLD_GLOBAL and RTLD_LOCAL are same as solaris uses.
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makesTed Unangst
way for some future work. no function changes yet. help testing otto@ and markus@
2003-08-07des_cipher 3rd param is int32_t not longTheo de Raadt
2003-08-01add __bounded__ attributes for userland headers; enabled with -WboundedAnil Madhavapeddy
ok deraadt@
2003-07-21Need ftw.h for ftw(3) and nftw(3)Todd C. Miller
2003-07-15do not enter libcom_errTheo de Raadt
2003-07-15proto _assert2()Theo de Raadt
2003-07-14Enable build of unified libkrb5. ok deraadt, todd. Testing by hin, jakob, ↵Magnus Holmberg
David Krause, ...
2003-06-26Better value for vax MAXFLOATJason Wright
2003-06-26redefine MAXFLOAT in vax termsJason Wright
2003-06-26backout the __bounded__ attributes for a while; requested by deraadt@Anil Madhavapeddy
2003-06-26Mark various standard library functions with the __bounded__ attribute.Anil Madhavapeddy
You must have an up-to-date gcc for this! deraadt@ ok
2003-06-25proto getgrgid_r and getgrnam_rTheo de Raadt
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.
2003-06-17I hereby place this file in the public domain.Todd C. Miller
2003-06-10Remove an extraneous "& 0xff" (the cast to unsigned char is sufficient).Todd C. Miller
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.
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02swap /usr/include/openssl and /usr/include/ssl, clean up the MakefilesMarkus Friedl
get rid old include files; with itojun@ and tdeval@; ok itojun@, deraadt@
2003-06-02remove terms 3 and 4 of some of my licencesTheo de Raadt
2003-05-14Remove krb4 support.Magnus Holmberg
2003-05-10Do not let userland access the swapon system call anymore (nothing uses itMiod Vallat
anyway). ok deraadt@ weingart@
2003-05-09Install sha2.hTodd C. Miller
2003-05-08Add sha2 routines based on code by Aaron D. Gifford with minorTodd C. Miller
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.
2003-04-25Add DL_SETTHREADLCK. "pretty obviously safe i think" teddu@Marco S Hyman
2003-03-16realated -> relatedmargarida
2003-03-14unkown -> unknownmargarida
ok millert@
2003-03-10fix spelling in commentDavid Krause
ok millert@
2003-01-20install includes from libpthread, not libc_rMarco S Hyman
2002-12-30Back out __EOF stuff and just use -1 in ctype.h. This is OK sinceTodd C. Miller
we don't want any user defines to change how the inlined ctype functions behave.
2002-12-29Don't define EOF In ctype.h, some 3rd party code checks whether orTodd C. Miller
not EOF is defined to determine if stdio.h has been included. Instead, use __EOF which should be OK wrt namespace safety.
2002-12-23o Ansi function headersTodd C. Miller
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
2002-12-15Casting to unsigned int in isfoo() causes problems on alpha andTodd C. Miller
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.
2002-12-14fix typo; noticed by David KrauseTodd C. Miller
2002-12-14Instead of doing "if (c == EOF) return 0;" use the hook ('?') operatorTodd C. Miller
instead to make these one-liners. Works around a compiler bug on vax that affects both the libc and inline versions identically.
2002-12-13Less stupid check for 7-bit ascii in toupper/tolowerTodd C. Miller
Remove useless check for EOF in isascii
2002-12-13Cast to unsigned int, not unsigned char, since what is being cast is anTodd C. Miller
int, not a char.
2002-12-11Convert ctype.h macros into inline functions. This fixes the issues weTodd C. Miller
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@.
2002-12-11Make x_handy in XDR u_int, not int since there are places in theTodd C. Miller
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
2002-12-03Intall getopt.h in /usr/include as well.Miod Vallat
2002-12-03GNU-like getopt_long() from NetBSD with changes by me to supportTodd C. Miller
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.
2002-12-02Add ecvt(), fcvt() and gcvt() for standard compliance and legacy code.Todd C. Miller
2002-12-02Add prototype for atoll(3). I must have forgotten to commit this bitTodd C. Miller
when I committed atoll(3).
2002-11-21add prototype for strerror_rMarco S Hyman
2002-10-30Add [gs]etres[ug]id(2) syscall to libc and use it in emulating some 4.3BSDTodd C. Miller
functions.
2002-10-25NULL is now 0L so it is the same size as a pointer.Todd C. Miller
OK mickey@ and discussed with deraadt@
2002-09-17uncommit, since it breaks macppc libc. millert and miod have now said theyTheo de Raadt
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?
2002-09-17move __syscall prototype into unistd.h (like everybody else) and avoid ↵Michael Shalayeff
private protos for it everywhere; millert@ ok
2002-09-08Revert this to art's orginal verstion, internal ld.so fields should notDale Rahn
be advertised in this header. Add a comment that this must be in sync with ld.so. Fixes gdb shared library handing. ok pvalchev@