diff --git a/.pick_status.json b/.pick_status.json index cf49fdd52e1..379cffb3014 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -84,7 +84,7 @@ "description": "aux/trace: Guard triggers behind __normal_user", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/gallium/auxiliary/driver_trace/tr_dump.c b/src/gallium/auxiliary/driver_trace/tr_dump.c index 20778b50e71..a677ccb4661 100644 --- a/src/gallium/auxiliary/driver_trace/tr_dump.c +++ b/src/gallium/auxiliary/driver_trace/tr_dump.c @@ -284,7 +284,7 @@ trace_dump_trace_begin(void) atexit(trace_dump_trace_close); const char *trigger = debug_get_option("GALLIUM_TRACE_TRIGGER", NULL); - if (trigger) { + if (trigger && __normal_user()) { trigger_filename = strdup(trigger); trigger_active = false; } else