FC5 - changing security context to sockets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am currently working with SElinux FC5 and I want an application to be
able to switch security context. The application uses sockets, so they
inherit the security context from the application.
To allow the application to switch security context (domain) I will add a
transition rule in the list of selinux policies.

However, I also want the application to be able to relabel the socket with
the new security context. So far I have not found a direct way to do it so
I am planning to modify the sys_setsockopt function in the socket file and
other functions related to that one. I was wondering if there is a direct
way to do it, instead of having to modify the kernel.

Thanks,
Sandra


--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux