git: e5be21d19b41 - main - sbin/veriexec: fixed parameter parsing of option -x
Warner Losh
imp at FreeBSD.org
Wed Jun 2 21:37:53 UTC 2021
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=e5be21d19b41e4d42ffea5c7978d7e64a5cec4fc
commit e5be21d19b41e4d42ffea5c7978d7e64a5cec4fc
Author: sebastien.bini <sebastien.bini at stormshield.eu>
AuthorDate: 2020-10-20 14:52:16 +0000
Commit: Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-06-02 21:37:51 +0000
sbin/veriexec: fixed parameter parsing of option -x
The -x parameter doesn't take any arguments. It says that all further
arguments are paths to check.
Reviewed by: imp@
Sponsored by: Netflix
Pull Request: https://github.com/freebsd/freebsd-src/pull/443/files
---
sbin/veriexec/veriexec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/veriexec/veriexec.c b/sbin/veriexec/veriexec.c
index b9299efaad02..c1facbd4a9fa 100644
--- a/sbin/veriexec/veriexec.c
+++ b/sbin/veriexec/veriexec.c
@@ -70,7 +70,7 @@ main(int argc, char *argv[])
dev_fd = open(_PATH_DEV_VERIEXEC, O_WRONLY, 0);
- while ((c = getopt(argc, argv, "C:i:x:vz:")) != -1) {
+ while ((c = getopt(argc, argv, "C:i:xvz:")) != -1) {
switch (c) {
case 'C':
Cdir = optarg;
More information about the dev-commits-src-main
mailing list