aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-01-18 08:50:39 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2017-01-18 08:50:39 -0500
commitf278102ab1cdf9b3637fc7df5bd2e4bee1965c36 (patch)
tree93a560f6b966dd56c482ed173d06a8283f8af7de /src
parentfix ASSERT_PERMS_FD macro (diff)
downloadfirejail-f278102ab1cdf9b3637fc7df5bd2e4bee1965c36.tar.gz
firejail-f278102ab1cdf9b3637fc7df5bd2e4bee1965c36.tar.zst
firejail-f278102ab1cdf9b3637fc7df5bd2e4bee1965c36.zip
fix PulseAudio/machine-id problem
Diffstat (limited to 'src')
-rw-r--r--src/firejail/fs_etc.c4
-rw-r--r--src/man/firejail-profile.txt2
-rw-r--r--src/man/firejail.txt2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/firejail/fs_etc.c b/src/firejail/fs_etc.c
index 479383af2..f14e90deb 100644
--- a/src/firejail/fs_etc.c
+++ b/src/firejail/fs_etc.c
@@ -31,8 +31,8 @@ void fs_machineid(void) {
31 uint32_t u32[4]; 31 uint32_t u32[4];
32 } mid; 32 } mid;
33 33
34 // if --machine-id flag is active, do nothing 34 // if --machine-id flag is inactive, do nothing
35 if (arg_machineid) 35 if (arg_machineid == 0)
36 return; 36 return;
37 37
38 // init random number generator 38 // init random number generator
diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt
index 8fd4562b0..ecb8be139 100644
--- a/src/man/firejail-profile.txt
+++ b/src/man/firejail-profile.txt
@@ -452,7 +452,7 @@ Assign MAC addresses to the last network interface defined by a net command.
452 452
453.TP 453.TP
454\fBmachine-id 454\fBmachine-id
455Preserve id number in /etc/machine-id file. By default a new random id is generated inside the sandbox. 455Spoof id number in /etc/machine-id file - a new random id is generated inside the sandbox.
456 456
457.TP 457.TP
458\fBmtu number 458\fBmtu number
diff --git a/src/man/firejail.txt b/src/man/firejail.txt
index 69d28c788..69ed2a8dc 100644
--- a/src/man/firejail.txt
+++ b/src/man/firejail.txt
@@ -678,7 +678,7 @@ $ firejail \-\-net=eth0 \-\-mac=00:11:22:33:44:55 firefox
678 678
679.TP 679.TP
680\fB\-\-machine-id 680\fB\-\-machine-id
681Preserve id number in /etc/machine-id file. By default a new random id is generated inside the sandbox. 681Spoof id number in /etc/machine-id file - a new random id is generated inside the sandbox.
682.br 682.br
683 683
684.br 684.br