summaryrefslogtreecommitdiffstats
path: root/src/ck-session.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-08-11 03:54:57 +0200
committerRay Strode <rstrode@redhat.com>2009-08-11 17:45:15 -0400
commit242971667b66fea86d4cfb5a4d0a396e5a7b5e8b (patch)
treecf5538a6ef4877add5dd46e258243d27f0bf9e34 /src/ck-session.c
parent6d4959b9a573c55fe56bbaf2394f492384f19c67 (diff)
make CK database world readable
The CK database shall be readable by the D-Bus daemon which runs under its own user id hence make sure it is readable for non-root processes. To make sure this leaks no information this drops the session cookie from the database.
Diffstat (limited to 'src/ck-session.c')
-rw-r--r--src/ck-session.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ck-session.c b/src/ck-session.c
index 4009ee1..97e1ce2 100644
--- a/src/ck-session.c
+++ b/src/ck-session.c
@@ -1306,10 +1306,6 @@ ck_session_dump (CkSession *session,
group_name,
"seat",
NONULL_STRING (session->priv->seat_id));
- g_key_file_set_string (key_file,
- group_name,
- "cookie",
- NONULL_STRING (session->priv->cookie));
if (session->priv->session_type != NULL) {
g_key_file_set_string (key_file,
group_name,