Lines Matching refs:zoneid

79  * Execute an operation on filename relative to zoneid's zone root.  If the
88 netcfg_zfop(const char *filename, zoneid_t zoneid, zfcb_t *zfcb,
98 if (zoneid != GLOBAL_ZONEID) {
138 if (zone_enter(zoneid) == -1)
158 zfarg.zfarg_inglobalzone = (zoneid == GLOBAL_ZONEID || childpid != 0);
159 zfarg.zfarg_finglobalzone = (zoneid == GLOBAL_ZONEID);
170 * This is used in for open(), rename() and unlink() relative to the zoneid
331 netcfg_zopen_impl(const char *filename, zoneid_t zoneid, zfcb_t cb,
337 if (zoneid != GLOBAL_ZONEID && pipe(p) == -1)
341 err = netcfg_zfop(filename, zoneid, cb, zfoparg);
342 if (zoneid != GLOBAL_ZONEID) {
350 * Same as open(2), except that it opens the file relative to zoneid's zone
354 netcfg_zopen(const char *filename, int oflag, mode_t mode, zoneid_t zoneid,
362 *err = netcfg_zopen_impl(filename, zoneid, netcfg_zopen_cb, &zfoparg);
367 * Same as fopen(3C), except that it opens the file relative to zoneid's zone
371 netcfg_zfopen(const char *filename, const char *modestr, zoneid_t zoneid,
378 *err = netcfg_zopen_impl(filename, zoneid, netcfg_zopen_cb, &zfoparg);
391 * Same as rename(2), except that old and new are relative to zoneid's zone
395 netcfg_zrename(const char *old, const char *new, zoneid_t zoneid)
400 return (netcfg_zfop(old, zoneid, netcfg_zrename_cb, &zfoparg));
404 * Same as unlink(2), except that filename is relative to zoneid's zone root.
407 netcfg_zunlink(const char *filename, zoneid_t zoneid)
409 return (netcfg_zfop(filename, zoneid, netcfg_zunlink_cb, NULL));