public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Casey Schaufler <casey@schaufler-ca.com>
To: roberto@unbit.it, linux-kernel@vger.kernel.org
Subject: Re: [ANNOUNCE] UidBind LSM 0.1
Date: Tue, 24 Apr 2007 06:51:50 -0700 (PDT)	[thread overview]
Message-ID: <316971.67258.qm@web36607.mail.mud.yahoo.com> (raw)
In-Reply-To: <1177318451.20613.8.camel@hagrid>


--- Roberto De Ioris <roberto@unbit.it> wrote:

> Hi all,
> this is a very simple module that allows bind() to tcp/udp port (>=1024)
> only for the uids defined in a configfs tree.

Would you be so kind as to cross post to linux-security-module?
Methinks that you might get additional valuable feedback there.

> It is a first version, it only works for PF_INET sockets and makes no
> difference between tcp and udp (i am working on this)
> 
> For (little) more info see 
> 
> http://projects.unbit.it/uidbind/
> 
> Patch attached is for vanilla 2.6.20.7

It would be correct to return -EACCES rather than -EPERM in the
access denial case. EACCES indicates that an access control decision
failed, while EPERM indicates that use of a privileged operation
was attempted while not possessing appropriate privilege.



Casey Schaufler
casey@schaufler-ca.com

  parent reply	other threads:[~2007-04-24 13:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23  8:54 [ANNOUNCE] UidBind LSM 0.1 Roberto De Ioris
2007-04-23 18:38 ` Gerhard Mack
2007-04-23 21:04   ` Roberto De Ioris
2007-04-24 13:51 ` Casey Schaufler [this message]
2007-04-24 14:01   ` Roberto De Ioris

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=316971.67258.qm@web36607.mail.mud.yahoo.com \
    --to=casey@schaufler-ca.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roberto@unbit.it \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox