projects
/
platform
/
core
/
system
/
kdbus-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d48e64
)
Revert "metadata: follow 3.17 changes for current->start_time"
author
Łukasz Stelmach
<l.stelmach@samsung.com>
Wed, 12 Nov 2014 11:07:57 +0000
(12:07 +0100)
committer
Łukasz Stelmach
<l.stelmach@samsung.com>
Wed, 19 Nov 2014 14:33:08 +0000
(15:33 +0100)
This reverts commit
47971994
to make kdbus work on 3.14 again.
Conflicts:
metadata.c
Change-Id: I6999069a4e4b0bb8632cdbe86e25bacdbcfc8742
metadata.c
patch
|
blob
|
history
diff --git
a/metadata.c
b/metadata.c
index 5bc2efa8be9258379c61291d162056ef0335e0aa..a3c52ef6dd261e507d942e3a42a400f3bea719e4 100644
(file)
--- a/
metadata.c
+++ b/
metadata.c
@@
-198,7
+198,7
@@
static int kdbus_meta_append_cred(struct kdbus_meta *meta)
creds.gid = from_kgid_munged(current_user_ns(), current_gid());
creds.pid = task_pid_vnr(current);
creds.tid = task_tgid_vnr(current);
- creds.starttime =
current->start_time
;
+ creds.starttime =
timespec_to_ns(¤t->start_time)
;
return kdbus_meta_append_data(meta, KDBUS_ITEM_CREDS,
&creds, sizeof(creds));