[Heimdal-source-changes] [heimdal/heimdal] 6bd12c: kpasswd: move roken.h after config.h in kpasswd_lo...

GitHub noreply at github.com
Ons Sep 11 04:32:07 CEST 2013


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: 6bd12cb39928dfb1bade02b92e783ac52c047563
      https://github.com/heimdal/heimdal/commit/6bd12cb39928dfb1bade02b92e783ac52c047563
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M kpasswd/kpasswd_locl.h

  Log Message:
  -----------
  kpasswd: move roken.h after config.h in kpasswd_local.h

With roken.h at the end of the include list two different versions
of Winsock get imported on Windows.  roken.h should always be
immediately after config.h if included.

Change-Id: Id3f6761028ddaa5b44183fe6648c5ab292ca8865


  Commit: 543ca2a93e19eb8d3e14a97c5996664480a9425a
      https://github.com/heimdal/heimdal/commit/543ca2a93e19eb8d3e14a97c5996664480a9425a
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M lib/asn1/check-der.c

  Log Message:
  -----------
  asn1 check-der use roken

Rely on roken to determine which random function should be
used.

Rename parameter "rand" to "randbytes" to avoid collision with
functions named "rand()".

Change-Id: Ic07cf149daef1cd568b58277773fbe27aef04f7b


  Commit: 64e8cc04c7917f40400c0c45e2d08350e51e4c87
      https://github.com/heimdal/heimdal/commit/64e8cc04c7917f40400c0c45e2d08350e51e4c87
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M lib/krb5/NTMakefile

  Log Message:
  -----------
  krb5 tests on windows

Execute tests that were built on Windows but previously skipped.

Remove the duplicate build rules for test-rfc3961.exe.

Change-Id: Icc84c07a33afbdc6ffa509222a3c81de35168eaf


  Commit: a472904a64d1436af174ee2bf04b8d10ba3ec3ae
      https://github.com/heimdal/heimdal/commit/a472904a64d1436af174ee2bf04b8d10ba3ec3ae
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M lib/krb5/context.c

  Log Message:
  -----------
  krb5: windows sysplugin_dirs

Do not look for plugin DLLs in either

  $ORIGIN/../lib/plugin/krb5
  $ORIGIN/../lib

Only look for plugin DLLs in $ORIGIN

Change-Id: I432cd81720b172e7451601b56ea7bba3c03d7d47


  Commit: 235119c23f20bdfb29654f2e39ddf5fee407abf0
      https://github.com/heimdal/heimdal/commit/235119c23f20bdfb29654f2e39ddf5fee407abf0
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M lib/krb5/fcache.c

  Log Message:
  -----------
  fcc_open: disable checks on Windows

st_dev and st_ino are not set in a consistent fashion by stat()
and fstat() so disable the symlink test.

disable the open group/other readable test because st_mode
cannot be used to perform such a test on Windows.

Change-Id: I1b68c672f882018def7e6d40d4bc7f7add58df36


  Commit: d78fe0c80a04594acab06e11a0e723d73c70fbdc
      https://github.com/heimdal/heimdal/commit/d78fe0c80a04594acab06e11a0e723d73c70fbdc
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M lib/roken/dirent.c

  Log Message:
  -----------
  roken: windows opendir() initialize path buffer

Change-Id: If6ef39b3a7b256c78ecd7786cc939903f7823931


  Commit: 800da1a501bb62c5bb8bf7dbcec696218b7930c2
      https://github.com/heimdal/heimdal/commit/800da1a501bb62c5bb8bf7dbcec696218b7930c2
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M lib/roken/dlfcn.hin

  Log Message:
  -----------
  roken: prototype dladdr()

Change-Id: Ia21414ca327b6ede44beb53fe96a6adc73119797


  Commit: 31a00d664715fb4c7b90c1617a3b4c2580282d7b
      https://github.com/heimdal/heimdal/commit/31a00d664715fb4c7b90c1617a3b4c2580282d7b
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M lib/krb5/cache.c
    M lib/krb5/config_file.c
    M lib/krb5/dcache.c
    M lib/krb5/keytab.c
    M lib/krb5/krb5_locl.h
    M lib/krb5/log.c
    M lib/krb5/plugin.c
    M lib/krb5/verify_krb5_conf.c

  Log Message:
  -----------
  ISPATHSEP and ISTILDE macros; Windows portability

Windows treats '\\' and '/' equivalently but we cannot control
the form that will be used by end users.  Introduce ISPATHSEP()
macro which tests only for '/' on UNIX and both on Windows.
Introduce ISTILDE() macro to test for '~'.   When testing for
'/' with strchr() or strrchr() add conditional checks for '\\' on
Windows.

Change-Id: Ia85e698fc88f15a6a71db649db5417f02ef7e5fe


  Commit: b845424a8618d33f54bfb9eb9ede8f85d1d8f9dd
      https://github.com/heimdal/heimdal/commit/b845424a8618d33f54bfb9eb9ede8f85d1d8f9dd
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M lib/krb5/libkrb5-exports.def.in
    M lib/krb5/version-script.map

  Log Message:
  -----------
  krb5: sync export lists

Sync the Windows and UNIX export lists for lib/krb5

Change-Id: I992921058c463335d0a3037ec035afd7f9d511b0


  Commit: cd5cca0cac5e81d9ccaa35dcdf92594e9e92b68c
      https://github.com/heimdal/heimdal/commit/cd5cca0cac5e81d9ccaa35dcdf92594e9e92b68c
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M lib/krb5/pcache.c

  Log Message:
  -----------
  pcache: rename and fix callback()

rename callback() to cc_plugin_register_to_context() and document
its purpose.

The parameter that is the cc_ops structure is 'plugctx' not 'plug'.
This is critical because 'plug' is the common_plugin_model structure
and casting the wrong object leads to random behavior including
crashes.

The test to exit without action was reversed.

With these changes ccache plugins can be registered on each
krb5_init_context() operation.

Change-Id: I295ea91759f69b36ac13b1bfff87306d40df4a26


  Commit: 5a8da41b38932fc5ad70cad366be22f46dcd92f4
      https://github.com/heimdal/heimdal/commit/5a8da41b38932fc5ad70cad366be22f46dcd92f4
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M lib/krb5/plugin.c

  Log Message:
  -----------
  krb5 plugin fix typo in comment

Change-Id: Ic73d44fa14f38f078dbc97a0aa94d2b0ba1f5028


  Commit: ce3d2be1c70a286fabb150f3450ac7352754dff0
      https://github.com/heimdal/heimdal/commit/ce3d2be1c70a286fabb150f3450ac7352754dff0
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2013-09-10 (Tue, 10 Sep 2013)

  Changed paths:
    M lib/krb5/plugin.c

  Log Message:
  -----------
  _krb5_load_plugins: Windows naming rules

Windows plugins must be loaded from the same directory as the
heimdal.dll in order to ensure that "DLL Hell" is not revisited.
Since plugins cannot be grouped in a directory by "module" name
the plugins must have a name of the form:

  plugin_<module>_<name>.dll

Construct the "plugin_<module>_" prefix string dynamically and
test for both the prefix and the ".dll" extension when building
the list of plugins to load.

Change-Id: I0ff7bf7287f8fb38061c226f0844d7d0f1fb59ec


Compare: https://github.com/heimdal/heimdal/compare/3e74e2e3bb39...ce3d2be1c70a


More information about the Heimdal-source-changes mailing list