Taylor R Campbell
5fec8989b5
gssapi: Sprinkle const and rk_UNCONST to pacify -Wwrite-strings.
...
All for read-only krb5_data or gss_buffer_desc.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
34dc2dda57
gssapi/mech: Sprinkle const and rk_UNCONST.
2026-01-18 19:06:17 -06:00
Luke Howard
31af9ba703
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.
2020-02-04 17:28:35 +11:00
Luke Howard
4a93c4774a
gss: intern OIDs ( #447 )
...
Intern OIDs so that gss_release_oid() can be a NOOP.
2018-12-18 23:28:38 -06:00
Nicolas Williams
774f166e31
First attempt s/\<const gss_.*_t/gss_const_.*_t/g
2013-06-02 15:30:58 -05:00
Love Hörnquist Åstrand
8f2294e1f9
switch order of type and GSSAPI_LIB_VARIABLE
2011-07-24 13:00:36 -07:00
Love Hörnquist Åstrand
052c5767fd
fixup type for GSS_C_ATTR_LOCAL_LOGIN_USER
2011-07-24 12:47:55 -07:00
Jeffrey Altman
27cc30d38e
GSS_C_ATTR_LOCAL_LOGIN_USER
...
Be consistent with other GSSAPI global variables. GSS_C_ATTR_LOCAL_LOGIN_USER
becomes a macro in gssapi.h that refers to an exported variable
__gss_c_attr_local_login_user
Change-Id: I2661d74cd0f760780f75b35f92d6b4f9112080dc
2011-07-21 11:46:15 -04:00
Jeffrey Altman
aaa4400942
Apply missing function modifiers
...
GSSAPI_CALLCONV, GSSAPI_LIB_FUNC, GSSAPI_LIB_CALL as appropriate
Change-Id: I5198cfc7dd665bdc064aa0e613dac7db7465e2b9
2011-05-17 14:02:49 -04:00
Luke Howard
6abb251957
check correct status code in attr_authorize_localname
2011-05-15 15:52:40 +02:00
Luke Howard
1f02feb3dc
fix off-by-one in GSS_C_ATTR_LOCAL_LOGIN_USER attribute
2011-05-15 14:17:43 +02:00
Luke Howard
4a36c8dd7d
remove MN check in gss_authorize_localname because all names are MNs
2011-05-14 16:10:12 +02:00
Luke Howard
0d7bc0c549
remove user_ok from gss_authorize_localname
2011-04-09 13:41:51 +10:00
Luke Howard
d5277a8da1
slightly retentive cleanup of error codes
2011-04-09 13:06:36 +10:00
Luke Howard
bac9c34172
authorize_localname SPI now includes nametype
2011-04-09 11:34:19 +10:00
Luke Howard
6c6e483e00
gss_authorize_localname implementation
2011-04-08 10:58:57 +10:00