From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sonic307-1.consmr.mail.ir2.yahoo.com ([87.248.110.121]:44415 "EHLO sonic307-1.consmr.mail.ir2.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726006AbeJZQtf (ORCPT ); Fri, 26 Oct 2018 12:49:35 -0400 Subject: Re: [PATCH ghak90 (was ghak32) V4 03/10] audit: log container info of syscalls To: Steve Grubb , Paul Moore Cc: luto@kernel.org, rgb@redhat.com, linux-api@vger.kernel.org, containers@lists.linux-foundation.org, linux-kernel@vger.kernel.org, viro@zeniv.linux.org.uk, dhowells@redhat.com, carlos@redhat.com, linux-audit@redhat.com, netfilter-devel@vger.kernel.org, ebiederm@xmission.com, simo@redhat.com, netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org, Eric Paris , Serge Hallyn References: <34017c395d03a213d6b0d49b9964429bd32b283d.1533065887.git.rgb@redhat.com> <20181024151439.lavhanabsyxdrdvo@madcap2.tricolour.ca> <20181025004255.zl7p7j6gztouh2hh@madcap2.tricolour.ca> <20181025080638.771621a3@ivy-bridge> <20181025122732.4j4rbychjse3gemt@madcap2.tricolour.ca> <20181025175745.5b2b13e9@ivy-bridge> <20181025173830.4yklhnrydt5qvr67@madcap2.tricolour.ca> <20181025235527.15a39d75@ivy-bridge> From: Casey Schaufler Message-ID: Date: Fri, 26 Oct 2018 01:09:16 -0700 MIME-Version: 1.0 In-Reply-To: <20181025235527.15a39d75@ivy-bridge> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 10/25/2018 2:55 PM, Steve Grubb wrote: > ... > And historically speaking setting audit loginuid produces a LOGIN > event, so it only makes sense to consider binding container ID to > container as a CONTAINER event. For other supplemental records, we name > things what they are: PATH, CWD, SOCKADDR, etc. So, CONTAINER_ID makes > sense. CONTAINER_OP sounds like its for operations on a container. Do > we have any operations on a container? The answer has to be "no", because containers are, by emphatic assertion, not kernel constructs. Any CONTAINER_OP event has to come from user space. I think.