Repository navigation
Expand file tree
/
Copy pathlibdrmtap.map
More file actions
46 lines (46 loc) · 1.67 KB
/
Copy pathlibdrmtap.map
File metadata and controls
46 lines (46 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Exported ABI for libdrmtap.so — the public entry points from include/drmtap.h
# and NOTHING else. Every internal cross-module symbol (drmtap_set_error,
# drmtap_gpu_*_process, drmtap_helper_*, drmtap_ensure_buf, ...) is made local,
# so it cannot be resolved via dlsym from another module. This shrinks the
# attack/ABI surface of the .so that the privileged service dlopen()s — the
# hardening item raised in review. A new public function MUST be added here or
# a consumer link will fail (that link error is the intended drift alarm).
#
# ANONYMOUS version node on purpose: it hides the internals WITHOUT introducing
# symbol versioning, so the public symbols stay unversioned (drmtap_open, not
# drmtap_open@@NODE) — byte-for-byte the same export names 0.4.10 and earlier
# shipped. We are not committing to an ABI-versioning scheme, only trimming the
# exported set.
{
global:
drmtap_version;
drmtap_open;
drmtap_open_render;
drmtap_list_devices;
drmtap_render_node;
drmtap_close;
drmtap_list_displays;
drmtap_displays_changed;
drmtap_grab;
drmtap_grab_mapped;
drmtap_grab_mapped_fast;
drmtap_grab_desc;
drmtap_convert_dmabuf;
drmtap_frame_release;
drmtap_frame_owns_data;
drmtap_get_cursor;
drmtap_cursor_hotspot_valid;
drmtap_cursor_release;
drmtap_error;
drmtap_gpu_driver;
drmtap_plane_rotation;
drmtap_crtc_refresh;
drmtap_drm_fd;
drmtap_set_output_buffer;
drmtap_deswizzle;
drmtap_convert_format;
drmtap_tonemap_hdr10;
drmtap_diff_frames;
local:
*;
};