[PATCH BlueZ] Create FIFO in /run instead of /tmp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

This patch changes BlueZ to create its test FIFO on /run instead of /tmp , to
make SELinux happy.

---

diff --git a/profiles/input/suspend-dummy.c b/profiles/input/suspend-dummy.c
index 542ae25..580213e 100644
--- a/profiles/input/suspend-dummy.c
+++ b/profiles/input/suspend-dummy.c
@@ -40,7 +40,7 @@
 #include "src/log.h"
 #include "suspend.h"

-#define HOG_SUSPEND_FIFO       "/tmp/hogsuspend"
+#define HOG_SUSPEND_FIFO       "/run/hogsuspend"

 static suspend_event suspend_cb = NULL;
 static resume_event resume_cb = NULL;

---

Best regards,
-- 
Marcos Marado
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux