From 3e8ba0b815ebe83e396eb911fa9302e6ddb0ac07 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 27 Dec 2013 01:20:21 +0100 Subject: [PATCH 1/1] bus: actually, the kernel does enforce validity of bus names... --- src/libsystemd-bus/PORTING-DBUS1 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/libsystemd-bus/PORTING-DBUS1 b/src/libsystemd-bus/PORTING-DBUS1 index 930013723..f2cf27748 100644 --- a/src/libsystemd-bus/PORTING-DBUS1 +++ b/src/libsystemd-bus/PORTING-DBUS1 @@ -459,11 +459,6 @@ name. The ioctl will return an offset into the memory pool. After reading all the data you need you need to release this via the KDBUS_CMD_FREE ioctl(), similar how you release a received message. -Note that the kernel does not know anything about properly formatted -dbus bus names. It is hence essential that you verify the validity of -all bus names returned by the kernel (for example in message meta data -or when listing acquired names), and ignore invalid entries. - CREDENTIALS kdbus can optionally attach all kinds of metadata about the sender at -- 2.30.2