[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <316971.67258.qm@web36607.mail.mud.yahoo.com>
Date: Tue, 24 Apr 2007 06:51:50 -0700 (PDT)
From: Casey Schaufler <casey@...aufler-ca.com>
To: roberto@...it.it, linux-kernel@...r.kernel.org
Subject: Re: [ANNOUNCE] UidBind LSM 0.1
--- Roberto De Ioris <roberto@...it.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@...aufler-ca.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists