setrans client support in libselinux
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Daniel J Walsh
I am looking to remove libsetrans altogether and put the
setrans_clientinto libselinux and then create a mcstrans package which would just me the mcs translation daemon.This patch includes the last patch on libselinux.
These packages will need to be added/updated simultaneously.
Merged. This moves the client-side support for a translation daemon directly into libselinux, eliminating the use of a separate libsetrans. However, we need to think about how to optimize to avoid the socket/connect/close overhead on every libselinux function, particularly when no daemon is present at all. I experimented briefly with creating and connecting a socket during library initialization and re-using it for subsequent calls, with code to recreate it if the connection was reset, but this didn't seem to work well with sshd; likely it is closing descriptors during setup of the unprivileged child process for privilege separation, and the descriptor is being reused for some other purpose.
Signature · 8 lines
Stephen Smalley 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.