version 1.1.1.1, 2020/04/02 12:38:55 |
version 1.1.1.2, 2020/04/13 15:42:21 |
Line 188 ps_root_run_script(struct dhcpcd_ctx *ct |
|
Line 188 ps_root_run_script(struct dhcpcd_ctx *ct |
|
if (script_buftoenv(ctx, UNCONST(envbuf), len) == NULL) |
if (script_buftoenv(ctx, UNCONST(envbuf), len) == NULL) |
return -1; |
return -1; |
|
|
pid = script_exec(ctx, argv, ctx->script_env); |
pid = script_exec(argv, ctx->script_env); |
if (pid == -1) |
if (pid == -1) |
return -1; |
return -1; |
/* Wait for the script to finish */ |
/* Wait for the script to finish */ |
Line 435 ps_root_dispatchcb(void *arg, struct ps_ |
|
Line 435 ps_root_dispatchcb(void *arg, struct ps_ |
|
struct dhcpcd_ctx *ctx = arg; |
struct dhcpcd_ctx *ctx = arg; |
ssize_t err; |
ssize_t err; |
|
|
|
#ifdef INET |
err = ps_bpf_dispatch(ctx, psm, msg); |
err = ps_bpf_dispatch(ctx, psm, msg); |
if (err == -1 && errno == ENOTSUP) |
if (err == -1 && errno == ENOTSUP) |
|
#endif |
err = ps_inet_dispatch(ctx, psm, msg); |
err = ps_inet_dispatch(ctx, psm, msg); |
return err; |
return err; |
} |
} |