Conservative SmartOS global-zone memory pressure guard with dry-run-first policy and SMF integration.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 line
291 B

  1. /* TEST ONLY: declaration sketch. */
  2. #include <sys/types.h>
  3. typedef int zoneid_t;
  4. #define GLOBAL_ZONEID 0
  5. #define ZONE_ATTR_UNIQID 5
  6. #define ZONE_ATTR_INITPID 7
  7. zoneid_t getzoneid(void);
  8. ssize_t getzonenamebyid(zoneid_t, char *, size_t);
  9. ssize_t zone_getattr(zoneid_t, int, void *, size_t);