James Carlson wrote:

Paul Durrant writes:
These aren't just Zones issues, though.  Similar design issues can
affect DR.
As a matter of interest, how do you strip a cred_t?

Something like this:

        if (mp->b_datap->db_ref == 1 &&
            (cr = mp->b_datap->db_credp) != NULL) {
                mp->b_datap->db_credp = NULL;
                crfree(cr);
        }

db_credp is not part of the DDI, though, so unless you're integrating
into ON, you're treading on thin ice.

Really, the action here is upon the Solaris networking community to:
1) make db_credp or equivalent functionality part of the DDI;
2) make crfree or equivalent functionality part of the DDI;
3) investigate what other things should be in the DDI that are related.

Paul, it might not be a bad idea if you came up with a shopping list
of goodies that you need for required functionality so that the
community can then discuss how we can meet those requirements.

Darren

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to