profiles: Cleanup deprecated symbolic file permissions
authorBrian Gix <brian.gix@intel.com>
Tue, 23 Feb 2021 18:45:02 +0000 (10:45 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:34 +0000 (19:08 +0530)
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
profiles/input/suspend-dummy.c

index c6527ee..ea1835e 100755 (executable)
@@ -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,