[BACK]Return to privsep-root.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / external / bsd / dhcpcd / dist / src

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/external/bsd/dhcpcd/dist/src/privsep-root.c between version 1.1.1.1 and 1.1.1.2

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;
 }  }

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

CVSweb <webmaster@jp.NetBSD.org>