Lines Matching defs:filename
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,
160 zfarg.zfarg_filename = filename;
204 const char *filename = zfarg->zfarg_filename;
241 if (stat(filename, &statbuf) == -1) {
251 fd = open(filename, oflags, mode);
259 if (chown(filename, UID_NETCFG, GID_NETADM) == -1) {
331 netcfg_zopen_impl(const char *filename, zoneid_t zoneid, zfcb_t cb,
341 err = netcfg_zfop(filename, zoneid, cb, zfoparg);
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);
371 netcfg_zfopen(const char *filename, const char *modestr, zoneid_t zoneid,
378 *err = netcfg_zopen_impl(filename, zoneid, netcfg_zopen_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));