diff options
author | eh208807 <none@none> | 2007-08-09 16:19:02 -0700 |
---|---|---|
committer | eh208807 <none@none> | 2007-08-09 16:19:02 -0700 |
commit | 6ff14d8c34ba24afb23f87d044c08da8245f3c84 (patch) | |
tree | 64eea16ca0a5cd0e0d4cd170a285bfa50eb4cef6 /usr/src/uts/common/os/zone.c | |
parent | 4a5b2e70a1a587f05589329302db05d4166477dd (diff) | |
download | illumos-joyent-6ff14d8c34ba24afb23f87d044c08da8245f3c84.tar.gz |
6574205 No support for abstract namespace UNIX sockets in lx brand library emulation
6584784 Symbolic links and access control broken in proc emulation for lx zone
6586078 Improved linux distribution support for lx brand
6587018 Per zone brand specific data structure needed
Diffstat (limited to 'usr/src/uts/common/os/zone.c')
-rw-r--r-- | usr/src/uts/common/os/zone.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/src/uts/common/os/zone.c b/usr/src/uts/common/os/zone.c index 2468192505..c89945e756 100644 --- a/usr/src/uts/common/os/zone.c +++ b/usr/src/uts/common/os/zone.c @@ -1728,7 +1728,10 @@ zone_set_brand(zone_t *zone, const char *brand) return (EPERM); } + /* set up the brand specific data */ zone->zone_brand = bp; + ZBROP(zone)->b_init_brand_data(zone); + mutex_exit(&zone_status_lock); return (0); } @@ -3999,6 +4002,10 @@ zone_destroy(zoneid_t zoneid) /* Get rid of the zone's kstats */ zone_kstat_delete(zone); + /* free brand specific data */ + if (ZONE_IS_BRANDED(zone)) + ZBROP(zone)->b_free_brand_data(zone); + /* Say goodbye to brand framework. */ brand_unregister_zone(zone->zone_brand); |