forked from johnjohnsp1/capsule8
-
Notifications
You must be signed in to change notification settings - Fork 1
/
consts.go
53 lines (49 loc) · 2.65 KB
/
consts.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Code generated automatically. DO NOT EDIT.
// It isn't really, but the above line causes golint to not check this file.
// This file contains Linux kernel constants that do not conform to Go's
// usual naming conventions. It may at some point in the future become
// automatically generated.
// Copyright 2017 Capsule8, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package sensor
const (
_ uint = 0
/*
* cloning flags:
*/
CSIGNAL = 0x000000ff /* signal mask to be sent at exit */
CLONE_VM = 0x00000100 /* set if VM shared between processes */
CLONE_FS = 0x00000200 /* set if fs info shared between processes */
CLONE_FILES = 0x00000400 /* set if open files shared between processes */
CLONE_SIGHAND = 0x00000800 /* set if signal handlers and blocked signals shared */
CLONE_PTRACE = 0x00002000 /* set if we want to let tracing continue on the child too */
CLONE_VFORK = 0x00004000 /* set if the parent wants the child to wake it up on mm_release */
CLONE_PARENT = 0x00008000 /* set if we want to have the same parent as the cloner */
CLONE_THREAD = 0x00010000 /* Same thread group? */
CLONE_NEWNS = 0x00020000 /* New mount namespace group */
CLONE_SYSVSEM = 0x00040000 /* share system V SEM_UNDO semantics */
CLONE_SETTLS = 0x00080000 /* create a new TLS for the child */
CLONE_PARENT_SETTID = 0x00100000 /* set the TID in the parent */
CLONE_CHILD_CLEARTID = 0x00200000 /* clear the TID in the child */
CLONE_DETACHED = 0x00400000 /* Unused, ignored */
CLONE_UNTRACED = 0x00800000 /* set if the tracing process can't force CLONE_PTRACE on this clone */
CLONE_CHILD_SETTID = 0x01000000 /* set the TID in the child */
CLONE_NEWCGROUP = 0x02000000 /* New cgroup namespace */
CLONE_NEWUTS = 0x04000000 /* New utsname namespace */
CLONE_NEWIPC = 0x08000000 /* New ipc namespace */
CLONE_NEWUSER = 0x10000000 /* New user namespace */
CLONE_NEWPID = 0x20000000 /* New pid namespace */
CLONE_NEWNET = 0x40000000 /* New network namespace */
CLONE_IO = 0x80000000 /* Clone io context */
)