Skip to contentSkip to conversation

Issue on labeling a packet? (was Re: Issue on getting security context of socket and message)

DISCUSSION Park Lee 2 participants 2 messages Dec 30, 2004 – Jan 3, 2005 SELinux security module

lore
Share & tools
lore

Park Lee

author
#0 lore raw
Quoted 9 lines · Stephen Smalley
Quoted 5 lines · Park Lee

In 2.6, where are these special kernel socket
(i.e.icmp_socket and tcp_socket) labeled with the
kernel SID?
Is there any more special kernel sockets in 2.6
except the two that are mentioned?

See

http://marc.theaimsgroup.com/?l=bk-commits-head&m=108407589700679&w=2

Quoted 2 lines

and

http://marc.theaimsgroup.com/?l=bk-commits-head&m=108407590404054&w=2

Thank you very much.
I've seen them, and know how/where these special
kernel socket are labeled now.

Let's suppose that when a packet is sending out (through XFRM architecture), how can we decide whether the packet is associated with a kernel socket or a user socket?

Thank you.

=====
Best Regards,
Park Lee

__________________________________
Do you Yahoo!?
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 7 lines · Park Lee

I've seen them, and know how/where these special kernel socket are labeled now.

Let's suppose that when a packet is sending out (through XFRM architecture), how can we decide whether the packet is associated with a kernel socket or a user socket?

kernel sockets have the kernel SID.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.