Add a version number field to the jail(2) argument so that future changes

can be handled intelligently.

WARNING:  you will need to reinstall #includes and recompile jail(8).
This commit is contained in:
Poul-Henning Kamp 1999-09-19 08:36:37 +00:00
parent 978f8d9300
commit 7248ef86e0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51399

View File

@ -29,6 +29,8 @@ main(int argc, char **argv)
i = chdir(argv[1]);
if (i)
err(1, "chdir %s", argv[1]);
memset(&j, 0, sizeof(j));
j.version = 0;
j.path = argv[1];
j.hostname = argv[2];
i = inet_aton(argv[3], &in);