Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5031946ybi; Sat, 6 Jul 2019 20:04:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqzZrjEWoZAUQP0iw190TM7xkcccaVprOF9HGiy/2EcuFiMJ+yjncc+3aa21c0IYcPQeD35g X-Received: by 2002:a17:90a:8c90:: with SMTP id b16mr14736273pjo.133.1562468664069; Sat, 06 Jul 2019 20:04:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562468664; cv=none; d=google.com; s=arc-20160816; b=D1jpwlLK7oXAeCP7EHglaRFadCq3ecQccgaMIQ7HuIPtlUK/axVdgn5/Uxn6AaGNgb AFbMqSFSxYeP5ia3l3HpRLpYqHBOr0etOAmKIGo70JWhE8/sPklRd0wnYG3jUKx3LKCN hMSjBwL/Mx393nNyi9Ohoetk0EhlN2wAyHBGEuSSKhBxn9ByrMXZfq7iEZa9j+hu39If pypkwESR7e5Y6yFpprsUolUjSC9/kUHK2096TIko6LBWHrSb6VYrL6QQNI/+KjdBRtnM DOozG4jpbZEqxDmI2qZa/e0VgJmKO7pfFKoU5mP563tWfW2T+UhNKewztk8vyNbsau3h VlKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=I0U3BjFtHqk7gNR6/bsZcp4kFhMGjZLTxOgvsSayZsc=; b=GfOFbku4Oug2klPoMm+OpAQcaCdnyNkUJHAwddpPmIOCfVUEiMfycG+m/T7jEFOf5m UqT+U8+g81/wfZz4oNa4ctXlmSY4fSwswk2s56F7XTHy/XskJfGjocBFXpPH8A30NlSy IkvEqKPrMqMVNlw25opQT4ER33Qx58/8p5LdkEpHkvQ2TNRouM/+ZuxX4jE0R10D06/c cHhriCLCYoe1UAZsaotPgothOjocR5QbjVNewjWIpmCkywjyafBZaI/FEH0eb8/pArsK xl1gO54s2p7ITvMyIETeNS0FfC+bU9Eka2wJnrT6OBQNJFEvn+xKxPg12q7Tualcn5Pd Cb4Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u12si13652573pfm.6.2019.07.06.20.03.44; Sat, 06 Jul 2019 20:04:24 -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; 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 S1727197AbfGGDCw (ORCPT + 99 others); Sat, 6 Jul 2019 23:02:52 -0400 Received: from namei.org ([65.99.196.166]:33944 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727115AbfGGDCw (ORCPT ); Sat, 6 Jul 2019 23:02:52 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id x6732cmU004446; Sun, 7 Jul 2019 03:02:38 GMT Date: Sat, 6 Jul 2019 20:02:38 -0700 (PDT) From: James Morris To: Carmeli Tamir cc: serge@hallyn.com, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] security/commoncap: Use xattr security prefix len In-Reply-To: <20190706150738.4619-1-carmeli.tamir@gmail.com> Message-ID: References: <20190706150738.4619-1-carmeli.tamir@gmail.com> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 6 Jul 2019, Carmeli Tamir wrote: > Using the existing defined XATTR_SECURITY_PREFIX_LEN instead of > sizeof(XATTR_SECURITY_PREFIX) - 1. Pretty simple cleanup. > > Signed-off-by: Carmeli Tamir Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-lsm Thanks! -- James Morris