138 */
139 extern zoneid_t vplat_create(zlog_t *, zone_mnt_t);
140 extern int vplat_bringup(zlog_t *, zone_mnt_t, zoneid_t);
141 extern int vplat_teardown(zlog_t *, boolean_t, boolean_t);
142 extern int vplat_get_iptype(zlog_t *, zone_iptype_t *);
143
144 /*
145 * Filesystem mounting interfaces.
146 */
147 extern int valid_mount_path(zlog_t *, const char *, const char *,
148 const char *, const char *);
149 extern int make_one_dir(zlog_t *, const char *, const char *,
150 mode_t, uid_t, gid_t);
151 extern void resolve_lofs(zlog_t *zlogp, char *path, size_t pathlen);
152
153 /*
154 * Console subsystem routines.
155 */
156 extern int init_console(zlog_t *);
157 extern void serve_console(zlog_t *);
158
159 /*
160 * Memory capping thread creation.
161 */
162 extern void create_mcap_thread(zlog_t *, zoneid_t);
163 extern void destroy_mcap_thread();
164
165 /*
166 * Zone FD log thread creation.
167 */
168 extern void create_log_thread(zlog_t *, zoneid_t);
169 extern void destroy_log_thread();
170
171 /*
172 * Contract handling.
173 */
174 extern int init_template(void);
175
176 /*
177 * Routine to manage child processes.
|
138 */
139 extern zoneid_t vplat_create(zlog_t *, zone_mnt_t);
140 extern int vplat_bringup(zlog_t *, zone_mnt_t, zoneid_t);
141 extern int vplat_teardown(zlog_t *, boolean_t, boolean_t);
142 extern int vplat_get_iptype(zlog_t *, zone_iptype_t *);
143
144 /*
145 * Filesystem mounting interfaces.
146 */
147 extern int valid_mount_path(zlog_t *, const char *, const char *,
148 const char *, const char *);
149 extern int make_one_dir(zlog_t *, const char *, const char *,
150 mode_t, uid_t, gid_t);
151 extern void resolve_lofs(zlog_t *zlogp, char *path, size_t pathlen);
152
153 /*
154 * Console subsystem routines.
155 */
156 extern int init_console(zlog_t *);
157 extern void serve_console(zlog_t *);
158 extern void zcons_statechanged();
159
160 /*
161 * Memory capping thread creation.
162 */
163 extern void create_mcap_thread(zlog_t *, zoneid_t);
164 extern void destroy_mcap_thread();
165
166 /*
167 * Zone FD log thread creation.
168 */
169 extern void create_log_thread(zlog_t *, zoneid_t);
170 extern void destroy_log_thread();
171
172 /*
173 * Contract handling.
174 */
175 extern int init_template(void);
176
177 /*
178 * Routine to manage child processes.
|