182
184
syslog(LOG_NOTICE, "created mountpoint %s\n", jailpath);
186
188
mountdata = die_if_null(malloc(3 + strlen(jailsrc) + 4 + strlen(jail_system) + 3 + 1));
187
189
sprintf(mountdata, "br:%s=rw:%s=ro", jailsrc, jail_system);
188
190
if (mount("none", jailpath, "aufs", 0, mountdata))