Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp260686ybp; Thu, 10 Oct 2019 17:42:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqyS/c0bwJfWjGn3OJN43Dg7in1LUvCH4CEPIz3YWW0Tt6twXGEf5244IOc5MDZDkgjoDas5 X-Received: by 2002:a05:6402:336:: with SMTP id q22mr11211558edw.193.1570754541342; Thu, 10 Oct 2019 17:42:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570754541; cv=none; d=google.com; s=arc-20160816; b=E1g+YO3hzfy6WJF3XXiTi/9tN8gI3dGPC6JgRoIqteYX0oyBmbClfXHF6viMVD17Nm 3NcUe38pXoimn4NXvD+FvUybdoWCppC5mNvMeHTnbLgZVNm8tM/ZthjP7TMEvJ/52qnA 0gpdEnRPQyQ1cSXgHJW2c14jAjNQ/N9G368IIEte6nVJle7vUS4cFqF160/ohpVlBT3C NCLnBY/M9u68OXcPN7iRUvHVAL3RegjqnTKehzQEp8PupwxAU8xeh+M9AUSvNGrt8So1 RRPI2FT6rMNQWIJ7PQB8D9UTfjzGOotuIlhfI5NyQyOhmXcmaErxQTsv5MOtOB9qrhbO gqzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=CfDaZT4bXkWgxnluWp+WhmE+OpX1r8BSHHGhbM539S4=; b=UnF3Rs68Vw7dq/WGanVjatgWNBKn2uk5d/ICvZfwB5kmwpiZjy2qLCJXrj5jCALbYT hWXbFjMYk/EI21EGeELQ3/9e6FGu7cBeg86QAUADLjLHUxBQpULCfQ/zt3vtIqj3bBZJ x+VtfrEl1Rt8dDKYP7FhlygJJW/e/HYUSENQ2uMMgJQgYcpk/yFUnL+Xm1nxz9qRJEkr Bi2t6POxO2ov2SfNFri2eTif+96N8c2W1bzxMK3DycbT0Ivrt3mJ/7K1/jvjHAvrMfvu eNO1zmQk5GbunxIiw1At6MYxpXzz2yX0VxJHpJjKwyqHU3g53yS8rb+pLQKz3iV9AZgA OIXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=G3J9DjEz; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f30si5210190ede.435.2019.10.10.17.41.58; Thu, 10 Oct 2019 17:42:21 -0700 (PDT) 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; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=G3J9DjEz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728087AbfJKAlC (ORCPT + 99 others); Thu, 10 Oct 2019 20:41:02 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:34089 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727528AbfJKAlB (ORCPT ); Thu, 10 Oct 2019 20:41:01 -0400 Received: by mail-lj1-f194.google.com with SMTP id j19so8089266lja.1 for ; Thu, 10 Oct 2019 17:40:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CfDaZT4bXkWgxnluWp+WhmE+OpX1r8BSHHGhbM539S4=; b=G3J9DjEzJwvLYCWfemWN27LvdJrNNcUTEOJesbm+hDT6nSc4AxxnauaNC5OPkYNWHv EwPZHD9Hg/H8ArC5g3+ik5/9zXU1YiSGtHEwF2ExCsLHGakwfvrA0Ss46FpefN5CZre8 cUJMn5kmLSF2zvecYGh+jg7shNGju9rCNctKgpBJFWyc6C3B7IH4U92epYuprDdI76Oj Tz27IJHKhtslTrB9KtusXYzKqXkPMFJZDZG+8oUypn/sHfPJnp3q981Jw25+qra8yJxN QY9kgc07gEjemDQPV77JrgVmoJ9X1PfcEz9wdswo05ZA7ud1WugjIM3O6/+JaEug5MVn IDvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CfDaZT4bXkWgxnluWp+WhmE+OpX1r8BSHHGhbM539S4=; b=c9c0XbijaKgurWnPCl867E4Q2CIyy9UqLnlCA9hOBtEKtntwpmfrXoElB3zFn07Ygq 23VBByJnlCpMc5vSJrYCONJJ7ZbsCxGMZoiTxzY9bdNdb0p4WeYmcbcqcE7Z3HNMKRW1 +4wDLMLxsA9RIIYp/a1UT6KoPT1n0eEZEq6dspjvcgCqFr8E9FSRBlJAv0sh9/mzfEWZ akTT21AHadC89c3lXp8Rz7v3sk4Yrtj1qJsf/q4w14VZXnm2M5+dNofE7xGjJlkklOkw BRl+YXHSDac/6cOq2j4POE7wtG/IFMWdKZVs51rTQ40WY2ubq3bE3zRD2iIwz/tE/4YG w1BA== X-Gm-Message-State: APjAAAUTVhJjQ/XODSTgVuOTADufv5tjAXkDMBTYNCnf0eQdyRjkzmSs pHgbTrJvnUwQhtzECi3cajVys92xfGgdOf20x4I4 X-Received: by 2002:a2e:286:: with SMTP id y6mr8034574lje.184.1570754459003; Thu, 10 Oct 2019 17:40:59 -0700 (PDT) MIME-Version: 1.0 References: <6cef16c2a019e61e49f4d62497b5ca8dab79b45f.1568834525.git.rgb@redhat.com> In-Reply-To: <6cef16c2a019e61e49f4d62497b5ca8dab79b45f.1568834525.git.rgb@redhat.com> From: Paul Moore Date: Thu, 10 Oct 2019 20:40:47 -0400 Message-ID: Subject: Re: [PATCH ghak90 V7 17/21] audit: add support for loginuid/sessionid set/get by netlink To: Richard Guy Briggs Cc: containers@lists.linux-foundation.org, linux-api@vger.kernel.org, Linux-Audit Mailing List , linux-fsdevel@vger.kernel.org, LKML , netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, sgrubb@redhat.com, omosnace@redhat.com, dhowells@redhat.com, simo@redhat.com, Eric Paris , Serge Hallyn , ebiederm@xmission.com, nhorman@tuxdriver.com, Dan Walsh , mpatel@redhat.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 18, 2019 at 9:27 PM Richard Guy Briggs wrote: > Add the ability to get and set the login uid and to get the session id > using an audit netlink message using message types AUDIT_GET_LOGINUID > 1024, AUDIT_SET_LOGINUID 1025 and AUDIT_GET_SESSIONID 1026 in addition > to using the proc filesystem. > > Signed-off-by: Richard Guy Briggs > --- > include/uapi/linux/audit.h | 3 +++ > kernel/audit.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 65 insertions(+) This is completely independent of the audit container ID work, yes? If so, it shouldn't be part of this patchset. -- paul moore www.paul-moore.com