Linux NFS development
 help / color / mirror / Atom feed
* changes to struct rpc_gss_sec
@ 2023-11-21 16:59 Chuck Lever III
  2023-11-22  6:07 ` Olga Kornievskaia
  0 siblings, 1 reply; 8+ messages in thread
From: Chuck Lever III @ 2023-11-21 16:59 UTC (permalink / raw)
  To: Olga Kornievskaia; +Cc: Steve Dickson, Linux NFS Mailing List

Hey Olga-

I see that f5b6e6fdb1e6 ("gss-api: expose gss major/minor error in
authgss_refresh()") added a couple of fields in structure rpc_gss_sec.
Later, there are some nfs-utils changes that start using those fields.

That breaks building the latest upstream nfs-utils on Fedora 38, whose
current libtirpc doesn't have those new fields.

IMO struct rpc_gss_sec is part of the libtirpc API/ABI, thus we really
shouldn't change it.

Instead, if gssd needs GSS status codes, can't it call
rpc_gss_seccreate(3), which explicitly takes a struct
rpc_gss_options_ret_t * argument?

ie, just replace the authgss_create_default() call with a call to
rpc_gss_seccreate(3) ....


--
Chuck Lever



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-12-06 15:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-21 16:59 changes to struct rpc_gss_sec Chuck Lever III
2023-11-22  6:07 ` Olga Kornievskaia
2023-11-22 14:31   ` Chuck Lever III
2023-11-27 21:42     ` Olga Kornievskaia
2023-11-28  1:14       ` Chuck Lever
2023-12-05 20:43         ` Olga Kornievskaia
2023-12-06  1:24           ` Chuck Lever
2023-12-06 15:47           ` Chuck Lever

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox