forked from izaya/LuPPC
mount tmpfs onto /tmp
This commit is contained in:
parent
7544fdc578
commit
2867038094
@ -11,6 +11,7 @@ void lupi_init() {
|
|||||||
if(getpid() == 1) {
|
if(getpid() == 1) {
|
||||||
mount(NULL, "/sys", "sysfs", 0, NULL);
|
mount(NULL, "/sys", "sysfs", 0, NULL);
|
||||||
mount(NULL, "/proc", "procfs", 0, NULL);
|
mount(NULL, "/proc", "procfs", 0, NULL);
|
||||||
|
mount(NULL, "/tmp", "tmpfs", 0, NULL);
|
||||||
}
|
}
|
||||||
struct statvfs fsstat;
|
struct statvfs fsstat;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user