Editing
Capabilities and Flags
(section)
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Context flags (cflags) === The set of available context flags is specific to Linux-VServer and applied to all processes contained within a context. Below is a list of flags available in 2.1.1 and above. {| class="wikitable_list" ! Bit ! Mask ! Name ! Tag ! Description |- | style="text-align: right" | 0 | style="font-family: monospace" | 0x00000001 | INFO_LOCK | L | Prohibit further context migration |- | style="text-align: right" | 1 | style="font-family: monospace" | 0x00000002 | INFO_SCHED | L | Account all processes as one |- | style="text-align: right" | 2 | style="font-family: monospace" | 0x00000004 | INFO_NPROC | L | Apply process limits to context |- | style="text-align: right" | 3 | style="font-family: monospace" | 0x00000008 | INFO_PRIVATE | L | Context cannot be entered |- | style="text-align: right" | 4 | style="font-family: monospace" | 0x00000010 | INFO_INIT | X | Show a fake init process |- | style="text-align: right" | 5 | style="font-family: monospace" | 0x00000020 | INFO_HIDE | X | Hide context information in task status |- | style="text-align: right" | 6 | style="font-family: monospace" | 0x00000040 | INFO_ULIMIT | L | Apply ulimits to context |- | style="text-align: right" | 7 | style="font-family: monospace" | 0x00000080 | INFO_NSPACE | L | Use private namespace |- | style="text-align: right" | 8 | style="font-family: monospace" | 0x00000100 | SCHED_HARD | | Enable hard scheduler |- | style="text-align: right" | 9 | style="font-family: monospace" | 0x00000200 | SCHED_PRIO | | Enable priority scheduler |- | style="text-align: right" | 10 | style="font-family: monospace" | 0x00000400 | SCHED_PAUSE | | Pause context (unschedule) |- | style="text-align: right" | 16 | style="font-family: monospace" | 0x00010000 | VIRT_MEM | | Virtualize memory information |- | style="text-align: right" | 17 | style="font-family: monospace" | 0x00020000 | VIRT_UPTIME | | Virtualize uptime information |- | style="text-align: right" | 18 | style="font-family: monospace" | 0x00040000 | VIRT_CPU | | Virtualize cpu usage information |- | style="text-align: right" | 19 | style="font-family: monospace" | 0x00080000 | VIRT_LOAD | | Virtualize load average information |- | style="text-align: right" | 20 | style="font-family: monospace" | 0x00100000 | VIRT_TIME | | Allow per guest time offsets |- | style="text-align: right" | 24 | style="font-family: monospace" | 0x01000000 | HIDE_MOUNT | | Hide entries in /proc/$pid/mounts |- | style="text-align: right" | 25 | style="font-family: monospace" | 0x02000000 | HIDE_NETIF | L | Hide foreign network interfaces |- | style="text-align: right" | 26 | style="font-family: monospace" | 0x04000000 | HIDE_VINFO | | Hide context information in task status |- | style="text-align: right" | 32 | style="font-family: monospace" | 0x0001<<32 | STATE_SETUP | IO | Enable setup state |- | style="text-align: right" | 33 | style="font-family: monospace" | 0x0002<<32 | STATE_INIT | IO | Enable init state |- | style="text-align: right" | 34 | style="font-family: monospace" | 0x0004<<32 | STATE_ADMIN | O | Enable admin state |- | style="text-align: right" | 36 | style="font-family: monospace" | 0x0010<<32 | SC_HELPER | I | Enable state change helper |- | style="text-align: right" | 37 | style="font-family: monospace" | 0x0020<<32 | REBOOT_KILL | | Kill all processes on reboot(2) |- | style="text-align: right" | 38 | style="font-family: monospace" | 0x0040<<32 | PERSISTENT | | Make context persistent |- | style="text-align: right" | 48 | style="font-family: monospace" | 0x0001<<48 | FORK_RSS | | Block fork when RSS limit is exceeded |- | style="text-align: right" | 49 | style="font-family: monospace" | 0x0002<<48 | PROLIFIC | | Allow context to create new contexts |- | style="text-align: right" | 52 | style="font-family: monospace" | 0x0010<<48 | IGNEG_NICE | | Ignore priority raise |}
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information