2 * Copyright 2003-2007, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
5 * Copyright 2002, Manuel J. Petit. All rights reserved.
6 * Distributed under the terms of the NewOS License.
8 #ifndef KERNEL_USER_RUNTIME_H_
9 #define KERNEL_USER_RUNTIME_H_
16 #define MAGIC_APP_NAME "_APP_"
18 #define MAX_PROCESS_ARGS_SIZE (128 * 1024)
19 // maximal total size needed for process arguments and environment strings
22 struct user_space_program_args
{
23 char program_name
[B_OS_NAME_LENGTH
];
24 char program_path
[B_PATH_NAME_LENGTH
];
31 mode_t umask
; // (mode_t)-1 means not set
34 #endif /* KERNEL_USER_RUNTIME_H_ */