Alexander Boström
8a03cda949
Add SPDX-License-Identifier for The Regents of the University of California.
2026-01-18 20:06:06 -06:00
Alexander Boström
37d5df6078
Add SPDX-License-Identifier for The Regents of the University of California
2026-01-18 20:06:06 -06:00
Alexander Boström
1151d88402
Add SPDX-License-Identifier for Massachusetts Institute of Technology
2026-01-18 20:06:06 -06:00
Alexander Boström
d3e6c52baf
Add SPDX-License-Identifier for Kungliga Tekniska Högskolan
2026-01-18 20:06:06 -06:00
Nicolas Williams
3be4426f9d
Update NEWS release notes for upcoming 8.0 release
2026-01-18 19:06:17 -06:00
Nicolas Williams
fa43b2d3c4
asn1: Fix UB in two tests
2026-01-18 19:06:17 -06:00
Nicolas Williams
a1dfcc8453
krb5: Constify krb5_kuserok()
2026-01-18 19:06:17 -06:00
Nicolas Williams
10732be94c
gss: Constify gss_str_to_oid()
2026-01-18 19:06:17 -06:00
Nicolas Williams
d67e0b6d39
cf: clang -Wimplicit-fallthrough for flex code
2026-01-18 19:06:17 -06:00
Nicolas Williams
75affc8f55
cf: clang pretends to be GCC 4
2026-01-18 19:06:17 -06:00
Nicolas Williams
09b77c4051
cf: Work around differents in Wflags b. gcc and clang
2026-01-18 19:06:17 -06:00
Taylor R Campbell
bc11abde3b
cf/roken-frag.m4: Add a bunch more warnings.
...
Note: the rk_WFLAGS in configure.ac appears to be dead code,
overridden by the rk_WFLAGS in cf/roken-frag.m4. This confusing
state of affairs should be improved.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
5589cf96c7
Sprinkle const and rk_UNCONST throughout the tests.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
814f03ad7f
kdc_test_plugin: rk_UNCONST for krb5_pac_add_buffer.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
e293353c4d
appl/test: Sprinkle const and rk_UNCONST.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
ac3f9212da
appl/kf: Sprinkle const and rk_UNCONST.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
9460245c1f
gssmask: Sprinkle rk_UNCONST for read-only krb5_data.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
40317659b0
kinit: rk_UNCONST for read-only krb5_data.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
97f8bb1a28
kcm: Sprinkle const.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
adeae8336c
kdc: Sprinkle const and rk_UNCONST.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
29a791f8f4
kdc: rk_UNCONST for literal shell.version.
...
I assume this is used read-only by ASN1_MALLOC_ENCODE.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
56a6e7261b
kadm5: Sprinkle const and rk_UNCONST for private string not modified.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
5373ab492f
ipc: rk_UNCONST for private string not modified.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
a9f37d2597
libroken: Make roken_detach_prep take const char *special_arg.
...
Requires an internal rk_UNCONST because of annoying execvp type, but
that's better than rk_UNCONST in all the call sites.
2026-01-18 19:06:17 -06:00
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
9c1b2e963b
krb5: Sprinkle const and rk_UNCONST to pacify -Wwrite-strings.
...
Mostly for read-only iov or krb5_data.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
f08f1a6456
appl/kf: Label unconst for read-only krb5_data.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
294ab3ae5d
kdc: Sprinkle rk_UNCONST.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
3c2b7b865b
kdc: Note strict aliasing violations.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
29da785a64
kadm5: Note strict aliasing violation.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
0eb423022f
hdb: Label unconst abuse for read-only krb5_data.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
82225829a0
gss_preauth: Label unconst abuse with rk_UNCONST.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
cdd1fb8fc4
gssapi/sanon: Sprinkle const and rk_UNCONST.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
bbf6150cfd
gssapi: Make gss_duplicate_oid{,_set} take gss_const_OID_t.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
04dcda3628
gssapi/spnego: Sprinkle const and rk_UNCONST.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
137939e0d2
gssapi: Make gss_add_buffer_set_member take gss_const_buffer_t.
...
`const gss_buffer_t' was probably meant to be gss_const_buffer_t.
XXX This changes the type of a public symbol -- does thiat require a
version bump?
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
Taylor R Campbell
80545251a0
gssapi/krb5: Sprinkle some const, but mostly label unconst abuse.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
d17fed0c7f
krb5/log: Note strict aliasing violation.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
c199e31fcd
krb5/init_creds_pw.c: Label unconst abuse.
...
API is just not type-safe here, bummer.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
18dcaf1ca7
krb5/get_cred: Sprinkle const and label & comment unconst abuse.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
4cb23c61c7
krb5/fcache: Sprinkle const; note strict aliasing violation.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
7726409b5c
krb5/store: Label unconst abuse for read-only krb5_data.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
9907e29baa
krb5/pac: Label unconst abuse for iov.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
709d317cc9
heim_openlog: Sprinkle const.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
270e0d819c
krb5/deprecated: Nix const abuse.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
7ec6b6220d
krb5/crypto: Label unconst abuse for iov.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
6da033336e
krb5/context: Sprinkle const and note strict aliasing violation.
2026-01-18 19:06:17 -06:00
Taylor R Campbell
5c694deee9
_krb5_load_plugins: Sprinkle const.
2026-01-18 19:06:16 -06:00
Taylor R Campbell
3cc4861888
heim_load_plugins: Sprinkle const.
2026-01-18 19:06:16 -06:00