projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e93e4e0
)
peripheral: Cleanup deprecated symbolic file permissions
author
Brian Gix
<brian.gix@intel.com>
Tue, 23 Feb 2021 18:43:42 +0000
(10:43 -0800)
committer
Ayush 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>
peripheral/efivars.c
patch
|
blob
|
history
diff --git
a/peripheral/efivars.c
b/peripheral/efivars.c
index
8815ecc
..
387ec89
100755
(executable)
--- a/
peripheral/efivars.c
+++ b/
peripheral/efivars.c
@@
-97,8
+97,7
@@
int efivars_write(const char *name, uint32_t attributes,
if (!buf)
return -ENOMEM;
- fd = open(pathname, O_CREAT | O_WRONLY | O_TRUNC | O_CLOEXEC,
- S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
+ fd = open(pathname, O_CREAT | O_WRONLY | O_TRUNC | O_CLOEXEC, 0644);
if (fd < 0) {
free(buf);
return -EIO;