Code for handling arguments to sandboxes. More...
#include <sys/mman.h>
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include "libsandbox-internal.h"
Go to the source code of this file.
Macros | |
#define | MAX_ARGC 1024 |
The maximum number of arguments. | |
#define | MAX_ARGLEN 1024 |
The maximum length of any one argument. |
Functions | |
int | argsfd (char **args) |
Convert arguments to a shared memory segment. |
Code for handling arguments to sandboxes.
Definition in file args.c.
#define MAX_ARGC 1024 |
#define MAX_ARGLEN 1024 |
int argsfd | ( | char ** | args | ) |
Convert arguments to a shared memory segment.
Definition at line 52 of file args.c.
References MAX_ARGC, and MAX_ARGLEN.