All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell Coker <rcoker@redhat.com>
To: SE Linux <selinux@tycho.nsa.gov>
Cc: Stephen Smalley <sds@epoch.ncsc.mil>
Subject: Makefile and /etc/passwd
Date: Thu, 8 Jul 2004 13:22:45 +1000	[thread overview]
Message-ID: <200407081322.45107.rcoker@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

The attached patch will cause the file_contexts file to be outdated by every 
change to /etc/passwd.  This allows adding new users who were in the policy 
but not /etc/passwd previously, and also dealing with a change of location 
for the home directory.

-- 
http://apac.redhat.com/disclaimer
See above URL for disclaimer.

[-- Attachment #2: diff --]
[-- Type: text/x-diff, Size: 557 bytes --]

diff -ru /usr/src/se/policy/Makefile ./Makefile
--- /usr/src/se/policy/Makefile	2004-06-30 13:03:10.000000000 +1000
+++ ./Makefile	2004-07-06 13:35:59.000000000 +1000
@@ -139,7 +139,7 @@
 	@mkdir -p $(CONTEXTPATH)/files
 	install -m 644 $(FC) $(FCPATH)
 
-$(FC): $(FCFILES) domains/program domains/misc file_contexts/program file_contexts/misc users
+$(FC): $(FCFILES) domains/program domains/misc file_contexts/program file_contexts/misc users /etc/passwd
 	@echo "Building file_contexts ..."
 	@m4 $(FCFILES) > $@.tmp
 	@grep -v "^/root" $@.tmp > $@.root

                 reply	other threads:[~2004-07-08  3:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200407081322.45107.rcoker@redhat.com \
    --to=rcoker@redhat.com \
    --cc=sds@epoch.ncsc.mil \
    --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.