Browse Source

update constraint-disabled.c according to c8ed30f0cf , should fix #29 and #31

OPENBSD_6_1
multisnow 8 years ago
parent
commit
82143ad047
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      src/constraint-disabled.c

+ 7
- 2
src/constraint-disabled.c View File

@ -32,6 +32,11 @@ constraint_query(struct constraint *cstr)
return (-1);
}
void
priv_constraint_child(const char *pw_dir, uid_t pw_uid, gid_t pw_gid)
{
}
void
priv_constraint_check_child(pid_t pid, int status)
{
@ -43,8 +48,8 @@ priv_constraint_kill(u_int32_t id)
}
void
priv_constraint_msg(u_int32_t id, u_int8_t *data, size_t len,
const char *pw_dir, uid_t pw_uid, gid_t pw_gid)
priv_constraint_msg(u_int32_t id, u_int8_t *data, size_t len, int argc,
char **argv)
{
}


Loading…
Cancel
Save