From: Ivan Gyurdiev <ivg2@cornell.edu>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: selinux@tycho.nsa.gov
Subject: Re: [ SEPOL ] Reorganize users.c
Date: Thu, 20 Oct 2005 16:42:00 -0400 [thread overview]
Message-ID: <43580118.1060909@cornell.edu> (raw)
In-Reply-To: <1129839038.2375.507.camel@moss-spartans.epoch.ncsc.mil>
> I thought delete was going away from sepol, as all local customizations
> outside of policy modules will be add-or-modify or modify-if-exists.
>
Hmm, sure we can get rid of delete...
> For genusers, we processed both system.users (generated from the policy
> users file) and local.users, marking each user in the policydb as
> defined if it had an entry in either of those files, and then (if
> delusers was enabled) purged users that had no definition at all in the
> flat files. Hence, you could remove a user by modifying a flat file.
> However, as that was viewed as too dangerous (risk of losing your
> system_u, user_u, and root entries), it was disabled by default.
>
Where do you set defined = 0 ? Calloc?
What's the benefit of this - should we remove this function (and the
corresponding policydb field)?
(or are you thinking of adding a preserve users flag to load_policy ? )
--
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 prev parent reply other threads:[~2005-10-20 20:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-20 19:54 [ SEPOL ] Reorganize users.c Ivan Gyurdiev
2005-10-20 20:00 ` Ivan Gyurdiev
2005-10-21 14:09 ` Stephen Smalley
2005-10-20 20:10 ` Stephen Smalley
2005-10-20 20:42 ` Ivan Gyurdiev [this message]
2005-10-21 12:24 ` Stephen Smalley
2005-10-21 12:47 ` Ivan Gyurdiev
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=43580118.1060909@cornell.edu \
--to=ivg2@cornell.edu \
--cc=sds@tycho.nsa.gov \
--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.