freebsd-dev/sbin/bectl
Kyle Evans 4c5d19fda4 bectl(8): Check jailparam_* return values
Previous iteration of this assumed that these won't fail because we've
already setup the jail param to this point, but the allocations could still
fail in pretty bad conditions.

Admit that it's possible and return (ENOENT, EINVAL, ENOMEM, or 0) when
deleting arguments. EINVAL shouldn't happen since we're passing optarg;
which may satisfy *optarg == '\0' but never optarg == NULL.

CID:		1394885, 1394901
2018-08-14 18:35:33 +00:00
..
bectl_jail.c bectl(8): Check jailparam_* return values 2018-08-14 18:35:33 +00:00
bectl_list.c bectl(8): Use strcmp, rather than trying to directly compare 2018-08-12 00:09:52 +00:00
bectl.8 libbe(3): Fix be_import to delete temp snapshot 2018-08-13 03:42:14 +00:00
bectl.c bectl(8): Rename "index" variable, which shadows a global in some lands 2018-08-12 00:00:13 +00:00
bectl.h bectl(8): Split list functionality out into its own file as well 2018-08-06 03:41:52 +00:00
Makefile libbe(3)/bectl(8): Remove now-redundant include paths 2018-08-13 05:01:19 +00:00