summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * Makefile.in (check-unix): Don't run dyntest automaticallyKen Raeburn2005-07-022-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17286 dc483132-0cff-0310-8789-dd5450dbe970
* delete functions in '#if 0'Ken Raeburn2005-07-021-332/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17285 dc483132-0cff-0310-8789-dd5450dbe970
* whitespaceKen Raeburn2005-07-021-12/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17284 dc483132-0cff-0310-8789-dd5450dbe970
* Convert to ISO C function declaration style.Ken Raeburn2005-07-021-116/+71
| | | | | | Some whitespace and comment changes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17283 dc483132-0cff-0310-8789-dd5450dbe970
* reformatKen Raeburn2005-07-021-520/+452
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17282 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (t_kdb, check, clean): Delete t_kdb referencesKen Raeburn2005-06-302-12/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17281 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Use libnover_frag.Ken Raeburn2005-06-302-21/+9
| | | | | | | | (all-unix): Don't depend on all-liblinks. (lib$(LIBBASE)$(SO_EXT)): Rule deleted. (t_kdb, check, clean): Delete t_kdb references. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17280 dc483132-0cff-0310-8789-dd5450dbe970
* * t_ser.c (ser_data): Don't initialize db serialization code that doesn't existKen Raeburn2005-06-302-13/+7
| | | | | | | any more. (ser_kcontext_test): Don't create and destroy databases. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17279 dc483132-0cff-0310-8789-dd5450dbe970
* * osconf.h (DEFAULT_KDB_LIB_PATH): Use @MODULEDIR. Don't use a fixed globalKen Raeburn2005-06-292-1/+6
| | | | | | directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17278 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (osconf.h): Depend on Makefile. Always display commands executedKen Raeburn2005-06-292-3/+10
| | | | | | | for replace-if-newer sequence. (PROCESS_REPLACE): Replace @MODULEDIR with $(KRB5_DB_MODULE_DIR). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17277 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in (KRB5_DB_MODULE_DIR): New variableKen Raeburn2005-06-292-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17276 dc483132-0cff-0310-8789-dd5450dbe970
* * libnover.in (Makefile): Depend on correct makefile fragment.Ken Raeburn2005-06-292-6/+8
| | | | | | | | (SHLIBVEXT): Fix definition. (LIBLIST, LIBINSTLIST): Override configured definitions. (all-liblinks, clean-liblinks): Targets deleted. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17275 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (libnover_frag): Set and substituteKen Raeburn2005-06-292-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17274 dc483132-0cff-0310-8789-dd5450dbe970
* update commentsKen Raeburn2005-06-291-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17273 dc483132-0cff-0310-8789-dd5450dbe970
* * libnover.in: New fileKen Raeburn2005-06-292-0/+112
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17272 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LIB): Variable deleted, uses replaced with LIBBASE.Ken Raeburn2005-06-292-7/+16
| | | | | | | (SHLIB_EXPDEPS, SHLIB_EXPLIBS): Add gssrpc library and depedencies. (lib$(LIBBASE)$(SO_EXT)): Don't explicitly link in the gssrpc library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17271 dc483132-0cff-0310-8789-dd5450dbe970
* Fix build problems on AIX, Tru64Ken Raeburn2005-06-272-7/+12
| | | | | | | * kdb_db2.c: Don't use C++-style comments. (krb5_db2_db_get_principal): Don't use variables named "try". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17270 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SHLIB_EXPLIBS): Add $(DL_LIB)Ken Raeburn2005-06-212-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17269 dc483132-0cff-0310-8789-dd5450dbe970
* * err_handle.c, kdb5.c: Test ENABLE_THREADS, not just HAVE_PTHREAD_HKen Raeburn2005-06-213-6/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17268 dc483132-0cff-0310-8789-dd5450dbe970
* reformatKen Raeburn2005-06-215-1091/+1005
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17267 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_AC_ENABLE_THREADS): Override guessed PTHREAD_CFLAGS withKen Raeburn2005-06-212-0/+9
| | | | | | correct value for solaris+gcc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17266 dc483132-0cff-0310-8789-dd5450dbe970
* Use DL_LIB and THREAD_LINKOPTS instead of explicitly specifying the dlKen Raeburn2005-06-2124-14/+55
| | | | | | and pthread libraries by name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17265 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in (THREAD_LINKOPTS): New variableKen Raeburn2005-06-212-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17264 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in (PTHREAD_LIBS, DL_LIB): New variablesKen Raeburn2005-06-212-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17263 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (WITH_CC): Don't use -pedantic on Linux.Ken Raeburn2005-06-212-4/+14
| | | | | | | (KRB5_AC_FIND_DLOPEN): New macro. Set DL_LIB. (CONFIG_RULES, AC_KRB5_TCL_TRYOLD): Use it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17262 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Ken Raeburn2005-06-211-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17261 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (WITH_CC): Don't use -pedantic on LinuxKen Raeburn2005-06-212-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17260 dc483132-0cff-0310-8789-dd5450dbe970
* Novell Database Abstraction Layer merge.Ken Raeburn2005-06-21118-2921/+6793
| | | | | | Will probably break things. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17258 dc483132-0cff-0310-8789-dd5450dbe970
* Update dependenciesKen Raeburn2005-06-2154-1126/+1642
| | | | | | | | | N.B.: The version of gcc used this time ("gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)") seems to emit some duplicate dependencies -- some header files get listed twice. This is annoying but shouldn't cause any harm.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17256 dc483132-0cff-0310-8789-dd5450dbe970
* remove old makefileKen Raeburn2005-06-211-652/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17255 dc483132-0cff-0310-8789-dd5450dbe970
* ksu keeps old ccache lockedKen Raeburn2005-06-152-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | ksu can keep the user's ccache (the old one, not the newly created one) locked while the new shell is running. It's a read lock, which prevents other processes from modifying the file (e.g., adding newly acquired tickets); they just hang until ksu exits. The problem is really a bug down in the ccache code, where the wrong data pointer is pulled out of a linked list, and used. But ksu is one of the few programs that manipulates multiple ccaches; most other programs wouldn't show the problem, and it only shows up with ksu if some other program is also being run that has to fetch new tickets. Any other programs maintaining multiple file ccaches may be affected as well. * cc_file.c (dereference): Fix test is list-walking loop. ticket: new target_version: 1.4.2 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17243 dc483132-0cff-0310-8789-dd5450dbe970
* updated to reflect new header generationAlexandra Ellwood2005-06-151-8/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17242 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-platform.h: Include endian.h if it's available, or machine/endian.h ifKen Raeburn2005-06-152-75/+133
| | | | | | | | | | | it's available. Include byteswap.h if available. (K5_LE, K5_BE): Define based on endianness macros from header files, if available. Only do the architecture tests if this fails. (SWAP16, SWAP32, SWAP64): Define if byteswap.h and bswap_16 are available. ({load,store}_{16,32,64}_le): Disable building of little-endian versions, which aren't currently used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17239 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for endian.hKen Raeburn2005-06-152-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17238 dc483132-0cff-0310-8789-dd5450dbe970
* * destest.c (main): Force testing of unaligned access to input, output, and keyKen Raeburn2005-06-102-3/+17
| | | | | | blocks. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17237 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for headers byteswap.h, sys/bswap.h, machine/endian.h,Ken Raeburn2005-06-102-3/+27
| | | | | | machine/byte_order.h, and functions bswap16, bswap64, bswap_16, and bswap_64. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17236 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_dbm.c: Unused file deletedKen Raeburn2005-06-102-1409/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17235 dc483132-0cff-0310-8789-dd5450dbe970
* * sendto_kdc.c (service_fds): Don't create a select_state on the stack; take anKen Raeburn2005-06-102-23/+40
| | | | | | | | | | | additional argument pointing to it. (krb5int_sendto): Don't create a select_state on the stack; instead, allocate two on the heap, passing the second as the new argument to service_fds. ticket: 3060 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17234 dc483132-0cff-0310-8789-dd5450dbe970
* add commentKen Raeburn2005-06-101-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17233 dc483132-0cff-0310-8789-dd5450dbe970
* Use GCC's packed-structure support to try to optimize unaligned loads andKen Raeburn2005-06-092-7/+135
| | | | | | | | | | | | | | | | | | | stores of values. (E.g., on x86, gcc will emit a word load or store regardless of alignment; on sparc or alpha, it will do aligned word accesses. The old C code does byte operations and arithmetic, always.) Tested in crypto code on x86, sparc, and amd64. * k5-platform.h (load_*): Change argument type to point to const. (K5_BE, K5_LE): New macros, defined based on architecture macros for certain big-endian and little-endian platforms, respectively. (PUT, GET) [__GNUC__]: New macros. Use GCC's packed-structure support to do unaligned loads and stores. (PUTSWAPPED, GETSWAPPED) [__GNUC__]: Similar, but invoke a SWAP<size> macro (not defined yet) to swap the bytes of the value. (store_*, load_*): Use these macros when using GCC, depending on endianness and availability of the SWAP<size> macros. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17232 dc483132-0cff-0310-8789-dd5450dbe970
* * f_tables.h: Include k5-platform.h.Ken Raeburn2005-06-092-11/+9
| | | | | | | (GET_HALF_BLOCK): Use load_32_be. (PUT_HALF_BLOCK): Use store_32_be. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17231 dc483132-0cff-0310-8789-dd5450dbe970
* don't always require support library when building with sun ccKen Raeburn2005-06-072-22/+33
| | | | | | | | | | | | | | | | | | | By default, a non-GCC configuration will not optimize during the build. The Solaris C compiler will always output functions defined as "inline", at least when not optimizing, even if they're never used. With recent changes on the trunk, k5_call_init_function will cause the support library to be required on Solaris by every program that includes k5-platform.h. This patch should fix that. * k5-platform.h (MAYBE_DEFINE_CALLINIT_FUNCTION) [DELAY_INITIALIZER]: New macro. If not __GNUC__, define k5_call_init_function in the expansion; otherwise, do nothing. (MAKE_INIT_FUNCTION) [DELAY_INITIALIZER]: Use it. (k5_call_init_function): Don't define function form at top level. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17230 dc483132-0cff-0310-8789-dd5450dbe970
* * profile.swg (errcode_t* tcl8 argout typemap): Cast return value fromKen Raeburn2005-06-063-20/+27
| | | | | | | | error_message to char* to silence Sun compiler warning. (errcode_t tcl8 out typemap): Likewise. * profile_tcl.c: Regenerated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17229 dc483132-0cff-0310-8789-dd5450dbe970
* Fix gcc preprocessor warnings due to last changeKen Raeburn2005-06-062-0/+15
| | | | | | | | * configure.in: Put #undef for the PACKAGE_* symbols at the start of autoconf.h. Use a leading comment to hide the #undef from the autoconf substitutions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17228 dc483132-0cff-0310-8789-dd5450dbe970
* Some autoconf messages want to use the PACKAGE_* valuesKen Raeburn2005-06-012-1/+5
| | | | | | * configure.in: Identify package in AC_INIT call. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17227 dc483132-0cff-0310-8789-dd5450dbe970
* * trval.c (convert_nibble): Declare the argument with a typeKen Raeburn2005-06-012-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17226 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-thread.h (krb5int_pthread_loaded) [HAVE_PRAGMA_WEAK_REF]: Declare.Ken Raeburn2005-06-012-8/+10
| | | | | | | | | (K5_PTHREADS_LOADED) [HAVE_PRAGMA_WEAK_REF]: Use it. ticket: 3084 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17224 dc483132-0cff-0310-8789-dd5450dbe970
* Add run-time determination of whether thread support is available in theKen Raeburn2005-06-013-1/+68
| | | | | | | | | | | | | | | | | support library. Check lots of weak references, and call pthread_once a couple of times, to distinguish a broken stub from the real thing. * threads.c [HAVE_PRAGMA_WEAK_REF]: Declare pthread_{g,s}etspecific, pthread_key_{create,delete}, pthread_{create,join} as weak references. (krb5int_pthread_loaded, loaded_test_aux) [HAVE_PRAGMA_WEAK_REF]: New functions. (flag_pthread_loaded, loaded_test_once) [HAVE_PRAGMA_WEAK_REF]: New variables. * libkrb5support.exports: Add krb5int_pthread_loaded. ticket: 3084 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17223 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (test_getpw): Depend on, and link against, the support libraryKen Raeburn2005-06-012-2/+7
| | | | | | | ticket: 3084 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17222 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h (encode_krb5_sam_challenge, encode_krb5_sam_key,Ken Raeburn2005-05-282-30/+8
| | | | | | | | | encode_krb5_enc_sam_response_enc, encode_krb5_sam_response, decode_krb5_sam_challenge, decode_krb5_enc_sam_response_enc, decode_krb5_sam_response, decode_krb5_predicted_sam_response, krb5_validate_times): Delete duplicate declarations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17221 dc483132-0cff-0310-8789-dd5450dbe970