Message ID | 20201112200346.404864-1-kpsingh@chromium.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <bpf-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNWANTED_LANGUAGE_BODY, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C2A0C2D0E4 for <bpf@archiver.kernel.org>; Thu, 12 Nov 2020 20:03:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AC03E2085B for <bpf@archiver.kernel.org>; Thu, 12 Nov 2020 20:03:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="PxCDajPY" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726787AbgKLUDu (ORCPT <rfc822;bpf@archiver.kernel.org>); Thu, 12 Nov 2020 15:03:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726702AbgKLUDu (ORCPT <rfc822;bpf@vger.kernel.org>); Thu, 12 Nov 2020 15:03:50 -0500 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB808C0613D1 for <bpf@vger.kernel.org>; Thu, 12 Nov 2020 12:03:49 -0800 (PST) Received: by mail-wr1-x444.google.com with SMTP id p8so7342524wrx.5 for <bpf@vger.kernel.org>; Thu, 12 Nov 2020 12:03:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fDF5l0n3msRGgGGH1jpdrBrGSoTCWyYhlZaMIFoRHNY=; b=PxCDajPYS+KMhHly7PQAn7plJ/zYAleZ+YiSv2SUa754kwXS/aJGSZwC+TDW/rdQCv q05aiakbtJAtUYBPNycY+A3kwd12STIpUnbMkxkd610OR0mCJ1l6idQrSXY6s2PhrXN5 fsux1Ln24Wq+x9r5mJm65U+rSJc8QKcVLJNGM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fDF5l0n3msRGgGGH1jpdrBrGSoTCWyYhlZaMIFoRHNY=; b=I2eCX76gSXExjQzdxmof4/WQQFzCn4KEjDU8pbtOjxr0w/u6E3zFR8CTy4uKGAmXvV /RJtzQMgLYXUIn/X3JaxT0Ze2EAIFFVkxeekfm/mPtsMgjqY6ReLeMn2xrkn1zVb14OY SDOYxpcJ+qLSLpBASz3wxmeaIWkNepmbwosSag1jDA3b6u5izyfIYwVatj7/OTsO2fI5 Xx3aYcxC74HR9gB5yt/jYPDLBWCrTHR+v/xhEcMcptagpEPEVMULOn//+9RbqF9f6bn3 MHtGyxRFAMKX3NxhEWmt8opGCe525jZDn/9WZ9pm4OetIQfLRE4Hw9HMhWD4+ZldUkr4 RCOQ== X-Gm-Message-State: AOAM532j6wU5WtlSPfgfarE46BtToAazLj47p8+z5GTvmpROxpqivWqi 8m8loD7K3He9Ho1v0+s4fZT3Tw== X-Google-Smtp-Source: ABdhPJwVb+LsMJ0DjHqzXuECZpfn2+MFgdWWTcckzcS+fCFdEmaOUz+OteWD+70e25ksjgaZahkqBw== X-Received: by 2002:adf:de85:: with SMTP id w5mr1476604wrl.90.1605211428534; Thu, 12 Nov 2020 12:03:48 -0800 (PST) Received: from kpsingh.c.googlers.com.com (203.75.199.104.bc.googleusercontent.com. [104.199.75.203]) by smtp.gmail.com with ESMTPSA id f5sm8488472wrg.32.2020.11.12.12.03.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 12:03:48 -0800 (PST) From: KP Singh <kpsingh@chromium.org> To: linux-kernel@vger.kernel.org, bpf@vger.kernel.org Cc: Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, Martin KaFai Lau <kafai@fb.com>, Song Liu <songliubraving@fb.com>, Jann Horn <jannh@google.com>, Hao Luo <haoluo@google.com>, Florent Revest <revest@chromium.org>, Brendan Jackman <jackmanb@chromium.org> Subject: [PATCH bpf-next v2 0/2] Sleepable LSM Hooks Date: Thu, 12 Nov 2020 20:03:44 +0000 Message-Id: <20201112200346.404864-1-kpsingh@chromium.org> X-Mailer: git-send-email 2.29.2.222.g5d2a92d10f8-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <bpf.vger.kernel.org> X-Mailing-List: bpf@vger.kernel.org X-Patchwork-Delegate: bpf@iogearbox.net |
Series |
Sleepable LSM Hooks
|
expand
|
On Thu, Nov 12, 2020 at 9:03 PM KP Singh <kpsingh@chromium.org> wrote: > > From: KP Singh <kpsingh@google.com> > > # v1 -> v2 > > * Fixed typos and formatting errors. > * Added Andrii's ack. Oops, I sent an older patch file which does not have Andrii's ack.
From: KP Singh <kpsingh@google.com> # v1 -> v2 * Fixed typos and formatting errors. * Added Andrii's ack. KP Singh (2): bpf: Augment the set of sleepable LSM hooks bpf: Expose bpf_d_path helper to sleepable LSM hooks include/linux/bpf_lsm.h | 7 +++ kernel/bpf/bpf_lsm.c | 121 +++++++++++++++++++++++++++++++++++++++ kernel/bpf/verifier.c | 16 +----- kernel/trace/bpf_trace.c | 7 ++- 4 files changed, 135 insertions(+), 16 deletions(-)