From: Ivan Gyurdiev <ivg2@cornell.edu>
To: Ivan Gyurdiev <ivg2@cornell.edu>
Cc: selinux@tycho.nsa.gov, Stephen Smalley <sds@tycho.nsa.gov>
Subject: Re: [ SEMANAGE ] Remove unused relay functions
Date: Thu, 20 Oct 2005 17:35:55 -0400 [thread overview]
Message-ID: <43580DBB.2010207@cornell.edu> (raw)
In-Reply-To: <43580ADB.1060003@cornell.edu>
> What I don't like very much is that accessing the functions directly
> via the dbase interfaces assumes binary compatibility between the
> sepol and semanage record (currently true), while in the previous
> versions I had convert() functions to change between the two. I've put
> a warning - not sure if I'll do anything about it.
Well, the warning was skipped in this patch, but it will be in the next one:
switch (arg->mode) {
/* WARNING:
* This assumes binary compatibility between
* the source and target key/record type. This is currently
* true, but may change in the future (?) */
case MODE_SET:
if (dtable->set(handle, dbase, rkey, record) < 0)
goto err;
break;
default:
case MODE_MODIFY:
if (dtable->modify(handle, dbase, rkey, record) < 0)
goto err;
break;
}
--
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 21:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-20 21:23 [ SEMANAGE ] Remove unused relay functions Ivan Gyurdiev
2005-10-20 21:35 ` Ivan Gyurdiev [this message]
2005-10-21 14:10 ` Stephen Smalley
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=43580DBB.2010207@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.