Actions
Bug #6788
openno manual for zone_list(2) syscall
Status:
New
Priority:
Normal
Assignee:
-
Category:
manpage - manual pages
Start date:
2016-03-24
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
a quote from zoneadm.c:601
/*
* fetch_zents() calls zone_list(2) to find out how many zones are running
* (which is stored in the global nzents), then calls zone_list(2) again
* to fetch the list of running zones (stored in the global zents). This
* function may be called multiple times, so if zents is already set, we
* return immediately to save work.
but no manual page for system call zone_list
also, many other functions to use zones have no descriptions
Updated by Robert Mustacchi over 6 years ago
That's because those system calls are not public interfaces and are a private implementation detail of the system.
Updated by Denis Kozadaev over 6 years ago
It's time to create a public API to manipulate zones programmatically, don't you think so?
like jail(2) in FreeBSD
thanks anyway
Actions