All of lore.kernel.org
 help / color / mirror / Atom feed
* sepol_genusers
@ 2005-02-17 16:03 Stephen Smalley
  2005-02-17 23:54 ` sepol_genusers Daniel J Walsh
  0 siblings, 1 reply; 9+ messages in thread
From: Stephen Smalley @ 2005-02-17 16:03 UTC (permalink / raw)
  To: selinux; +Cc: Daniel J Walsh, Karl MacMillan

As per the earlier discussions of improving user management, the
genpolusers logic has been moved into a libsepol function,
sepol_genusers(), that can act on an in-memory binary policy image prior
to loading.  The genpolusers utility is now a trivial utility in
libsepol rather than part of the checkpolicy package.  A
selinux_users_path() function has been added to libselinux to allow
programs to get the path to the directory
(/etc/selinux/$SELINUXTYPE/users/) containing the runtime user
configuration files (system.users, local.users) so that they can pass
this path to sepol_genusers().  load_policy has been modified to call
sepol_genusers() prior to policy load in a similar manner to how it
already calls sepol_genbools().  /sbin/init still needs to be modified
in the same manner.

These changes are included in libsepol >= 1.3.5, checkpolicy >= 1.21.4,
libselinux >= 1.21.10, and policycoreutils >= 1.21.16.  Note that the
new load_policy depends on the new libselinux and libsepol for the
selinux_users_path() and sepol_genusers() functions.

-- 
Stephen Smalley <sds@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] 9+ messages in thread

end of thread, other threads:[~2005-02-18 14:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-17 16:03 sepol_genusers Stephen Smalley
2005-02-17 23:54 ` sepol_genusers Daniel J Walsh
2005-02-18  2:53   ` sepol_genusers Karl MacMillan
2005-02-18 13:36     ` sepol_genusers Stephen Smalley
2005-02-18 14:00       ` sepol_genusers Karl MacMillan
2005-02-18 14:08         ` sepol_genusers Stephen Smalley
2005-02-18 14:41           ` sepol_genusers Karl MacMillan
2005-02-18 13:43   ` sepol_genusers Stephen Smalley
2005-02-18 14:28     ` sepol_genusers Stephen Smalley

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.