Received: by 10.223.185.116 with SMTP id b49csp2632434wrg; Mon, 5 Mar 2018 06:19:36 -0800 (PST) X-Google-Smtp-Source: AG47ELuWiuQPmNjuTaQJRfVmLUzOSNGYZEW6sn6q42hLdRdriPseQSwYK419n6TU2wgcUjEiNjSD X-Received: by 2002:a17:902:584c:: with SMTP id f12-v6mr13250220plj.374.1520259576628; Mon, 05 Mar 2018 06:19:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520259576; cv=none; d=google.com; s=arc-20160816; b=vWkk8uND4phxnMhKeKrcfI9OnUzR1Xh51WDQblAEVo9j+DEJ1uRJZivH9R0Hus6/97 w1ODQOFJ5d90ZSJFF9hc4BMUZL68juVURebq/8mLDj916Xd3t8Qb8NpmLjiiVHiJuD6s GOAsSfD6/aWlzP+CJAfL9kZHXE051Cp4zSCwTDSOJp4M9aphAEOUTHjm9sIDCtYyI4UU QPfNyqY6SQ8cZ5C07CtLcSR9/587m6CdRLFEKsWmbtNq1Hgnv25MnTJMavnF6DKHXU/i T2Yk23+1EFe/7a18EUX4Ca0KjQfS+1Z9Q3HivG2YIlySM49Tgb24T1aBBPnrs0xgfBMp 8QAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:references:in-reply-to:date:cc:to:from:subject :arc-authentication-results; bh=zIn8yQcoSsNR6PjXDfU8TBG2Z1ROBFEw7xnI/90PXBU=; b=UauV4Y82j3+NHwVU31kzJpxbs4FFOI3kVI/gZyz5FmHKof+lV0LRth7Gvl+QLVsHfY bwS0yqRQVoe9WWPhSbTgoRVLVN4dr407fngraCnh9R+nQ5dO5KPZCqGJ0bZwBGsbcnaT TNUuQxx33trUqnNsEQGwKaOCT6IYSzPYKE4ySKfeD92IAtfQUxI2WqvWVuWLe6T2ixAv 7xZdK6z2QfJfNFdZmZ1fC8A9FtxLSuTvpicsOwlSTXywMxxQYVxbU9oqJ5sKHIAG7PxH q+WoMLeXHv0mU1mO2ZSx0p3rT4G20m+vbVhWvNfpyoN8sPZptIsfAig7wfqxHtemSM+6 2hmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1-v6si9300778pld.744.2018.03.05.06.19.22; Mon, 05 Mar 2018 06:19:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964898AbeCEN1z (ORCPT + 99 others); Mon, 5 Mar 2018 08:27:55 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:51036 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935124AbeCEN1x (ORCPT ); Mon, 5 Mar 2018 08:27:53 -0500 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w25DOYiH072499 for ; Mon, 5 Mar 2018 08:27:53 -0500 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 2gh3gh0jma-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Mon, 05 Mar 2018 08:27:52 -0500 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 5 Mar 2018 13:27:49 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 5 Mar 2018 13:27:43 -0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w25DRgPa63766652; Mon, 5 Mar 2018 13:27:42 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BC6F311C054; Mon, 5 Mar 2018 13:20:30 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 74E8E11C052; Mon, 5 Mar 2018 13:20:28 +0000 (GMT) Received: from localhost.localdomain (unknown [9.80.81.235]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 5 Mar 2018 13:20:28 +0000 (GMT) Subject: Re: [RFC PATCH V1 00/12] audit: implement container id From: Mimi Zohar To: Richard Guy Briggs Cc: cgroups@vger.kernel.org, containers@lists.linux-foundation.org, linux-api@vger.kernel.org, Linux-Audit Mailing List , linux-fsdevel@vger.kernel.org, LKML , netdev@vger.kernel.org, mszeredi@redhat.com, ebiederm@xmission.com, simo@redhat.com, jlayton@redhat.com, carlos@redhat.com, dhowells@redhat.com, viro@zeniv.linux.org.uk, luto@kernel.org, eparis@parisplace.org, trondmy@primarydata.com, serge@hallyn.com Date: Mon, 05 Mar 2018 08:27:39 -0500 In-Reply-To: <20180305033128.6sqreoo5olqwq5og@madcap2.tricolour.ca> References: <1520200557.10396.257.camel@linux.vnet.ibm.com> <20180305033128.6sqreoo5olqwq5og@madcap2.tricolour.ca> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 18030513-0040-0000-0000-0000043AE9A8 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18030513-0041-0000-0000-000020DDFB80 Message-Id: <1520256459.10396.283.camel@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-05_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1803050162 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2018-03-04 at 22:31 -0500, Richard Guy Briggs wrote: > On 2018-03-04 16:55, Mimi Zohar wrote: > > On Thu, 2018-03-01 at 14:41 -0500, Richard Guy Briggs wrote: > > > Implement audit kernel container ID. > > > > > > This patchset is a preliminary RFC based on the proposal document (V3) > > > posted: > > > https://www.redhat.com/archives/linux-audit/2018-January/msg00014.html > > > > > > The first patch implements the proc fs write to set the audit container > > > ID of a process, emitting an AUDIT_CONTAINER record. > > > > > > The second implements an auxiliary syscall record AUDIT_CONTAINER_INFO > > > if a container ID is present on a task. > > > > > > The third adds filtering to the exit, exclude and user lists. > > > > > > The 4th, implements reading the container ID from the proc filesystem > > > for debugging. This isn't planned for upstream inclusion. > > > > > > The 5th adds signal and ptrace support. > > > > > > The 6th attempts to create a local audit context to be able to bind a > > > standalone record with the container ID record. > > > > > > The 7th, 8th, 9th, 10th patches add container ID records to standalone > > > records. Some of these may end up being syscall auxiliary records and > > > won't need this specific support since they'll be supported via > > > syscalls. > > > > > > The 11th is a temporary workaround due to the AUDIT_CONTAINER records > > > not showing up as do AUDIT_LOGIN records. I suspect this is due to its > > > range (1000 vs 1300), but the intent is to solve it. > > > > > > The 12th adds debug information not intended for upstream for those > > > brave souls wanting to tinker with it in this early state. > > > > > > Feedback please! > > > > Which tree can this patch set be applied to? > > git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git next Thanks, that worked.  In case anyone else is trying to apply these patches to a 4.16.0-rc based kernel, commit 4e7e3adbba52 ("Expand various INIT_* macros and remove") moved .sessionid to init/init_task.c. Mimi