/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_main.c | 71 #include <sys/brand.h> 302 char brand[MAXNAMELEN]; local 308 if (zone_getattr(zoneid, ZONE_ATTR_BRAND, brand, 309 sizeof (brand)) < 0) { 310 ipmgmt_log(LOG_ERR, "Could not get brand name"); 317 if (strcmp(brand, NATIVE_BRAND_NAME) == 0)
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_ngz.c | 48 #include <sys/brand.h> 227 char brand[MAXNAMELEN]; local 229 if (zone_getattr(zoneid, ZONE_ATTR_BRAND, brand, sizeof (brand)) < 0) 231 return (strcmp(brand, NATIVE_BRAND_NAME) != 0);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | brand.h | 46 * 128+ are available for brand-specific commands. 56 * Structure used by zoneadmd to communicate the name of a brand and the 57 * supporting brand module into the kernel. 64 /* What we call the native brand. */ 67 /* What we call the labeled brand. */ 71 * Aux vector containing lddata pointer of brand library linkmap. 72 * Used by common {brand}_librtld_db. 77 * Information needed by the brand library to launch an executable. 133 typedef struct brand { struct 172 * The following functions can be shared among kernel brand module [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | brand.c | 29 #include <sys/brand.h> 39 /* sparcv9 uses system wide brand interposition hooks */ 72 * This lock protects the integrity of the brand list. 84 brand_register(brand_t *brand) argument 88 if (brand == NULL) 91 if (brand->b_version != SUPPORTED_BRAND_VERSION) { 92 if (brand->b_version < SUPPORTED_BRAND_VERSION) { 94 "brand '%s' was built to run on older versions " 96 brand->b_name); 99 "brand ' 153 brand_unregister(brand_t *brand) argument [all...] |
H A D | zone.c | 247 #include <sys/brand.h> 1756 * Helper function to brand the zone with a unique ID. 2490 zone_set_brand(zone_t *zone, const char *brand) argument 2496 if (copyin(brand, attrp, sizeof (struct brand_attr)) != 0) { 2507 * This is the only place where a zone can change it's brand. 2522 /* set up the brand specific data */ 5331 /* free brand specific data */ 5335 /* Say goodbye to brand framework. */
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones.c | 73 * z_is_zone_branded - determine if zone has a non-native brand 74 * z_is_zone_brand_in_list - determine if the zone's brand matches the 75 * brand list passed in. 103 #include <sys/brand.h> 383 * Description: Given a string with a list of brand name delimited by 385 * with the list of brand names and return it to the caller. 387 * brands - const char pointer to string list of brand names 400 zoneBrandList_t *brand = NULL, *head = NULL; local 408 if ((brand = (zoneBrandList_t *) 413 head = brand; [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | cpuid.c | 101 * readable brand string based on the data collected in the first two passes. 316 uint_t cpi_brandid; /* fn 1: %ebx: brand ID */ 2090 * Extract the brand string 2447 * feature brand string (0x80000002, 0x80000003, 0x80000004) 2453 const char *brand = NULL; local 2457 brand = intel_cpubrand(cpi); 2460 brand = amd_cpubrand(cpi); 2463 brand = cyrix_cpubrand(cpi, x86_type); 2467 brand = "NexGen Nx586"; 2473 brand [all...] |
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 121 #include <sys/brand.h> 1093 char brand[MAXNAMELEN]; local 1109 * Get a handle to the brand info for this zone. 1111 * brand device mounts. 1114 (void) strlcpy(brand, default_brand, sizeof (brand)); 1116 (void) strlcpy(brand, brand_name, sizeof (brand)); 1119 if ((bh = brand_open(brand)) == NULL) { 1120 zerror(zlogp, B_FALSE, "unable to determine zone brand"); 1676 char brand[MAXNAMELEN]; local [all...] |
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg.c | 76 #include <sys/brand.h> 175 "brand", 217 "brand", 344 "set brand=", 380 "info brand", 548 /* global brand operations */ 549 static brand_handle_t brand; variable 1445 "brand attribute", zone); 1448 if ((brand = brand_open(brandname)) == NULL) { 1449 zerr("Zone %s uses non-existent brand \" 1852 char brand[MAXNAMELEN]; local 4194 char brand[MAXNAMELEN]; local 4210 pt_to_str(PT_BRAND), brand); local 5020 char brand[MAXNAMELEN]; local 5898 char brand[MAXNAMELEN]; local 6095 char brand[MAXNAMELEN]; local [all...] |
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 42 #include <sys/brand.h> 133 #define DTD_ATTR_BRAND (const xmlChar *) "brand" 986 i_zonecfg_get_brand(zone_dochandle_t handle, char *brand, size_t brandsize, argument 991 ret = getrootattr(handle, DTD_ATTR_BRAND, brand, brandsize); 994 * If the lookup failed, or succeeded in finding a non-null brand 997 if (ret != Z_OK || brand[0] != '\0') 1001 /* If the zone has no brand, it is the default brand. */ 1002 return (zonecfg_default_brand(brand, brandsize)); 1005 /* if SUNWdefault didn't specify a brand, fallbac 1013 zonecfg_get_brand(zone_dochandle_t handle, char *brand, size_t brandsize) argument 1019 zonecfg_set_brand(zone_dochandle_t handle, char *brand) argument 5266 priv_lists_create(zone_dochandle_t handle, char *brand, priv_lists_t **plpp, const char *curr_iptype) argument 5327 zonecfg_default_brand(char *brand, size_t brandsize) argument [all...] |