diff options
author | 2016-01-20 10:29:43 -0500 | |
---|---|---|
committer | 2016-01-20 10:29:43 -0500 | |
commit | c01583232fa3344b2f5f874fdc9c17ba8e3c2994 (patch) | |
tree | 9d368fd59b4af72ec8dcbf36b5285a7b56d6647a | |
parent | seamonkey profiles (diff) | |
download | firejail-c01583232fa3344b2f5f874fdc9c17ba8e3c2994.tar.gz firejail-c01583232fa3344b2f5f874fdc9c17ba8e3c2994.tar.zst firejail-c01583232fa3344b2f5f874fdc9c17ba8e3c2994.zip |
build regressions
-rw-r--r-- | src/firejail/firejail.h | 1 | ||||
-rw-r--r-- | src/firejail/network.c | 2 | ||||
-rw-r--r-- | src/firejail/run_symlink.c | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/firejail/firejail.h b/src/firejail/firejail.h index 180454bda..3a7d84996 100644 --- a/src/firejail/firejail.h +++ b/src/firejail/firejail.h | |||
@@ -437,6 +437,7 @@ void check_output(int argc, char **argv); | |||
437 | // netfilter.c | 437 | // netfilter.c |
438 | void check_netfilter_file(const char *fname); | 438 | void check_netfilter_file(const char *fname); |
439 | void netfilter(const char *fname); | 439 | void netfilter(const char *fname); |
440 | void netfilter6(const char *fname); | ||
440 | 441 | ||
441 | // bandwidth.c | 442 | // bandwidth.c |
442 | void shm_create_firejail_dir(void); | 443 | void shm_create_firejail_dir(void); |
diff --git a/src/firejail/network.c b/src/firejail/network.c index 46eeb5c57..aac48e521 100644 --- a/src/firejail/network.c +++ b/src/firejail/network.c | |||
@@ -292,7 +292,7 @@ void net_if_ip6(const char *ifname, const char *addr6) { | |||
292 | char *ptr; | 292 | char *ptr; |
293 | if ((ptr = strchr(addr6, '/'))) { | 293 | if ((ptr = strchr(addr6, '/'))) { |
294 | prefix = atol(ptr + 1); | 294 | prefix = atol(ptr + 1); |
295 | if ((prefix < 0) || (prefix > 128)) { | 295 | if (prefix > 128) { |
296 | fprintf(stderr, "Error: invalid prefix for IPv6 address %s\n", addr6); | 296 | fprintf(stderr, "Error: invalid prefix for IPv6 address %s\n", addr6); |
297 | exit(1); | 297 | exit(1); |
298 | } | 298 | } |
diff --git a/src/firejail/run_symlink.c b/src/firejail/run_symlink.c index 5f8d131ae..1157cdab4 100644 --- a/src/firejail/run_symlink.c +++ b/src/firejail/run_symlink.c | |||
@@ -74,7 +74,7 @@ void run_symlink(int argc, char **argv) { | |||
74 | if (asprintf(&firejail, "%s/bin/firejail", PREFIX) == -1) | 74 | if (asprintf(&firejail, "%s/bin/firejail", PREFIX) == -1) |
75 | errExit("asprintf"); | 75 | errExit("asprintf"); |
76 | 76 | ||
77 | printf("Redirecting symlink to %s\n", firejail, program); | 77 | printf("Redirecting symlink to %s\n", program); |
78 | 78 | ||
79 | // run command | 79 | // run command |
80 | char *a[3 + argc]; | 80 | char *a[3 + argc]; |