* netifcon
@ 2004-08-05 18:02 Alexis Wagner
2004-08-05 18:18 ` netifcon Stephen Smalley
0 siblings, 1 reply; 2+ messages in thread
From: Alexis Wagner @ 2004-08-05 18:02 UTC (permalink / raw)
To: selinux
Hi,
I have read this comment in the file attrib.te : ... operations on the
interface (XXX obsolete, not supported via LSM) .
I would like to know if I define a security context for an interface via
netifcon would it be supported by SELinux ?
Thank you,
Alexis Wagner
--
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: netifcon
2004-08-05 18:02 netifcon Alexis Wagner
@ 2004-08-05 18:18 ` Stephen Smalley
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Smalley @ 2004-08-05 18:18 UTC (permalink / raw)
To: Alexis Wagner; +Cc: selinux
On Thu, 2004-08-05 at 14:02, Alexis Wagner wrote:
> Hi,
>
> I have read this comment in the file attrib.te : ... operations on the
> interface (XXX obsolete, not supported via LSM) .
>
> I would like to know if I define a security context for an interface via
> netifcon would it be supported by SELinux ?
You can still assign security contexts to interfaces and control traffic
sent or received on the interface based on that security context. Only
operations on the interface (e.g. ioctls to configure the interface) are
being referenced by that comment; in the pre-LSM SELinux, permission
checks were directly inserted into the devinet code to check permissions
between the process security context and the interface security context;
LSM sought to avoid such deeply embedded security hooks. In the
LSM-based SELinux, you can still leverage the existing capability
checks, as SELinux performs a parallel permission check whenever a
capability check is applied, so the SELinux policy still has to grant
you cap_net_admin in order to configure the interface, but this is just
a process-based authorization, not a per-interface based authorization.
--
Stephen Smalley <sds@epoch.ncsc.mil>
National Security Agency
--
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-08-05 18:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-05 18:02 netifcon Alexis Wagner
2004-08-05 18:18 ` netifcon Stephen Smalley
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.