All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Moore <paul.moore@hp.com>
To: Venkat Yekkirala <vyekkirala@TrustedCS.com>
Cc: selinux@tycho.nsa.gov, sds@tycho.nsa.gov, jmorris@namei.org
Subject: Re: [RFC] [PATCH 2/4] Define new LSM hooks
Date: Fri, 21 Sep 2007 15:26:09 -0400	[thread overview]
Message-ID: <200709211526.10068.paul.moore@hp.com> (raw)
In-Reply-To: <46F00B82.3030901@trustedcs.com>

On Tuesday, September 18 2007 1:31:46 pm Venkat Yekkirala wrote:
> diff --git a/include/linux/security.h b/include/linux/security.h
> index 1a15526..f0b5ee5 100644
> --- a/include/linux/security.h
> +++ b/include/linux/security.h
> @@ -831,6 +831,8 @@ struct request_sock;
>   *     Sets the connection's peersid to the secmark on skb.
>   * @req_classify_flow:
>   *	Sets the flow's sid to the openreq sid.
> + * @skb_flow_out:
> + *	Determines if an skb can flow out per LSM policy.
>   *
>   * Security hooks for XFRM operations.
>   *

A bit of a nit: let's change the hook to security_skb_output() so it's name 
better matches the stack's calling functions.  This seems to fit a bit 
better ...

-- 
paul moore
linux security @ hp

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

      reply	other threads:[~2007-09-21 19:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-18 17:31 [RFC] [PATCH 2/4] Define new LSM hooks Venkat Yekkirala
2007-09-21 19:26 ` Paul Moore [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200709211526.10068.paul.moore@hp.com \
    --to=paul.moore@hp.com \
    --cc=jmorris@namei.org \
    --cc=sds@tycho.nsa.gov \
    --cc=selinux@tycho.nsa.gov \
    --cc=vyekkirala@TrustedCS.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.