From edce3e3f88a3270f0a83511b8b6d7f0d409f449e Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 22 Dec 2012 09:59:22 -0800 Subject: [PATCH] input: Don't create a FIFO with executable permission --- profiles/input/suspend-dummy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/input/suspend-dummy.c b/profiles/input/suspend-dummy.c index 8af861747..97e42e0af 100644 --- a/profiles/input/suspend-dummy.c +++ b/profiles/input/suspend-dummy.c @@ -117,7 +117,7 @@ int suspend_init(suspend_event suspend, resume_event resume) suspend_cb = suspend; resume_cb = resume; - if (mkfifo(HOG_SUSPEND_FIFO, S_IRWXU) < 0) { + if (mkfifo(HOG_SUSPEND_FIFO, S_IRUSR | S_IWUSR) < 0) { int err = -errno; if (err == -EEXIST) { -- 2.47.3