From: Daniel J Walsh <dwalsh@redhat.com>
To: Joshua Brindle <jbrindle@tresys.com>
Cc: Colin Walters <walters@verbum.org>, selinux@tycho.nsa.gov
Subject: Re: Red Hat's passwd
Date: Fri, 05 Aug 2005 14:38:45 -0400 [thread overview]
Message-ID: <42F3B235.3080701@redhat.com> (raw)
In-Reply-To: <42F3ACF2.9050905@tresys.com>
Joshua Brindle wrote:
> Colin Walters wrote:
>
>> On Fri, 2005-08-05 at 12:14 -0400, Joshua Brindle wrote:
>>
>>
>>> The attached patch removes the selinux code from Red Hat's passwd.c
>>> and uses the libselinux function checkPasswdAccess.
>>
>>
>> This reminds me...there was some griping from people maintaining modules
>> which use libselinux about the name "checkPasswdAccess" in a shared
>> library targeted for wide use; could we get some namespacing here? This
>> is a good thing for preventing symbol collisions and also for aesthetic
>> and consistency reasons. Perhaps avc_check_passwd_permission or
>> security_check_passwd_permission or something?
>>
>>
>>
> yea, thats a bad name, and it has caps!@
>
>> Renaming the function would be an API/ABI break, but it doesn't seem
>> like a function that could be applicable for more than a few programs at
>> most.
>>
>>
> yea, the problem is really upstreaming the change in whatever packages
> use it (shadow, and hopefully RH passwd)
> and some of Red Hats patches for things like vixie cron will also need
> to be fixed.
>
> Personally I'd rather not deal with a major version change needed for
> an api change. Granted it shouldn't be named that but it isn't crucial
> to fix it. We probably need to be more careful about what functions
> are exported in the future.
>
> Also, util-linux needs to be patched to use checkPasswdAccess (or
> whatever) rather than internally (which looks surprisingly similar to
> checkPasswdAccess) and there are probably more apps I'm missing.
>
Lets add Colins' name and then just leave checkPasswdAccess to call it.
Then remove any reference to the function.
>
>
>
> --
> 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.
--
--
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-08-05 18:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-05 16:14 Red Hat's passwd Joshua Brindle
2005-08-05 17:12 ` Colin Walters
2005-08-05 18:16 ` Joshua Brindle
2005-08-05 18:38 ` Colin Walters
2005-08-05 18:38 ` Daniel J Walsh [this message]
2005-08-05 19:07 ` Joshua Brindle
2005-08-05 19:21 ` Colin Walters
2005-08-05 19:26 ` Joshua Brindle
2005-08-11 15:00 ` Stephen Smalley
2005-08-11 15:52 ` Joshua Brindle
2005-08-13 10:23 ` Daniel J Walsh
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=42F3B235.3080701@redhat.com \
--to=dwalsh@redhat.com \
--cc=jbrindle@tresys.com \
--cc=selinux@tycho.nsa.gov \
--cc=walters@verbum.org \
/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.