Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755490Ab3H2OP3 (ORCPT ); Thu, 29 Aug 2013 10:15:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35106 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755332Ab3H2OOo (ORCPT ); Thu, 29 Aug 2013 10:14:44 -0400 From: Jan Kaluza To: davem@davemloft.net Cc: LKML , netdev@vger.kernel.org, eparis@redhat.com, rgb@redhat.com, tj@kernel.org, lizefan@huawei.com, containers@lists.linux-foundation.org, cgroups@vger.kernel.org, viro@zeniv.linux.org.uk, Jan Kaluza Subject: [PATCH v2 0/3] Send audit/procinfo/cgroup data in socket-level control message Date: Thu, 29 Aug 2013 16:13:19 +0200 Message-Id: <1377785602-10766-1-git-send-email-jkaluza@redhat.com> In-Reply-To: <1377614400-27122-1-git-send-email-jkaluza@redhat.com> References: <1377614400-27122-1-git-send-email-jkaluza@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1163 Lines: 31 Hi, this patchset against net-next (applies also to linux-next) adds 3 new types of "Socket"-level control message (SCM_AUDIT, SCM_PROCINFO and SCM_CGROUP). This is needed by journald (logging daemon used as part of systemd ecosystem) to get additional context together with log messages received using UNIX socket. Changes in v2: - use PATH_MAX instead of PAGE_SIZE in SCM_CGROUP patch - describe each patch individually Jan Kaluza (3): Send loginuid and sessionid in SCM_AUDIT Send comm and cmdline in SCM_PROCINFO Send cgroup_path in SCM_CGROUP include/linux/socket.h | 9 ++++++ include/net/af_unix.h | 10 ++++++ include/net/scm.h | 67 ++++++++++++++++++++++++++++++++++++++-- net/core/scm.c | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++ net/unix/af_unix.c | 70 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 237 insertions(+), 2 deletions(-) -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/