cannot freebsd jail by c

2016-05-21 Thread 梅凱
This is my part c code: 11 int main() 12 { 13 in_addr_t addr_t=inet_addr("192.168.2.1"); 14 15 struct in_addr in_addr=inet_makeaddr(addr_t,AF_INET); 16 17 18 struct jail j={ 19 .version=JAIL_API_VERSION, 20 .path="./jail_test", 21 .hostname="m

Re: cannot freebsd jail by c

2016-05-21 Thread James Gritton
On 2016-05-21 08:52, 梅凱 wrote: This is my part c code: 11 int main() 12 { 13 in_addr_t addr_t=inet_addr("192.168.2.1"); 14 15 struct in_addr in_addr=inet_makeaddr(addr_t,AF_INET); 16 17 18 struct jail j={ 19 .version=JAIL_API_VERSION, 20 .path="./jail_test", 21

Re: cannot freebsd jail by c

2016-05-21 Thread 梅凱
___ freebsd-jail@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"