Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp29101imm; Tue, 31 Jul 2018 13:11:38 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcwrUbgJ37BoiwUxo5i3sQNPngIZTrP84eVp00E6ztdmjpS5uBcuWYCVTmffSy9aUlamDl+ X-Received: by 2002:a62:f206:: with SMTP id m6-v6mr2605913pfh.171.1533067898419; Tue, 31 Jul 2018 13:11:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533067898; cv=none; d=google.com; s=arc-20160816; b=mEkJR0YMVTcFsnhLTrbJ+HMjWEGCGkJAdz5g0rcw6/SAcXl/LMC3RUWPtFmRw+LcKI cxY6IjT+65C3LL9z68zaFK1Cwi9OhFzK2rx8bilniPovk+ouOegQzeYxPDwJL7Q1EdAm +CTxZbwHvp0PzSreq1iC+iinJzjrGj0pU0Enksj3DlObQNGEEHa/lFlLxGIJkELCnsw3 brKXjFI5LQ4/X7cbXi3vRfaYo6wP8vdDynYSxIrA6Zz12WLyh8HZ3zaqiz3ebKBNUaRq ZPYkJhOPa/1UUuI+Dxr5o1fKHruSLjsMR3Lx339w3hCdHF5DYqB7xQuZ40N4J+i+8bqI vDQQ== 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 :arc-authentication-results; bh=ETy3ayXIV8oq2F1bxNVvucluk9KiXfVEu6mjSxwwE6g=; b=gMyckNYPdwTKCyzucifJuXSB8ZyuV5LX89Lyu5J0mrtshOOuJ1bJn9CJ1BkMtU117J p5utwf+sqnyo1sXGdlNZHBI2MRtoNIGKHiySGrveYKuVMgNjQrWMNAc49Iaa929jZ8kt 0a1Vctc0aFYclXi8ILRxQPabwcGvXSkDg6Xkvp3T+cKH0gp455IpwWfjM8AvIhlB6473 HhSMVwY7eclLzHmCWXZsuuF5f0k8bOg4SZMdGbpcs5ea3hKU15MLstxq3VdNPWuMNPZM ptPKWEoryZ/XcYA+T2JAWDE5xeNOe1W9B4gb45BJ2z6jsHsbW8yZukKukjVXmn5REWpa thmQ== 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 t14-v6si12697630plo.48.2018.07.31.13.11.16; Tue, 31 Jul 2018 13:11:38 -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 S1726723AbeGaVvB (ORCPT + 99 others); Tue, 31 Jul 2018 17:51:01 -0400 Received: from namei.org ([65.99.196.166]:41286 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725886AbeGaVvB (ORCPT ); Tue, 31 Jul 2018 17:51:01 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id w6VK8x2C008220; Tue, 31 Jul 2018 20:08:59 GMT Date: Wed, 1 Aug 2018 06:08:59 +1000 (AEST) From: James Morris To: Micah Morton cc: linux-security-module@vger.kernel.org, serge@hallyn.com, Kees Cook , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] security: Add LSM fixup hooks to set*gid syscalls. In-Reply-To: Message-ID: References: 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 Tue, 31 Jul 2018, Micah Morton wrote: > +static inline int security_task_fix_setgid(struct cred *new, > + const struct cred *old, > + int flags) > +{ > + return 0; > +} > + This looks whitespace-damaged. Please send patches as plain text. -- James Morris