[PATCH] Make more PIDL-generated tables static const

Andrew Bartlett abartlet at samba.org
Mon Nov 21 04:04:47 UTC 2016


While working on the previous patches, I noticed some function tables
generated by PIDL are not static const.  This patches makes them static
 and or const, which moves them to single-file scope read-only memory.

Please comment and push if OK.

Andrew Bartlett

-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0020-s4-rpc_server-Avoid-extern-reference-to-dcesrv_mgmt_.patch
Type: text/x-patch
Size: 1979 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20161121/6f0c8c38/0020-s4-rpc_server-Avoid-extern-reference-to-dcesrv_mgmt_.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0021-pidl-Make-dcesrv-_-name-_interface-static-const.patch
Type: text/x-patch
Size: 1031 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20161121/6f0c8c38/0021-pidl-Make-dcesrv-_-name-_interface-static-const.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0022-pidl-Use-a-static-const-initialised-struct-in-dcerpc.patch
Type: text/x-patch
Size: 1556 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20161121/6f0c8c38/0022-pidl-Use-a-static-const-initialised-struct-in-dcerpc.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0023-s4-rpc_server-Use-a-type-safe-struct-signature-in-dc.patch
Type: text/x-patch
Size: 2084 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20161121/6f0c8c38/0023-s4-rpc_server-Use-a-type-safe-struct-signature-in-dc.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0024-s4-rpc_server-Use-an-initialised-static-const-struct.patch
Type: text/x-patch
Size: 1568 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20161121/6f0c8c38/0024-s4-rpc_server-Use-an-initialised-static-const-struct.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0025-pidl-Change-pipe_get_pipe_fns-turn-return-const-stru.patch
Type: text/x-patch
Size: 1948 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20161121/6f0c8c38/0025-pidl-Change-pipe_get_pipe_fns-turn-return-const-stru.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0026-pidl-Make-static-struct-api_struct-also-const.patch
Type: text/x-patch
Size: 876 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20161121/6f0c8c38/0026-pidl-Make-static-struct-api_struct-also-const.bin>


More information about the samba-technical mailing list