[Heimdal-source-changes] [heimdal/heimdal] 22cf04: lib/krb5: krb5.h missing KRB5_LIB_CALL definition

Jeffrey Altman noreply at github.com
Ons May 22 04:20:16 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: 22cf04fdaff4c6d23ec1ea16004d8971404712a9
      https://github.com/heimdal/heimdal/commit/22cf04fdaff4c6d23ec1ea16004d8971404712a9
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2019-05-21 (Tue, 21 May 2019)

  Changed paths:
    M lib/krb5/krb5.h

  Log Message:
  -----------
  lib/krb5: krb5.h missing KRB5_LIB_CALL definition

KRB5_LIB_CALL must be defined for out of tree users.

Change-Id: I10a02fdca3ed64093fabd8d391761448b9c480a5


  Commit: cc2070dbc8dd9a1c0bdff90930c2165b82dcef10
      https://github.com/heimdal/heimdal/commit/cc2070dbc8dd9a1c0bdff90930c2165b82dcef10
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2019-05-21 (Tue, 21 May 2019)

  Changed paths:
    M lib/krb5/krb5.h

  Log Message:
  -----------
  lib/krb5: fix krb5_get_instance_func_t prototype

KRB5_LIB_CALL not KRB5_CALLCONV

Change-Id: I31b8750d63849c2f5cce49642a63fd66e7fa1a32


  Commit: 32fe791c2e6756de724864cbab8561cf50a1889d
      https://github.com/heimdal/heimdal/commit/32fe791c2e6756de724864cbab8561cf50a1889d
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2019-05-21 (Tue, 21 May 2019)

  Changed paths:
    M lib/krb5/plugin.c

  Log Message:
  -----------
  lib/krb5: common plugin only fallback if load_fn() fails

Only fallback to loading the plugin function table directly if
if the initialization function is not exported.  Failing a
consistency check should not permit falling back to a potentially
incompatible function table.

Change-Id: Ic753ed9a090aef6073853f7309f0f8f0f29d0aa9


  Commit: df78c88cc032d5e4fd8f1c7fb238b993eb529ca3
      https://github.com/heimdal/heimdal/commit/df78c88cc032d5e4fd8f1c7fb238b993eb529ca3
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2019-05-21 (Tue, 21 May 2019)

  Changed paths:
    M lib/krb5/plugin.c

  Log Message:
  -----------
  lib/krb5: common_plugin_ftable_desc funcs KRB5_LIB_CALL

As with the krb5plugin_an2ln_ftable_desc, krb5plugin_db_ftable_desc,
and krb5plugin_kuserok_ftable_desc the function pointers in
common_plugin_ftable_desc must be annotated with KRB5_LIB_CALL.

Change-Id: Ia7ea78743ee9eb8c7f6b648063852ca91a360d2c


  Commit: ac6fa4cadc2bded960319a8da7be4194b50580c5
      https://github.com/heimdal/heimdal/commit/ac6fa4cadc2bded960319a8da7be4194b50580c5
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2019-05-21 (Tue, 21 May 2019)

  Changed paths:
    M lib/krb5/ccache_plugin.h
    A lib/krb5/common_plugin.h
    M lib/krb5/plugin.c

  Log Message:
  -----------
  lib/krb5: prepare to make common plugins public

Rename common_plugin_ftable to krb5_plugin_common_ftable.

Create lib/krb5/common_plugin.h to include the structure and typedef.

The common_plugin.h header is now included by ccache_plugin.h
along with a prototype for the required ccache_ops_plugin_load()
function.

Change-Id: I2b27d6d0f5cf0544482c3f01784fef945e12e8d8


  Commit: 434b34d71c39820b4e2415dca646a39bee1086fb
      https://github.com/heimdal/heimdal/commit/434b34d71c39820b4e2415dca646a39bee1086fb
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2019-05-21 (Tue, 21 May 2019)

  Changed paths:
    M lib/krb5/ccache_plugin.h
    M lib/krb5/common_plugin.h
    M lib/krb5/plugin.c

  Log Message:
  -----------
  lib/krb5: prevent build failures of krb5_plugin_common on Windows

The Microsoft compiler cannot handle multiple const modifiers
for the same type.    It is also unhappy with the output pointer
parameter being declared const.

This change introduces new typedefs and cast of the dlsym() return
type to prevent warnings.

Change-Id: Ia92645efab8d2ec6745339a6f47c690782ae730a


  Commit: b276d139efbfc8483709a62b9d4311bbd3c9f7c1
      https://github.com/heimdal/heimdal/commit/b276d139efbfc8483709a62b9d4311bbd3c9f7c1
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2019-05-21 (Tue, 21 May 2019)

  Changed paths:
    M lib/krb5/Makefile.am
    M lib/krb5/NTMakefile

  Log Message:
  -----------
  lib/krb5: add plugin headers to Makefiles

Change-Id: I6701035da2e7ff3f83feee6cbb4921e5bd5dfd75


Compare: https://github.com/heimdal/heimdal/compare/d89b5cb966c4...b276d139efbf


More information about the Heimdal-source-changes mailing list