mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Added a slot in the swap-dev-table for NFS-diskless to abuse.
This commit is contained in:
parent
2ca2c11464
commit
28c94285c2
@ -104,6 +104,7 @@ do_swap(fl)
|
||||
swap->f_swapsize, swap->f_fn);
|
||||
swap = swap->f_next;
|
||||
} while (swap && swap->f_type == SWAPSPEC);
|
||||
fprintf(fp, "\t{ NODEV, 0, 0 },\t/* for NFS diskless */\n");
|
||||
fprintf(fp, "\t{ NODEV, 0, 0 }\n");
|
||||
fprintf(fp, "};\n");
|
||||
fclose(fp);
|
||||
|
Loading…
Reference in New Issue
Block a user