git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eal: tighten permissions on shared memory files
[dpdk.git]
/
lib
/
librte_eal
/
linux
/
eal
/
eal.c
diff --git
a/lib/librte_eal/linux/eal/eal.c
b/lib/librte_eal/linux/eal/eal.c
index
75ed0cf
..
f7ae62d
100644
(file)
--- a/
lib/librte_eal/linux/eal/eal.c
+++ b/
lib/librte_eal/linux/eal/eal.c
@@
-320,7
+320,7
@@
rte_eal_config_create(void)
rte_mem_cfg_addr = NULL;
if (mem_cfg_fd < 0){
rte_mem_cfg_addr = NULL;
if (mem_cfg_fd < 0){
- mem_cfg_fd = open(pathname, O_RDWR | O_CREAT, 06
6
0);
+ mem_cfg_fd = open(pathname, O_RDWR | O_CREAT, 06
0
0);
if (mem_cfg_fd < 0)
rte_panic("Cannot open '%s' for rte_mem_config\n", pathname);
}
if (mem_cfg_fd < 0)
rte_panic("Cannot open '%s' for rte_mem_config\n", pathname);
}