mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3:rpc_server: add DCESRV_COMPAT_NOT_USED_ON_WIRE() helper macro
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15425
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
(cherry picked from commit 62afadb3eb
)
This commit is contained in:
parent
447a9c782b
commit
86ebe5e4e6
@ -70,4 +70,10 @@ void *_find_policy_by_hnd(struct pipes_struct *p,
|
||||
bool close_policy_hnd(struct pipes_struct *p, struct policy_handle *hnd);
|
||||
bool pipe_access_check(struct pipes_struct *p);
|
||||
|
||||
#define DCESRV_COMPAT_NOT_USED_ON_WIRE(__opname) \
|
||||
void _## __opname(struct pipes_struct *p, struct __opname *r) \
|
||||
{ \
|
||||
p->fault_state = DCERPC_FAULT_OP_RNG_ERROR; \
|
||||
}
|
||||
|
||||
#endif /* _RPC_PIPES_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user