diff options
author | Dylan Reid <dgreid@chromium.org> | 2015-10-30 12:47:36 -0700 |
---|---|---|
committer | Dylan Reid <dgreid@google.com> | 2015-10-30 12:58:34 -0700 |
commit | 6c7a45812a3fbd590a85bcc7fea84c614a851288 (patch) | |
tree | 027bb3afb5e8a5c83dc12698c5dd2225d51da76a | |
parent | a14e08dad428aaa934687e3636a84ca7a9711de2 (diff) | |
download | minijail-6c7a45812a3fbd590a85bcc7fea84c614a851288.tar.gz |
minijail: Remove has_bind_mounts API
This was added for minijail0 and minijail0 no longer uses it. It hasn't
had any users added in the week or so it's been merged, remove it.
Change-Id: I1893b47fa2bd543718c98bb3bfcf23ed67566a01
Signed-off-by: Dylan Reid <dgreid@chromium.org>
-rw-r--r-- | libminijail.c | 5 | ||||
-rw-r--r-- | libminijail.h | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/libminijail.c b/libminijail.c index 47b4b3f..e2af56a 100644 --- a/libminijail.c +++ b/libminijail.c @@ -499,11 +499,6 @@ error: return -ENOMEM; } -int API minijail_has_bind_mounts(const struct minijail *j) -{ - return j->bindings_head != NULL; -} - void API minijail_parse_seccomp_filters(struct minijail *j, const char *path) { if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, NULL)) { diff --git a/libminijail.h b/libminijail.h index bfce714..7e52a1e 100644 --- a/libminijail.h +++ b/libminijail.h @@ -107,11 +107,6 @@ void minijail_mount_tmp(struct minijail *j); int minijail_bind(struct minijail *j, const char *src, const char *dest, int writeable); -/* minijail_has_bind_mounts: Checks if there are any bind mounts configured. - * @j minijail to check - */ -int minijail_has_bind_mounts(const struct minijail *j); - /* Lock this process into the given minijail. Note that this procedure cannot fail, * since there is no way to undo privilege-dropping; therefore, if any part of * the privilege-drop fails, minijail_enter() will abort the entire process. |