qrexec: use VM name in log filename
This commit is contained in:
parent
cf8959dbfe
commit
c92bc0a05c
@ -162,7 +162,7 @@ void init(int xid)
|
|||||||
}
|
}
|
||||||
close(0);
|
close(0);
|
||||||
snprintf(qrexec_error_log_name, sizeof(qrexec_error_log_name),
|
snprintf(qrexec_error_log_name, sizeof(qrexec_error_log_name),
|
||||||
"/var/log/qubes/qrexec.%d.log", xid);
|
"/var/log/qubes/qrexec.%s.log", remote_domain_name);
|
||||||
umask(0007); // make the log readable by the "qubes" group
|
umask(0007); // make the log readable by the "qubes" group
|
||||||
logfd =
|
logfd =
|
||||||
open(qrexec_error_log_name, O_WRONLY | O_CREAT | O_TRUNC,
|
open(qrexec_error_log_name, O_WRONLY | O_CREAT | O_TRUNC,
|
||||||
|
Loading…
Reference in New Issue
Block a user