projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c65e9e
)
kdbus: fix memfd kdbus items mapping
24/69524/1
author
Lukasz Skalski
<l.skalski@samsung.com>
Fri, 13 May 2016 13:43:54 +0000
(15:43 +0200)
committer
Lukasz Skalski
<l.skalski@samsung.com>
Fri, 13 May 2016 13:43:54 +0000
(15:43 +0200)
Change-Id: I48e9799e4fccaea2016cd77a92ebe971eeb1b660
dbus/dbus-transport-kdbus.c
patch
|
blob
|
history
diff --git
a/dbus/dbus-transport-kdbus.c
b/dbus/dbus-transport-kdbus.c
index b46db211827e5c571d41d1a18a71d1e81eabb4f0..8fb53ae6aa4b613c7497930b5b54abc4aedaaf0a 100644
(file)
--- a/
dbus/dbus-transport-kdbus.c
+++ b/
dbus/dbus-transport-kdbus.c
@@
-2789,7
+2789,7
@@
kdbus_decode_dbus_message (const struct kdbus_msg *msg,
size = item->memfd.size;
_dbus_verbose ("memfd.size : %llu\n", (unsigned long long)size);
- buf = mmap (NULL, size, PROT_READ
, MAP_SHARED
, item->memfd.fd, 0);
+ buf = mmap (NULL, size, PROT_READ
, MAP_PRIVATE
, item->memfd.fd, 0);
if (buf == MAP_FAILED)
{
_dbus_verbose ("mmap () fd=%i failed:%m", item->memfd.fd);