[Heimdal-source-changes] [heimdal/heimdal] 1c74af: roken: add mergesort_r()

Luke Howard noreply at github.com
Sön Apr 12 20:25:23 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: 1c74afb01a070134446fb73d77f4f720627afd5a
      https://github.com/heimdal/heimdal/commit/1c74afb01a070134446fb73d77f4f720627afd5a
  Author: Luke Howard <lukeh at padl.com>
  Date:   2020-04-12 (Sun, 12 Apr 2020)

  Changed paths:
    M cf/roken-frag.m4
    M lib/roken/NTMakefile
    A lib/roken/mergesort.c
    A lib/roken/mergesort_r.c
    M lib/roken/roken.h.in
    M lib/roken/version-script.map

  Log Message:
  -----------
  roken: add mergesort_r()

Add mergesort_r() as a stable sort function that can be used by other
components of Heimdal. Note that there is no standardized prototype for this
function, however it appears that both FreeBSD and glibc would adopt the glibc
convention (where the private data argument appears last). See:

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214248


  Commit: 3b7aae7fce15de0bd9fd7334ed41f4782ee51b50
      https://github.com/heimdal/heimdal/commit/3b7aae7fce15de0bd9fd7334ed41f4782ee51b50
  Author: Luke Howard <lukeh at padl.com>
  Date:   2020-04-12 (Sun, 12 Apr 2020)

  Changed paths:
    M lib/gssapi/spnego/accept_sec_context.c
    M lib/gssapi/spnego/compat.c
    M lib/gssapi/spnego/init_sec_context.c

  Log Message:
  -----------
  gss: order SPNEGO proposed mechs by req_flags

Sort the list of mechanisms proposed by the initiator so that mechanisms are
preferred by their advertised support for GSS flags. For example, if
GSS_C_MUTUAL_FLAG is requested, a mechanism that offers GSS_C_MA_AUTH_TARG will
be preferred over one that doesn't. The flag/mechanism attribute combinations
are also assigned a weight (mutual trumps anonymous, for example).


Compare: https://github.com/heimdal/heimdal/compare/4f7dc7694e72...3b7aae7fce15


More information about the Heimdal-source-changes mailing list