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

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

 



Hi Marcos,

On Tue, Sep 9, 2014 at 9:46 PM, Marcos Marado
<mindboosternoori@xxxxxxxxx> wrote:
> Hi there,
>
> This patch changes BlueZ to create its test FIFO on /run instead of /tmp , to
> make SELinux happy.

Could you please follow the guidelines included on HACKING, things
like 'Hi There' probably don't belong here, regarding the actual
explanation why we need this patch could you please explain why run is
better than tmp?

> ---
>
> 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



-- 
Luiz Augusto von Dentz
--
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