blob: da6d1152bff16a75605a6a729ead3ab9b7b1a3b7 [file] [log] [blame]
Elly Jonescd7a9042011-07-22 13:56:51 -04001/* libminijail-private.h
2 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 *
6 * Values shared between libminijailpreload and libminijail, but not visible to
7 * the outside world.
8 */
9
10#ifndef LIBMINIJAIL_PRIVATE_H
11#define LIBMINIJAIL_PRIVATE_H
12
Will Drewry2f54b6a2011-09-16 13:45:31 -050013static const char *kFdEnvVar = "__MINIJAIL_FD";
Ben Chan541c7e52011-08-26 14:55:53 -070014static const char *kLdPreloadEnvVar = "LD_PRELOAD";
Elly Jonescd7a9042011-07-22 13:56:51 -040015
Will Drewry32ac9f52011-08-18 21:36:27 -050016#define MINIJAIL_MAX_SECCOMP_FILTER_LINE 512
Will Drewry2f54b6a2011-09-16 13:45:31 -050017#define MINIJAIL_MAX_ARG_LINE (MINIJAIL_MAX_SECCOMP_FILTER_LINE + 64)
Will Drewry32ac9f52011-08-18 21:36:27 -050018
Elly Jonescd7a9042011-07-22 13:56:51 -040019#endif /* !LIBMINIJAIL_PRIVATE_H */