[systemd-devel] [PATCH] test: use audit.loginuid and audit.sessionid when dumping the audit item
Daniel Mack
daniel at zonque.org
Wed Aug 20 09:49:55 PDT 2014
On 08/20/2014 06:41 PM, Djalal Harouni wrote:
> Signed-off-by: Djalal Harouni <tixxdz at opendz.org>
> ---
> test/kdbus-util.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks!
>
> diff --git a/test/kdbus-util.c b/test/kdbus-util.c
> index f79d7ec..5b3df7d 100644
> --- a/test/kdbus-util.c
> +++ b/test/kdbus-util.c
> @@ -471,8 +471,8 @@ void msg_dump(const struct conn *conn, const struct kdbus_msg *msg)
> case KDBUS_ITEM_AUDIT:
> printf(" +%s (%llu bytes) loginuid=%llu sessionid=%llu\n",
> enum_MSG(item->type), item->size,
> - (unsigned long long)item->data64[0],
> - (unsigned long long)item->data64[1]);
> + (unsigned long long)item->audit.loginuid,
> + (unsigned long long)item->audit.sessionid);
> break;
>
> case KDBUS_ITEM_CAPS: {
>
More information about the systemd-devel
mailing list