From e839156f3f1232265f1d9f2d4b96a03e8d501420 Mon Sep 17 00:00:00 2001 From: Brian Gix Date: Tue, 23 Feb 2021 10:45:02 -0800 Subject: [PATCH] profiles: Cleanup deprecated symbolic file permissions Signed-off-by: Anuj Jain Signed-off-by: Ayush Garg --- 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 c6527ee..ea1835e 100755 --- a/profiles/input/suspend-dummy.c +++ b/profiles/input/suspend-dummy.c @@ -121,7 +121,7 @@ int suspend_init(suspend_event suspend, resume_event resume) } } - if (mkfifo(HOG_SUSPEND_FIFO, S_IRUSR | S_IWUSR) < 0) { + if (mkfifo(HOG_SUSPEND_FIFO, 0600) < 0) { int err = -errno; error("Can't create FIFO (%s): %s (%d)", HOG_SUSPEND_FIFO, -- 2.7.4