summaryrefslogtreecommitdiff
path: root/ipc/kdbus/names.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/kdbus/names.c')
-rw-r--r--ipc/kdbus/names.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ipc/kdbus/names.c b/ipc/kdbus/names.c
index 90e0c016f66e..df99e4df815b 100644
--- a/ipc/kdbus/names.c
+++ b/ipc/kdbus/names.c
@@ -290,13 +290,10 @@ int kdbus_name_acquire(struct kdbus_name_registry *reg,
down_write(&reg->rwlock);
- /* Disable internal kdbus policy - possibilities of connections to own,
- * see and talk to well-known names are restricted by LSM hooks
if (!kdbus_conn_policy_own_name(conn, current_cred(), name)) {
ret = -EPERM;
goto exit_unlock;
}
- */
hash = kdbus_strhash(name);
e = kdbus_name_find(reg, hash, name);