Whamcloud - gitweb
LU-9243 gss: fix GSS struct definition badness
authorSebastien Buisson <sbuisson@ddn.com>
Thu, 17 Feb 2022 15:40:20 +0000 (16:40 +0100)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 22 Jun 2022 00:15:06 +0000 (00:15 +0000)
commitfb5327b14b254e6720c1dd0bb27fffc2d527497a
tree3077320bccfabfade708d98903c41e3f10ac6067
parent774abb4307e9be417b4d3c99ee99e0ced719e72f
LU-9243 gss: fix GSS struct definition badness

struct lgssd_ioctl_param should not be defined in multiple places. So
move it to a new header file lgss.h that can be included from kernel
space and user space.

struct gss_header, struct gss_rep_header, struct gss_err_header and
struct gss_wire_ctx are going on the wire, so they need to be moved to
lustre_idl.h, and be wire-checked.

Lustre-change: https://review.whamcloud.com/46543
Lustre-commit: 7dfbc71350c982be20d75e7d7853038809f4e850

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I97c4a8322e6bb7627c6dff5f068931278f4567d7
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/47667
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
12 files changed:
MAINTAINERS
lustre/include/uapi/linux/lustre/Makefile.am
lustre/include/uapi/linux/lustre/lgss.h [new file with mode: 0644]
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/ptlrpc/gss/gss_cli_upcall.c
lustre/ptlrpc/gss/gss_internal.h
lustre/ptlrpc/wiretest.c
lustre/utils/gss/gssd_proc.c
lustre/utils/gss/lgss_keyring.c
lustre/utils/gss/lsupport.h
lustre/utils/wirecheck.c
lustre/utils/wiretest.c