mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
vulkan: Use secure_getenv for trigger files
Reviewed-by: Eric Engestrom <eric@igalia.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27381>
(cherry picked from commit 7ea96ff75b)
This commit is contained in:
parent
ec4d013e82
commit
1aab9bc3f0
2 changed files with 2 additions and 2 deletions
|
|
@ -94,7 +94,7 @@
|
|||
"description": "vulkan: Use secure_getenv for trigger files",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ vk_instance_init(struct vk_instance *instance,
|
|||
|
||||
instance->trace_mode = parse_debug_string(getenv("MESA_VK_TRACE"), trace_options);
|
||||
instance->trace_frame = (uint32_t)debug_get_num_option("MESA_VK_TRACE_FRAME", 0xFFFFFFFF);
|
||||
instance->trace_trigger_file = getenv("MESA_VK_TRACE_TRIGGER");
|
||||
instance->trace_trigger_file = secure_getenv("MESA_VK_TRACE_TRIGGER");
|
||||
|
||||
vk_compiler_cache_init();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue