mirror of
https://github.com/openharmony/developtools_bytrace.git
synced 2026-07-15 06:07:13 -04:00
update hitrace setgid
Signed-off-by: hw-wLiu <liuwei573@huawei.com> Change-Id: Iba1c0d54a2ed56c2f265aa8b7734a198c747ae52
This commit is contained in:
@@ -897,6 +897,7 @@ static void InterruptExit(int signo)
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
setgid(2000);
|
||||
(void)signal(SIGKILL, InterruptExit);
|
||||
(void)signal(SIGINT, InterruptExit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user