All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] libselinux: labeling API for userspace object managers (try 2)
@ 2006-11-30  3:47 Eamon Walsh
  2006-11-30  4:05 ` [PATCH 1/5] libselinux: labeling API basic front-end interface Eamon Walsh
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Eamon Walsh @ 2006-11-30  3:47 UTC (permalink / raw)
  To: selinux

This is a companion interface to the userspace AVC, for use by userspace
object managers to look up contexts for use in labeling their objects.
It also provides an alternate interface to the file contexts
configuration.

In this iteration, the interface has been changed to return handles to
the user.  This should clear up confusion regarding the "prefix" string
(now "name") which is now passed together with the security class to the
label_open() function that creates the handle.

Also added is the av_perm to string call requested by KaiGai Kohei.
There are two functions, security_av_perm_to_string() which does a
single bit, and security_av_string() which duplicates
print_access_vector() except returns the result in a malloc'ed buffer.

Patch 1: basic interface
Patch 2: basic implementation
Patch 3: string functions
Patch 4: simple, generic backend
Patch 5: file contexts backend

Comments welcome!

-- 
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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-12-06 17:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-30  3:47 [PATCH 0/5] libselinux: labeling API for userspace object managers (try 2) Eamon Walsh
2006-11-30  4:05 ` [PATCH 1/5] libselinux: labeling API basic front-end interface Eamon Walsh
2006-12-06 17:15   ` Karl MacMillan
2006-11-30  4:08 ` [PATCH 2/5] libselinux: labeling API basic front-end implementation Eamon Walsh
2006-11-30  4:15 ` [PATCH 3/5] libselinux: class and av_perm to string functions Eamon Walsh
2006-11-30  4:19 ` [PATCH 4/5] libselinux: labeling API simple backend Eamon Walsh
2006-11-30  4:22 ` [PATCH 5/5] libselinux: labeling API file_contexts backend Eamon Walsh
2006-11-30 21:18 ` [PATCH] labeling API examples: setfiles patch and simple program Eamon Walsh
2006-12-01  2:46 ` [PATCH 0/5] libselinux: labeling API for userspace object managers (try 2) Joshua Brindle
2006-12-01 17:04   ` Karl MacMillan
2006-12-01 21:24     ` Eamon Walsh
2006-12-02  3:36       ` Joshua Brindle

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.