From: tmiller@tresys.com
To: selinux@tycho.nsa.gov
Subject: [patch 0/4] libsemanage: genhomedircon replacement
Date: Wed, 15 Aug 2007 16:44:11 -0400 [thread overview]
Message-ID: <20070815204411.705994826@tresys.com> (raw)
This replaces genhomedircon with equivalent functionality in libsemanage. The
homedir_template is also no longer installed, this leaves some unused path
functions in libselinux but removing those would break the ABI.
This does the same things that genhomedircon did though some seemed strange,
like removing /sbin/nologin from the list of valid shells, presumably to keep
ftp users and such from getting file contexts generated for them, I'm not sure
how valid the assumption is but we didn't want to change the functionality of
genhomedircon in this patch set.
This patch also generalizes some functionality of genhomedircon so that it can
be extended in the future (ex: for policy server user contexts)
The first patch does some cleanup to make way for the new genhomedircon.
The second patch adds genhomedircon.c and utilities.c to libsemanage. It calls
the code in genhomedircon.c from semanage_store.c and removes the prior call
to genhomedircon. This version uses libustr for string manipulations, which
creates an external dependency available in the development yum repository.
There is, however, an option to embed the ustr code directly into the library
and eliminate the runtime dependency.
The third patch is a set of tests for the new functions in utilities.c.
The final patch removes the old genhomedircon script.
Signed-Off-By: Todd Miller <tmiller@tresys.com>
--
--
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.
next reply other threads:[~2007-08-15 14:33 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-15 20:44 tmiller [this message]
2007-08-15 15:10 ` [patch 0/4] libsemanage: genhomedircon replacement Karl MacMillan
2007-08-15 15:29 ` Joshua Brindle
2007-08-15 15:47 ` Karl MacMillan
2007-08-15 15:57 ` Joshua Brindle
2007-08-15 17:22 ` Stephen Smalley
2007-08-15 17:37 ` Joshua Brindle
2007-08-15 19:21 ` Karl MacMillan
2007-08-15 19:16 ` Karl MacMillan
2007-08-15 19:56 ` Stephen Smalley
2007-08-15 20:17 ` Karl MacMillan
2007-08-15 20:31 ` Stephen Smalley
2007-08-15 20:41 ` Karl MacMillan
2007-08-15 20:47 ` Joshua Brindle
2007-08-15 21:09 ` Karl MacMillan
2007-08-15 21:12 ` Joshua Brindle
2007-08-15 21:40 ` Joshua Brindle
2007-08-17 13:33 ` Karl MacMillan
2007-08-16 16:01 ` Stephen Smalley
2007-08-17 13:31 ` Karl MacMillan
2007-08-17 18:20 ` Joshua Brindle
2007-08-27 17:50 ` Daniel J Walsh
2007-08-28 14:21 ` Joshua Brindle
2007-08-28 14:30 ` Stephen Smalley
2007-08-28 14:46 ` Karl MacMillan
2007-08-28 16:37 ` Daniel J Walsh
2007-09-06 18:51 ` Stephen Smalley
2007-09-06 18:56 ` Karl MacMillan
2007-09-06 20:33 ` Daniel J Walsh
2007-09-07 13:48 ` Karl MacMillan
2007-08-15 20:44 ` Joshua Brindle
2007-08-15 20:44 ` [patch 1/4] libsemanage: genhomedircon initial cleanup tmiller
2007-08-15 20:44 ` [patch 2/4] libsemanage: genhomedircon replacement tmiller
2007-08-16 19:31 ` Stephen Smalley
2007-08-15 20:44 ` [patch 3/4] libsemanage: test functions tmiller
2007-08-15 20:44 ` [patch 4/4] libsemanage: remove genhomedircon python script tmiller
-- strict thread matches above, loose matches on Subject: below --
2007-09-06 19:16 [patch 0/4] libsemanage: genhomedircon replacement Todd C. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070815204411.705994826@tresys.com \
--to=tmiller@tresys.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.