gss: use tail queue instead of singly linked list in mechglue
commit31af9ba7034fdadf6deda066af716330619a120c
authorLuke Howard <lukeh@padl.com>
Sat, 28 Dec 2019 05:30:55 +0000 (28 16:30 +1100)
committerLuke Howard <lukeh@padl.com>
Tue, 4 Feb 2020 06:28:35 +0000 (4 17:28 +1100)
treea65580a9fd7bbc36b78050c4c69e1347b3a62949
parentd7138cfbe7b56a5447cfc86b9d6d2c8e7732c7c4
gss: use tail queue instead of singly linked list in mechglue

The GSS mechglue uses singly linked lists for mechanisms and mechanism objects,
to which new entries are inserted at the head. This breaks ordering of
mechanisms specified in OID sets and in /etc/gss/mech, as they will be back to
front. Use a tail queue instead so that new entries are inserted at the end.
42 files changed:
include/heimqueue.h
lib/gssapi/Makefile.am
lib/gssapi/NTMakefile
lib/gssapi/mech/cred.c
lib/gssapi/mech/cred.h
lib/gssapi/mech/gss_accept_sec_context.c
lib/gssapi/mech/gss_acquire_cred_from.c
lib/gssapi/mech/gss_add_cred_from.c
lib/gssapi/mech/gss_authorize_localname.c
lib/gssapi/mech/gss_compare_name.c
lib/gssapi/mech/gss_cred.c
lib/gssapi/mech/gss_delete_name_attribute.c
lib/gssapi/mech/gss_destroy_cred.c
lib/gssapi/mech/gss_display_name.c
lib/gssapi/mech/gss_display_name_ext.c
lib/gssapi/mech/gss_duplicate_cred.c
lib/gssapi/mech/gss_duplicate_name.c
lib/gssapi/mech/gss_export_name.c
lib/gssapi/mech/gss_export_name_composite.c
lib/gssapi/mech/gss_get_name_attribute.c
lib/gssapi/mech/gss_get_neg_mechs.c
lib/gssapi/mech/gss_import_name.c
lib/gssapi/mech/gss_indicate_mechs.c
lib/gssapi/mech/gss_init_sec_context.c
lib/gssapi/mech/gss_inquire_cred.c
lib/gssapi/mech/gss_inquire_cred_by_mech.c
lib/gssapi/mech/gss_inquire_cred_by_oid.c
lib/gssapi/mech/gss_inquire_mechs_for_name.c
lib/gssapi/mech/gss_inquire_name.c
lib/gssapi/mech/gss_krb5.c
lib/gssapi/mech/gss_mech_switch.c
lib/gssapi/mech/gss_mo.c
lib/gssapi/mech/gss_names.c
lib/gssapi/mech/gss_pname_to_uid.c
lib/gssapi/mech/gss_set_cred_option.c
lib/gssapi/mech/gss_set_name_attribute.c
lib/gssapi/mech/gss_set_neg_mechs.c
lib/gssapi/mech/gss_store_cred_into.c
lib/gssapi/mech/mech_locl.h
lib/gssapi/mech/mech_switch.h
lib/gssapi/mech/mechqueue.h [deleted file]
lib/gssapi/mech/name.h