Security Enhanced Linux
What's New
Frequently Asked Questions
Background
Documents
License
Download
Participating
Mail List
Archives
Remaining Work
Contributors
Related Work
Press Releases
Information Assurance Research
NIARL In-house Research Areas
Mathematical Sciences Program
Sabbaticals
Computer & Information Sciences Research
Technology Transfer
Advanced Computing
Advanced Mathematics
Communications & Networking
Information Processing
Microelectronics
Other Technologies
Technology Fact Sheets
Publications
Related Links
|
SELinux Mailing ListRe: object class discovery userland
From: Eamon Walsh <ewalsh_at_tycho.nsa.gov>
Date: Wed, 30 May 2007 16:01:36 -0400
I think that because of the heavy customization in the Postgres AVC implementation it is best kept outside-of-tree at the current time. There are other applications that use process pools such as Apache and if these become hosts to object managers then it may be useful to provide a shared memory option in the libselinux version. The solution would involve a flag to the init function, some method of providing the shared memory segment to attach to, and special functionality for the "manager" process that will listen on netlink. However, the Postgres implementation is not fully "shared memory" based. The SID-to-context mapping is kept in a "pg_selinux" database table which is not stored in shared memory but rather is mapped from disk (correct me if I'm wrong). In the previous thread, the possibility of providing callbacks for doing the SID-to-context mapping was discussed. However IMO if this part of the library has to be outsourced to the application then the application might as well do the entire AVC. -- Eamon Walsh <ewalsh@tycho.nsa.gov> 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.Received on Wed 30 May 2007 - 16:01:40 EDT |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |