@@ -104,6 +104,7 @@ struct ksmbd_startup_request {
104
104
*/
105
105
__u32 sub_auth [3 ]; /* Subauth value for Security ID */
106
106
__u32 smb2_max_credits ; /* MAX credits */
107
+ __u32 reserved [128 ]; /* Reserved room */
107
108
__u32 ifc_list_sz ; /* interfaces list size */
108
109
__s8 ____payload [];
109
110
};
@@ -114,7 +115,7 @@ struct ksmbd_startup_request {
114
115
* IPC request to shutdown ksmbd server.
115
116
*/
116
117
struct ksmbd_shutdown_request {
117
- __s32 reserved ;
118
+ __s32 reserved [ 16 ] ;
118
119
};
119
120
120
121
/*
@@ -123,6 +124,7 @@ struct ksmbd_shutdown_request {
123
124
struct ksmbd_login_request {
124
125
__u32 handle ;
125
126
__s8 account [KSMBD_REQ_MAX_ACCOUNT_NAME_SZ ]; /* user account name */
127
+ __u32 reserved [16 ]; /* Reserved room */
126
128
};
127
129
128
130
/*
@@ -136,6 +138,7 @@ struct ksmbd_login_response {
136
138
__u16 status ;
137
139
__u16 hash_sz ; /* hash size */
138
140
__s8 hash [KSMBD_REQ_MAX_HASH_SZ ]; /* password hash */
141
+ __u32 reserved [16 ]; /* Reserved room */
139
142
};
140
143
141
144
/*
@@ -144,6 +147,7 @@ struct ksmbd_login_response {
144
147
struct ksmbd_share_config_request {
145
148
__u32 handle ;
146
149
__s8 share_name [KSMBD_REQ_MAX_SHARE_NAME ]; /* share name */
150
+ __u32 reserved [16 ]; /* Reserved room */
147
151
};
148
152
149
153
/*
@@ -158,6 +162,7 @@ struct ksmbd_share_config_response {
158
162
__u16 force_directory_mode ;
159
163
__u16 force_uid ;
160
164
__u16 force_gid ;
165
+ __u32 reserved [128 ]; /* Reserved room */
161
166
__u32 veto_list_sz ;
162
167
__s8 ____payload [];
163
168
};
@@ -188,6 +193,7 @@ struct ksmbd_tree_connect_request {
188
193
__s8 account [KSMBD_REQ_MAX_ACCOUNT_NAME_SZ ];
189
194
__s8 share [KSMBD_REQ_MAX_SHARE_NAME ];
190
195
__s8 peer_addr [64 ];
196
+ __u32 reserved [16 ]; /* Reserved room */
191
197
};
192
198
193
199
/*
@@ -197,6 +203,7 @@ struct ksmbd_tree_connect_response {
197
203
__u32 handle ;
198
204
__u16 status ;
199
205
__u16 connection_flags ;
206
+ __u32 reserved [16 ]; /* Reserved room */
200
207
};
201
208
202
209
/*
@@ -205,6 +212,7 @@ struct ksmbd_tree_connect_response {
205
212
struct ksmbd_tree_disconnect_request {
206
213
__u64 session_id ; /* session id */
207
214
__u64 connect_id ; /* tree connection id */
215
+ __u32 reserved [16 ]; /* Reserved room */
208
216
};
209
217
210
218
/*
@@ -213,6 +221,7 @@ struct ksmbd_tree_disconnect_request {
213
221
struct ksmbd_logout_request {
214
222
__s8 account [KSMBD_REQ_MAX_ACCOUNT_NAME_SZ ]; /* user account name */
215
223
__u32 account_flags ;
224
+ __u32 reserved [16 ]; /* Reserved room */
216
225
};
217
226
218
227
/*
0 commit comments