msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2012-05-28 07:16+0900\n"
+"POT-Creation-Date: 2013-03-22 01:06+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: TH
-#: build/C/man2/acct.2:32 build/C/man5/acct.5:23
+#: build/C/man2/acct.2:31 build/C/man5/acct.5:25
#, no-wrap
msgid "ACCT"
msgstr ""
#. type: TH
-#: build/C/man2/acct.2:32
+#: build/C/man2/acct.2:31
#, no-wrap
msgid "2008-06-16"
msgstr ""
#. type: TH
-#: build/C/man2/acct.2:32 build/C/man5/acct.5:23 build/C/man7/capabilities.7:46 build/C/man2/capget.2:11 build/C/man7/cpuset.7:24 build/C/man7/credentials.7:25 build/C/man2/getgid.2:25 build/C/man2/getgroups.2:31 build/C/man2/getpid.2:23 build/C/man2/getpriority.2:46 build/C/man2/getresuid.2:27 build/C/man2/getrlimit.2:64 build/C/man2/getrusage.2:39 build/C/man2/getsid.2:25 build/C/man2/getuid.2:26 build/C/man2/iopl.2:33 build/C/man2/ioprio_set.2:25 build/C/man2/ipc.2:26 build/C/man2/seteuid.2:27 build/C/man2/setfsgid.2:29 build/C/man2/setfsuid.2:29 build/C/man2/setgid.2:27 build/C/man2/setpgid.2:46 build/C/man2/setresuid.2:26 build/C/man2/setreuid.2:43 build/C/man2/setsid.2:29 build/C/man2/setuid.2:28 build/C/man7/svipc.7:25 build/C/man3/ulimit.3:27
+#: build/C/man2/acct.2:31 build/C/man5/acct.5:25 build/C/man7/capabilities.7:48 build/C/man2/capget.2:15 build/C/man7/cpuset.7:25 build/C/man7/credentials.7:27 build/C/man2/getgid.2:25 build/C/man2/getgroups.2:31 build/C/man2/getpid.2:25 build/C/man2/getpriority.2:48 build/C/man2/getresuid.2:28 build/C/man2/getrlimit.2:64 build/C/man2/getrusage.2:39 build/C/man2/getsid.2:26 build/C/man2/getuid.2:26 build/C/man2/iopl.2:33 build/C/man2/ioprio_set.2:24 build/C/man2/ipc.2:25 build/C/man2/seteuid.2:29 build/C/man2/setfsgid.2:31 build/C/man2/setfsuid.2:31 build/C/man2/setgid.2:29 build/C/man2/setpgid.2:48 build/C/man2/setresuid.2:26 build/C/man2/setreuid.2:45 build/C/man2/setsid.2:30 build/C/man2/setuid.2:30 build/C/man7/svipc.7:27 build/C/man3/ulimit.3:27
#, no-wrap
msgid "Linux"
msgstr ""
#. type: TH
-#: build/C/man2/acct.2:32 build/C/man5/acct.5:23 build/C/man7/capabilities.7:46 build/C/man2/capget.2:11 build/C/man7/cpuset.7:24 build/C/man7/credentials.7:25 build/C/man2/getgid.2:25 build/C/man2/getgroups.2:31 build/C/man2/getpid.2:23 build/C/man2/getpriority.2:46 build/C/man2/getresuid.2:27 build/C/man2/getrlimit.2:64 build/C/man2/getrusage.2:39 build/C/man2/getsid.2:25 build/C/man2/getuid.2:26 build/C/man2/iopl.2:33 build/C/man2/ioprio_set.2:25 build/C/man2/ipc.2:26 build/C/man2/seteuid.2:27 build/C/man2/setfsgid.2:29 build/C/man2/setfsuid.2:29 build/C/man2/setgid.2:27 build/C/man2/setpgid.2:46 build/C/man2/setresuid.2:26 build/C/man2/setreuid.2:43 build/C/man2/setsid.2:29 build/C/man2/setuid.2:28 build/C/man7/svipc.7:25 build/C/man3/ulimit.3:27
+#: build/C/man2/acct.2:31 build/C/man5/acct.5:25 build/C/man7/capabilities.7:48 build/C/man2/capget.2:15 build/C/man7/cpuset.7:25 build/C/man7/credentials.7:27 build/C/man2/getgid.2:25 build/C/man2/getgroups.2:31 build/C/man2/getpid.2:25 build/C/man2/getpriority.2:48 build/C/man2/getresuid.2:28 build/C/man2/getrlimit.2:64 build/C/man2/getrusage.2:39 build/C/man2/getsid.2:26 build/C/man2/getuid.2:26 build/C/man2/iopl.2:33 build/C/man2/ioprio_set.2:24 build/C/man2/ipc.2:25 build/C/man2/seteuid.2:29 build/C/man2/setfsgid.2:31 build/C/man2/setfsuid.2:31 build/C/man2/setgid.2:29 build/C/man2/setpgid.2:48 build/C/man2/setresuid.2:26 build/C/man2/setreuid.2:45 build/C/man2/setsid.2:30 build/C/man2/setuid.2:30 build/C/man7/svipc.7:27 build/C/man3/ulimit.3:27
#, no-wrap
msgid "Linux Programmer's Manual"
msgstr ""
#. type: SH
-#: build/C/man2/acct.2:33 build/C/man5/acct.5:24 build/C/man7/capabilities.7:47 build/C/man2/capget.2:12 build/C/man7/cpuset.7:25 build/C/man7/credentials.7:26 build/C/man2/getgid.2:26 build/C/man2/getgroups.2:32 build/C/man2/getpid.2:24 build/C/man2/getpriority.2:47 build/C/man2/getresuid.2:28 build/C/man2/getrlimit.2:65 build/C/man2/getrusage.2:40 build/C/man2/getsid.2:26 build/C/man2/getuid.2:27 build/C/man2/iopl.2:34 build/C/man2/ioprio_set.2:26 build/C/man2/ipc.2:27 build/C/man2/seteuid.2:28 build/C/man2/setfsgid.2:30 build/C/man2/setfsuid.2:30 build/C/man2/setgid.2:28 build/C/man2/setpgid.2:47 build/C/man2/setresuid.2:27 build/C/man2/setreuid.2:44 build/C/man2/setsid.2:30 build/C/man2/setuid.2:29 build/C/man7/svipc.7:26 build/C/man3/ulimit.3:28
+#: build/C/man2/acct.2:32 build/C/man5/acct.5:26 build/C/man7/capabilities.7:49 build/C/man2/capget.2:16 build/C/man7/cpuset.7:26 build/C/man7/credentials.7:28 build/C/man2/getgid.2:26 build/C/man2/getgroups.2:32 build/C/man2/getpid.2:26 build/C/man2/getpriority.2:49 build/C/man2/getresuid.2:29 build/C/man2/getrlimit.2:65 build/C/man2/getrusage.2:40 build/C/man2/getsid.2:27 build/C/man2/getuid.2:27 build/C/man2/iopl.2:34 build/C/man2/ioprio_set.2:25 build/C/man2/ipc.2:26 build/C/man2/seteuid.2:30 build/C/man2/setfsgid.2:32 build/C/man2/setfsuid.2:32 build/C/man2/setgid.2:30 build/C/man2/setpgid.2:49 build/C/man2/setresuid.2:27 build/C/man2/setreuid.2:46 build/C/man2/setsid.2:31 build/C/man2/setuid.2:31 build/C/man7/svipc.7:28 build/C/man3/ulimit.3:28
#, no-wrap
msgid "NAME"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:35
+#: build/C/man2/acct.2:34
msgid "acct - switch process accounting on or off"
msgstr ""
#. type: SH
-#: build/C/man2/acct.2:35 build/C/man5/acct.5:26 build/C/man2/capget.2:14 build/C/man2/getgid.2:28 build/C/man2/getgroups.2:34 build/C/man2/getpid.2:26 build/C/man2/getpriority.2:49 build/C/man2/getresuid.2:30 build/C/man2/getrlimit.2:67 build/C/man2/getrusage.2:42 build/C/man2/getsid.2:28 build/C/man2/getuid.2:29 build/C/man2/iopl.2:36 build/C/man2/ioprio_set.2:28 build/C/man2/ipc.2:29 build/C/man2/seteuid.2:30 build/C/man2/setfsgid.2:32 build/C/man2/setfsuid.2:32 build/C/man2/setgid.2:30 build/C/man2/setpgid.2:49 build/C/man2/setresuid.2:29 build/C/man2/setreuid.2:46 build/C/man2/setsid.2:32 build/C/man2/setuid.2:31 build/C/man7/svipc.7:28 build/C/man3/ulimit.3:30
+#: build/C/man2/acct.2:34 build/C/man5/acct.5:28 build/C/man2/capget.2:18 build/C/man2/getgid.2:28 build/C/man2/getgroups.2:34 build/C/man2/getpid.2:28 build/C/man2/getpriority.2:51 build/C/man2/getresuid.2:31 build/C/man2/getrlimit.2:67 build/C/man2/getrusage.2:42 build/C/man2/getsid.2:29 build/C/man2/getuid.2:29 build/C/man2/iopl.2:36 build/C/man2/ioprio_set.2:27 build/C/man2/ipc.2:28 build/C/man2/seteuid.2:32 build/C/man2/setfsgid.2:34 build/C/man2/setfsuid.2:34 build/C/man2/setgid.2:32 build/C/man2/setpgid.2:51 build/C/man2/setresuid.2:29 build/C/man2/setreuid.2:48 build/C/man2/setsid.2:33 build/C/man2/setuid.2:33 build/C/man7/svipc.7:30 build/C/man3/ulimit.3:30
#, no-wrap
msgid "SYNOPSIS"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:39
+#: build/C/man2/acct.2:38
#, no-wrap
msgid "B<#include E<lt>unistd.hE<gt>>\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:41
+#: build/C/man2/acct.2:40
#, no-wrap
msgid "B<int acct(const char *>I<filename>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:47 build/C/man2/getgroups.2:48 build/C/man2/getrlimit.2:84 build/C/man2/getsid.2:36 build/C/man2/seteuid.2:42 build/C/man2/setpgid.2:69 build/C/man2/setreuid.2:58
+#: build/C/man2/acct.2:46 build/C/man2/getgroups.2:48 build/C/man2/getrlimit.2:84 build/C/man2/getsid.2:37 build/C/man2/seteuid.2:44 build/C/man2/setpgid.2:71 build/C/man2/setreuid.2:60
msgid "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:51
+#: build/C/man2/acct.2:50
msgid "B<acct>(): _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)"
msgstr ""
#. type: SH
-#: build/C/man2/acct.2:51 build/C/man5/acct.5:28 build/C/man7/capabilities.7:49 build/C/man2/capget.2:20 build/C/man7/cpuset.7:27 build/C/man7/credentials.7:28 build/C/man2/getgid.2:36 build/C/man2/getgroups.2:52 build/C/man2/getpid.2:34 build/C/man2/getpriority.2:57 build/C/man2/getresuid.2:38 build/C/man2/getrlimit.2:88 build/C/man2/getrusage.2:48 build/C/man2/getsid.2:49 build/C/man2/getuid.2:37 build/C/man2/iopl.2:40 build/C/man2/ioprio_set.2:33 build/C/man2/ipc.2:35 build/C/man2/seteuid.2:51 build/C/man2/setfsgid.2:37 build/C/man2/setfsuid.2:37 build/C/man2/setgid.2:36 build/C/man2/setpgid.2:96 build/C/man2/setresuid.2:37 build/C/man2/setreuid.2:68 build/C/man2/setsid.2:39 build/C/man2/setuid.2:37 build/C/man7/svipc.7:36 build/C/man3/ulimit.3:34
+#: build/C/man2/acct.2:50 build/C/man5/acct.5:30 build/C/man7/capabilities.7:51 build/C/man2/capget.2:24 build/C/man7/cpuset.7:28 build/C/man7/credentials.7:30 build/C/man2/getgid.2:36 build/C/man2/getgroups.2:52 build/C/man2/getpid.2:36 build/C/man2/getpriority.2:59 build/C/man2/getresuid.2:39 build/C/man2/getrlimit.2:88 build/C/man2/getrusage.2:48 build/C/man2/getsid.2:50 build/C/man2/getuid.2:37 build/C/man2/iopl.2:40 build/C/man2/ioprio_set.2:35 build/C/man2/ipc.2:34 build/C/man2/seteuid.2:53 build/C/man2/setfsgid.2:39 build/C/man2/setfsuid.2:39 build/C/man2/setgid.2:38 build/C/man2/setpgid.2:98 build/C/man2/setresuid.2:37 build/C/man2/setreuid.2:70 build/C/man2/setsid.2:40 build/C/man2/setuid.2:39 build/C/man7/svipc.7:36 build/C/man3/ulimit.3:34
#, no-wrap
msgid "DESCRIPTION"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:60
+#: build/C/man2/acct.2:59
msgid ""
"The B<acct>() system call enables or disables process accounting. If "
"called with the name of an existing file as its argument, accounting is "
msgstr ""
#. type: SH
-#: build/C/man2/acct.2:60 build/C/man2/capget.2:152 build/C/man2/getgroups.2:92 build/C/man2/getpriority.2:105 build/C/man2/getresuid.2:49 build/C/man2/getrlimit.2:430 build/C/man2/getrusage.2:180 build/C/man2/getsid.2:57 build/C/man2/iopl.2:65 build/C/man2/ioprio_set.2:139 build/C/man2/seteuid.2:65 build/C/man2/setfsgid.2:67 build/C/man2/setfsuid.2:67 build/C/man2/setgid.2:51 build/C/man2/setpgid.2:170 build/C/man2/setresuid.2:64 build/C/man2/setreuid.2:89 build/C/man2/setsid.2:50 build/C/man2/setuid.2:68 build/C/man3/ulimit.3:67
+#: build/C/man2/acct.2:59 build/C/man2/capget.2:160 build/C/man2/getgroups.2:92 build/C/man2/getpriority.2:107 build/C/man2/getresuid.2:50 build/C/man2/getrlimit.2:430 build/C/man2/getrusage.2:180 build/C/man2/getsid.2:58 build/C/man2/iopl.2:66 build/C/man2/ioprio_set.2:149 build/C/man2/seteuid.2:67 build/C/man2/setfsgid.2:69 build/C/man2/setfsuid.2:69 build/C/man2/setgid.2:53 build/C/man2/setpgid.2:172 build/C/man2/setresuid.2:64 build/C/man2/setreuid.2:91 build/C/man2/setsid.2:51 build/C/man2/setuid.2:70 build/C/man3/ulimit.3:67
#, no-wrap
msgid "RETURN VALUE"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:65 build/C/man2/capget.2:157 build/C/man2/getresuid.2:54 build/C/man2/getrusage.2:185 build/C/man2/iopl.2:70 build/C/man2/seteuid.2:70 build/C/man2/setgid.2:56 build/C/man2/setresuid.2:69 build/C/man2/setreuid.2:94 build/C/man2/setuid.2:73
+#: build/C/man2/acct.2:64 build/C/man2/capget.2:165 build/C/man2/getresuid.2:55 build/C/man2/getrusage.2:185 build/C/man2/iopl.2:71 build/C/man2/seteuid.2:72 build/C/man2/setgid.2:58 build/C/man2/setresuid.2:69 build/C/man2/setreuid.2:96 build/C/man2/setuid.2:75
msgid ""
"On success, zero is returned. On error, -1 is returned, and I<errno> is set "
"appropriately."
msgstr ""
#. type: SH
-#: build/C/man2/acct.2:65 build/C/man2/capget.2:171 build/C/man7/cpuset.7:1099 build/C/man2/getgid.2:42 build/C/man2/getgroups.2:106 build/C/man2/getpid.2:42 build/C/man2/getpriority.2:118 build/C/man2/getresuid.2:54 build/C/man2/getrlimit.2:435 build/C/man2/getrusage.2:185 build/C/man2/getsid.2:62 build/C/man2/getuid.2:43 build/C/man2/iopl.2:70 build/C/man2/ioprio_set.2:159 build/C/man2/seteuid.2:70 build/C/man2/setgid.2:56 build/C/man2/setpgid.2:191 build/C/man2/setresuid.2:69 build/C/man2/setreuid.2:94 build/C/man2/setsid.2:57 build/C/man2/setuid.2:73 build/C/man3/ulimit.3:74
+#: build/C/man2/acct.2:64 build/C/man2/capget.2:179 build/C/man7/cpuset.7:1100 build/C/man2/getgid.2:42 build/C/man2/getgroups.2:106 build/C/man2/getpid.2:44 build/C/man2/getpriority.2:120 build/C/man2/getresuid.2:55 build/C/man2/getrlimit.2:435 build/C/man2/getrusage.2:185 build/C/man2/getsid.2:63 build/C/man2/getuid.2:43 build/C/man2/iopl.2:71 build/C/man2/ioprio_set.2:169 build/C/man2/seteuid.2:72 build/C/man2/setgid.2:58 build/C/man2/setpgid.2:193 build/C/man2/setresuid.2:69 build/C/man2/setreuid.2:96 build/C/man2/setsid.2:58 build/C/man2/setuid.2:75 build/C/man3/ulimit.3:74
#, no-wrap
msgid "ERRORS"
msgstr ""
#. type: TP
-#: build/C/man2/acct.2:66 build/C/man7/cpuset.7:1115 build/C/man7/cpuset.7:1122 build/C/man7/cpuset.7:1128 build/C/man7/cpuset.7:1136 build/C/man7/cpuset.7:1143 build/C/man2/getpriority.2:138 build/C/man2/setpgid.2:192
+#: build/C/man2/acct.2:65 build/C/man7/cpuset.7:1116 build/C/man7/cpuset.7:1123 build/C/man7/cpuset.7:1129 build/C/man7/cpuset.7:1137 build/C/man7/cpuset.7:1144 build/C/man2/getpriority.2:140 build/C/man2/setpgid.2:194
#, no-wrap
msgid "B<EACCES>"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:77
+#: build/C/man2/acct.2:76
msgid ""
"Write permission is denied for the specified file, or search permission is "
"denied for one of the directories in the path prefix of I<filename> (see "
msgstr ""
#. type: TP
-#: build/C/man2/acct.2:77 build/C/man2/capget.2:172 build/C/man7/cpuset.7:1171 build/C/man2/getgroups.2:107 build/C/man2/getresuid.2:55 build/C/man2/getrlimit.2:436 build/C/man2/getrusage.2:186
+#: build/C/man2/acct.2:76 build/C/man2/capget.2:180 build/C/man7/cpuset.7:1172 build/C/man2/getgroups.2:107 build/C/man2/getresuid.2:56 build/C/man2/getrlimit.2:436 build/C/man2/getrusage.2:186
#, no-wrap
msgid "B<EFAULT>"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:81
+#: build/C/man2/acct.2:80
msgid "I<filename> points outside your accessible address space."
msgstr ""
#. type: TP
-#: build/C/man2/acct.2:81 build/C/man7/cpuset.7:1237 build/C/man7/cpuset.7:1245
+#: build/C/man2/acct.2:80 build/C/man7/cpuset.7:1238 build/C/man7/cpuset.7:1246
#, no-wrap
msgid "B<EIO>"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:85
+#: build/C/man2/acct.2:84
msgid "Error writing to the file I<filename>."
msgstr ""
#. type: TP
-#: build/C/man2/acct.2:85
+#: build/C/man2/acct.2:84
#, no-wrap
msgid "B<EISDIR>"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:89
+#: build/C/man2/acct.2:88
msgid "I<filename> is a directory."
msgstr ""
#. type: TP
-#: build/C/man2/acct.2:89
+#: build/C/man2/acct.2:88
#, no-wrap
msgid "B<ELOOP>"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:93
+#: build/C/man2/acct.2:92
msgid "Too many symbolic links were encountered in resolving I<filename>."
msgstr ""
#. type: TP
-#: build/C/man2/acct.2:93 build/C/man7/cpuset.7:1250 build/C/man7/cpuset.7:1257 build/C/man7/cpuset.7:1262
+#: build/C/man2/acct.2:92 build/C/man7/cpuset.7:1251 build/C/man7/cpuset.7:1258 build/C/man7/cpuset.7:1263
#, no-wrap
msgid "B<ENAMETOOLONG>"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:97
+#: build/C/man2/acct.2:96
msgid "I<filename> was too long."
msgstr ""
#. type: TP
-#: build/C/man2/acct.2:97
+#: build/C/man2/acct.2:96
#, no-wrap
msgid "B<ENFILE>"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:100
+#: build/C/man2/acct.2:99
msgid "The system limit on the total number of open files has been reached."
msgstr ""
#. type: TP
-#: build/C/man2/acct.2:100 build/C/man7/cpuset.7:1274 build/C/man7/cpuset.7:1279
+#: build/C/man2/acct.2:99 build/C/man7/cpuset.7:1275 build/C/man7/cpuset.7:1280
#, no-wrap
msgid "B<ENOENT>"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:103
+#: build/C/man2/acct.2:102
msgid "The specified filename does not exist."
msgstr ""
#. type: TP
-#: build/C/man2/acct.2:103 build/C/man7/cpuset.7:1286 build/C/man2/getgroups.2:127
+#: build/C/man2/acct.2:102 build/C/man7/cpuset.7:1287 build/C/man2/getgroups.2:127
#, no-wrap
msgid "B<ENOMEM>"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:106 build/C/man2/getgroups.2:130
+#: build/C/man2/acct.2:105 build/C/man2/getgroups.2:130
msgid "Out of memory."
msgstr ""
#. type: TP
-#: build/C/man2/acct.2:106 build/C/man2/iopl.2:75
+#: build/C/man2/acct.2:105 build/C/man2/iopl.2:76
#, no-wrap
msgid "B<ENOSYS>"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:112
+#: build/C/man2/acct.2:111
msgid ""
"BSD process accounting has not been enabled when the operating system kernel "
"was compiled. The kernel configuration parameter controlling this feature "
msgstr ""
#. type: TP
-#: build/C/man2/acct.2:112 build/C/man7/cpuset.7:1313
+#: build/C/man2/acct.2:111 build/C/man7/cpuset.7:1314
#, no-wrap
msgid "B<ENOTDIR>"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:117
+#: build/C/man2/acct.2:116
msgid "A component used as a directory in I<filename> is not in fact a directory."
msgstr ""
#. type: TP
-#: build/C/man2/acct.2:117 build/C/man2/capget.2:183 build/C/man2/capget.2:188 build/C/man7/cpuset.7:1318 build/C/man2/getgroups.2:130 build/C/man2/getpriority.2:150 build/C/man2/getrlimit.2:452 build/C/man2/getsid.2:63 build/C/man2/iopl.2:78 build/C/man2/ioprio_set.2:169 build/C/man2/seteuid.2:73 build/C/man2/setgid.2:57 build/C/man2/setpgid.2:206 build/C/man2/setresuid.2:77 build/C/man2/setreuid.2:95 build/C/man2/setsid.2:58 build/C/man2/setuid.2:83 build/C/man3/ulimit.3:75
+#: build/C/man2/acct.2:116 build/C/man2/capget.2:191 build/C/man2/capget.2:196 build/C/man7/cpuset.7:1319 build/C/man2/getgroups.2:130 build/C/man2/getpriority.2:152 build/C/man2/getrlimit.2:452 build/C/man2/getsid.2:64 build/C/man2/iopl.2:79 build/C/man2/ioprio_set.2:179 build/C/man2/seteuid.2:75 build/C/man2/setgid.2:59 build/C/man2/setpgid.2:208 build/C/man2/setresuid.2:77 build/C/man2/setreuid.2:97 build/C/man2/setsid.2:59 build/C/man2/setuid.2:85 build/C/man3/ulimit.3:75
#, no-wrap
msgid "B<EPERM>"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:123
+#: build/C/man2/acct.2:122
msgid ""
"The calling process has insufficient privilege to enable process "
"accounting. On Linux the B<CAP_SYS_PACCT> capability is required."
msgstr ""
#. type: TP
-#: build/C/man2/acct.2:123
+#: build/C/man2/acct.2:122
#, no-wrap
msgid "B<EROFS>"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:127
+#: build/C/man2/acct.2:126
msgid "I<filename> refers to a file on a read-only file system."
msgstr ""
#. type: TP
-#: build/C/man2/acct.2:127
+#: build/C/man2/acct.2:126
#, no-wrap
msgid "B<EUSERS>"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:130
+#: build/C/man2/acct.2:129
msgid "There are no more free file structures or we ran out of memory."
msgstr ""
#. type: SH
-#: build/C/man2/acct.2:130 build/C/man5/acct.5:152 build/C/man7/capabilities.7:1002 build/C/man2/capget.2:210 build/C/man7/credentials.7:232 build/C/man2/getgid.2:44 build/C/man2/getgroups.2:133 build/C/man2/getpid.2:44 build/C/man2/getpriority.2:158 build/C/man2/getresuid.2:66 build/C/man2/getrlimit.2:473 build/C/man2/getrusage.2:194 build/C/man2/getsid.2:78 build/C/man2/getuid.2:45 build/C/man2/iopl.2:85 build/C/man2/ioprio_set.2:186 build/C/man2/ipc.2:46 build/C/man2/seteuid.2:89 build/C/man2/setfsgid.2:78 build/C/man2/setfsuid.2:78 build/C/man2/setgid.2:74 build/C/man2/setpgid.2:225 build/C/man2/setresuid.2:83 build/C/man2/setreuid.2:111 build/C/man2/setsid.2:64 build/C/man2/setuid.2:90 build/C/man3/ulimit.3:78
+#: build/C/man2/acct.2:129 build/C/man5/acct.5:153 build/C/man7/capabilities.7:1061 build/C/man2/capget.2:218 build/C/man7/credentials.7:234 build/C/man2/getgid.2:44 build/C/man2/getgroups.2:133 build/C/man2/getpid.2:46 build/C/man2/getpriority.2:160 build/C/man2/getresuid.2:67 build/C/man2/getrlimit.2:473 build/C/man2/getrusage.2:194 build/C/man2/getsid.2:79 build/C/man2/getuid.2:45 build/C/man2/iopl.2:87 build/C/man2/ioprio_set.2:196 build/C/man2/ipc.2:45 build/C/man2/seteuid.2:91 build/C/man2/setfsgid.2:80 build/C/man2/setfsuid.2:80 build/C/man2/setgid.2:66 build/C/man2/setpgid.2:227 build/C/man2/setresuid.2:83 build/C/man2/setreuid.2:113 build/C/man2/setsid.2:65 build/C/man2/setuid.2:92 build/C/man3/ulimit.3:78
#, no-wrap
msgid "CONFORMING TO"
msgstr ""
#. (attempt is made to enable accounting using the same file that is
#. currently being used).
#. type: Plain text
-#: build/C/man2/acct.2:137
+#: build/C/man2/acct.2:136
msgid "SVr4, 4.3BSD (but not POSIX)."
msgstr ""
#. type: SH
-#: build/C/man2/acct.2:137 build/C/man5/acct.5:156 build/C/man7/capabilities.7:1007 build/C/man2/capget.2:212 build/C/man7/cpuset.7:1340 build/C/man7/credentials.7:238 build/C/man2/getgid.2:46 build/C/man2/getgroups.2:141 build/C/man2/getpid.2:46 build/C/man2/getpriority.2:161 build/C/man2/getresuid.2:69 build/C/man2/getrlimit.2:496 build/C/man2/getrusage.2:205 build/C/man2/getsid.2:80 build/C/man2/getuid.2:47 build/C/man2/getuid.2:57 build/C/man2/iopl.2:89 build/C/man2/ioprio_set.2:188 build/C/man2/ipc.2:50 build/C/man2/seteuid.2:91 build/C/man2/setfsgid.2:82 build/C/man2/setfsuid.2:82 build/C/man2/setgid.2:64 build/C/man2/setpgid.2:247 build/C/man2/setresuid.2:86 build/C/man2/setreuid.2:117 build/C/man2/setsid.2:66 build/C/man2/setuid.2:95
+#: build/C/man2/acct.2:136 build/C/man5/acct.5:157 build/C/man7/capabilities.7:1067 build/C/man2/capget.2:220 build/C/man7/cpuset.7:1341 build/C/man7/credentials.7:240 build/C/man2/getgid.2:46 build/C/man2/getgroups.2:141 build/C/man2/getpid.2:48 build/C/man2/getpriority.2:163 build/C/man2/getresuid.2:70 build/C/man2/getrlimit.2:496 build/C/man2/getrusage.2:205 build/C/man2/getsid.2:81 build/C/man2/getuid.2:47 build/C/man2/iopl.2:91 build/C/man2/ioprio_set.2:198 build/C/man2/ipc.2:49 build/C/man2/seteuid.2:93 build/C/man2/setfsgid.2:84 build/C/man2/setfsuid.2:84 build/C/man2/setgid.2:68 build/C/man2/setpgid.2:249 build/C/man2/setresuid.2:86 build/C/man2/setreuid.2:119 build/C/man2/setsid.2:67 build/C/man2/setuid.2:97
#, no-wrap
msgid "NOTES"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:140
+#: build/C/man2/acct.2:139
msgid ""
"No accounting is produced for programs running when a system crash occurs. "
"In particular, nonterminating processes are never accounted for."
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:143
+#: build/C/man2/acct.2:142
msgid ""
"The structure of the records written to the accounting file is described in "
"B<acct>(5)."
msgstr ""
#. type: SH
-#: build/C/man2/acct.2:143 build/C/man5/acct.5:173 build/C/man7/capabilities.7:1055 build/C/man2/capget.2:219 build/C/man7/cpuset.7:1487 build/C/man7/credentials.7:249 build/C/man2/getgid.2:62 build/C/man2/getgroups.2:171 build/C/man2/getpid.2:98 build/C/man2/getpriority.2:223 build/C/man2/getresuid.2:85 build/C/man2/getrlimit.2:620 build/C/man2/getrusage.2:245 build/C/man2/getsid.2:83 build/C/man2/getuid.2:73 build/C/man2/iopl.2:98 build/C/man2/ioprio_set.2:317 build/C/man2/ipc.2:58 build/C/man2/seteuid.2:117 build/C/man2/setfsgid.2:110 build/C/man2/setfsuid.2:110 build/C/man2/setgid.2:76 build/C/man2/setpgid.2:315 build/C/man2/setresuid.2:106 build/C/man2/setreuid.2:157 build/C/man2/setsid.2:83 build/C/man2/setuid.2:118 build/C/man7/svipc.7:320 build/C/man3/ulimit.3:83
+#: build/C/man2/acct.2:142 build/C/man5/acct.5:174 build/C/man7/capabilities.7:1123 build/C/man2/capget.2:228 build/C/man7/cpuset.7:1488 build/C/man7/credentials.7:251 build/C/man2/getgid.2:62 build/C/man2/getgroups.2:171 build/C/man2/getpid.2:100 build/C/man2/getpriority.2:232 build/C/man2/getresuid.2:86 build/C/man2/getrlimit.2:656 build/C/man2/getrusage.2:245 build/C/man2/getsid.2:84 build/C/man2/getuid.2:73 build/C/man2/iopl.2:100 build/C/man2/ioprio_set.2:346 build/C/man2/ipc.2:57 build/C/man2/seteuid.2:124 build/C/man2/setfsgid.2:112 build/C/man2/setfsuid.2:112 build/C/man2/setgid.2:78 build/C/man2/setpgid.2:317 build/C/man2/setresuid.2:106 build/C/man2/setreuid.2:159 build/C/man2/setsid.2:84 build/C/man2/setuid.2:120 build/C/man7/svipc.7:318 build/C/man3/ulimit.3:83
#, no-wrap
msgid "SEE ALSO"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:145
+#: build/C/man2/acct.2:144
msgid "B<acct>(5)"
msgstr ""
#. type: SH
-#: build/C/man2/acct.2:145 build/C/man5/acct.5:178 build/C/man7/capabilities.7:1076 build/C/man2/capget.2:223 build/C/man7/cpuset.7:1504 build/C/man7/credentials.7:280 build/C/man2/getgid.2:67 build/C/man2/getgroups.2:178 build/C/man2/getpid.2:108 build/C/man2/getpriority.2:231 build/C/man2/getresuid.2:91 build/C/man2/getrlimit.2:637 build/C/man2/getrusage.2:252 build/C/man2/getsid.2:87 build/C/man2/getuid.2:78 build/C/man2/iopl.2:101 build/C/man2/ioprio_set.2:323 build/C/man2/ipc.2:71 build/C/man2/seteuid.2:124 build/C/man2/setfsgid.2:115 build/C/man2/setfsuid.2:115 build/C/man2/setgid.2:82 build/C/man2/setpgid.2:322 build/C/man2/setresuid.2:115 build/C/man2/setreuid.2:165 build/C/man2/setsid.2:89 build/C/man2/setuid.2:125 build/C/man7/svipc.7:334 build/C/man3/ulimit.3:88
+#: build/C/man2/acct.2:144 build/C/man5/acct.5:179 build/C/man7/capabilities.7:1143 build/C/man2/capget.2:232 build/C/man7/cpuset.7:1505 build/C/man7/credentials.7:282 build/C/man2/getgid.2:67 build/C/man2/getgroups.2:178 build/C/man2/getpid.2:110 build/C/man2/getpriority.2:240 build/C/man2/getresuid.2:92 build/C/man2/getrlimit.2:674 build/C/man2/getrusage.2:252 build/C/man2/getsid.2:88 build/C/man2/getuid.2:78 build/C/man2/iopl.2:104 build/C/man2/ioprio_set.2:354 build/C/man2/ipc.2:70 build/C/man2/seteuid.2:131 build/C/man2/setfsgid.2:117 build/C/man2/setfsuid.2:117 build/C/man2/setgid.2:84 build/C/man2/setpgid.2:324 build/C/man2/setresuid.2:115 build/C/man2/setreuid.2:167 build/C/man2/setsid.2:91 build/C/man2/setuid.2:127 build/C/man7/svipc.7:335 build/C/man3/ulimit.3:88
#, no-wrap
msgid "COLOPHON"
msgstr ""
#. type: Plain text
-#: build/C/man2/acct.2:152 build/C/man5/acct.5:185 build/C/man7/capabilities.7:1083 build/C/man2/capget.2:230 build/C/man7/cpuset.7:1511 build/C/man7/credentials.7:287 build/C/man2/getgid.2:74 build/C/man2/getgroups.2:185 build/C/man2/getpid.2:115 build/C/man2/getpriority.2:238 build/C/man2/getresuid.2:98 build/C/man2/getrlimit.2:644 build/C/man2/getrusage.2:259 build/C/man2/getsid.2:94 build/C/man2/getuid.2:85 build/C/man2/iopl.2:108 build/C/man2/ioprio_set.2:330 build/C/man2/ipc.2:78 build/C/man2/seteuid.2:131 build/C/man2/setfsgid.2:122 build/C/man2/setfsuid.2:122 build/C/man2/setgid.2:89 build/C/man2/setpgid.2:329 build/C/man2/setresuid.2:122 build/C/man2/setreuid.2:172 build/C/man2/setsid.2:96 build/C/man2/setuid.2:132 build/C/man7/svipc.7:341 build/C/man3/ulimit.3:95
+#: build/C/man2/acct.2:151 build/C/man5/acct.5:186 build/C/man7/capabilities.7:1150 build/C/man2/capget.2:239 build/C/man7/cpuset.7:1512 build/C/man7/credentials.7:289 build/C/man2/getgid.2:74 build/C/man2/getgroups.2:185 build/C/man2/getpid.2:117 build/C/man2/getpriority.2:247 build/C/man2/getresuid.2:99 build/C/man2/getrlimit.2:681 build/C/man2/getrusage.2:259 build/C/man2/getsid.2:95 build/C/man2/getuid.2:85 build/C/man2/iopl.2:111 build/C/man2/ioprio_set.2:361 build/C/man2/ipc.2:77 build/C/man2/seteuid.2:138 build/C/man2/setfsgid.2:124 build/C/man2/setfsuid.2:124 build/C/man2/setgid.2:91 build/C/man2/setpgid.2:331 build/C/man2/setresuid.2:122 build/C/man2/setreuid.2:174 build/C/man2/setsid.2:98 build/C/man2/setuid.2:134 build/C/man7/svipc.7:342 build/C/man3/ulimit.3:95
msgid ""
-"This page is part of release 3.41 of the Linux I<man-pages> project. A "
+"This page is part of release 3.50 of the Linux I<man-pages> project. A "
"description of the project, and information about reporting bugs, can be "
"found at http://www.kernel.org/doc/man-pages/."
msgstr ""
#. type: TH
-#: build/C/man5/acct.5:23
+#: build/C/man5/acct.5:25
#, no-wrap
msgid "2008-06-15"
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:26
+#: build/C/man5/acct.5:28
msgid "acct - process accounting file"
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:28
+#: build/C/man5/acct.5:30
msgid "B<#include E<lt>sys/acct.hE<gt>>"
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:34
+#: build/C/man5/acct.5:36
msgid ""
"If the kernel is built with the process accounting option enabled "
"(B<CONFIG_BSD_PROCESS_ACCT>), then calling B<acct>(2) starts process "
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:37
+#: build/C/man5/acct.5:39
msgid "acct(\"/var/log/pacct\");"
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:45
+#: build/C/man5/acct.5:47
msgid ""
"When process accounting is enabled, the kernel writes a record to the "
"accounting file as each process on the system terminates. This record "
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:49
+#: build/C/man5/acct.5:51
#, no-wrap
msgid "#define ACCT_COMM 16\n"
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:51
+#: build/C/man5/acct.5:53
#, no-wrap
msgid "typedef u_int16_t comp_t;\n"
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:75
+#: build/C/man5/acct.5:77
#, no-wrap
msgid ""
"struct acct {\n"
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:82
+#: build/C/man5/acct.5:84
#, no-wrap
msgid ""
"enum { /* Bits that may be set in ac_flag field */\n"
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:92
+#: build/C/man5/acct.5:94
msgid ""
"The I<comp_t> data type is a floating-point value consisting of a 3-bit, "
"base-8 exponent, and a 13-bit mantissa. A value, I<c>, of this type can be "
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:95
+#: build/C/man5/acct.5:97
#, no-wrap
msgid " v = (c & 0x1fff) E<lt>E<lt> (((c E<gt>E<gt> 13) & 0x7) * 3);\n"
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:105
+#: build/C/man5/acct.5:107
msgid ""
"The I<ac_utime>, I<ac_stime>, and I<ac_etime> fields measure time in \"clock "
"ticks\"; divide these values by I<sysconf(_SC_CLK_TCK)> to convert them to "
msgstr ""
#. type: SS
-#: build/C/man5/acct.5:105
+#: build/C/man5/acct.5:107
#, no-wrap
-msgid "Version 3 Accounting File Format"
+msgid "Version 3 accounting file format"
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:120
+#: build/C/man5/acct.5:122
msgid ""
"Since kernel 2.6.8, an optional alternative version of the accounting file "
"can be produced if the B<CONFIG_BSD_PROCESS_ACCT_V3> option is set when "
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:145
+#: build/C/man5/acct.5:147
#, no-wrap
msgid ""
"struct acct_v3 {\n"
msgstr ""
#. type: SH
-#: build/C/man5/acct.5:148 build/C/man7/cpuset.7:1337 build/C/man2/getresuid.2:59 build/C/man2/getrlimit.2:468 build/C/man2/getsid.2:74 build/C/man2/ioprio_set.2:183 build/C/man2/setfsgid.2:74 build/C/man2/setfsuid.2:74 build/C/man2/setresuid.2:81
+#: build/C/man5/acct.5:149 build/C/man7/cpuset.7:1338 build/C/man2/getresuid.2:60 build/C/man2/getrlimit.2:468 build/C/man2/getsid.2:75 build/C/man2/ioprio_set.2:193 build/C/man2/setfsgid.2:76 build/C/man2/setfsuid.2:76 build/C/man2/setresuid.2:81
#, no-wrap
msgid "VERSIONS"
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:152
+#: build/C/man5/acct.5:153
msgid "The I<acct_v3> structure is defined in glibc since version 2.6."
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:156
+#: build/C/man5/acct.5:157
msgid ""
"Process accounting originated on BSD. Although it is present on most "
"systems, it is not standardized, and the details vary somewhat between "
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:159
+#: build/C/man5/acct.5:160
msgid ""
"Records in the accounting file are ordered by termination time of the "
"process."
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:166
+#: build/C/man5/acct.5:167
msgid ""
"In kernels up to and including 2.6.9, a separate accounting record is "
"written for each thread created using the NPTL threading library; since "
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:173
+#: build/C/man5/acct.5:174
msgid ""
"The I<proc/sys/kernel/acct> file, described in B<proc>(5), defines settings "
"that control the behavior of process accounting when disk space runs low."
msgstr ""
#. type: Plain text
-#: build/C/man5/acct.5:178
+#: build/C/man5/acct.5:179
msgid "B<lastcomm>(1), B<acct>(2), B<accton>(8), B<sa>(8)"
msgstr ""
#. type: TH
-#: build/C/man7/capabilities.7:46
+#: build/C/man7/capabilities.7:48
#, no-wrap
msgid "CAPABILITIES"
msgstr ""
#. type: TH
-#: build/C/man7/capabilities.7:46
+#: build/C/man7/capabilities.7:48 build/C/man2/capget.2:15
#, no-wrap
-msgid "2012-04-15"
+msgid "2013-03-11"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:49
+#: build/C/man7/capabilities.7:51
msgid "capabilities - overview of Linux capabilities"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:61
+#: build/C/man7/capabilities.7:63
msgid ""
"For the purpose of performing permission checks, traditional UNIX "
"implementations distinguish two categories of processes: I<privileged> "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:68
+#: build/C/man7/capabilities.7:70
msgid ""
"Starting with kernel 2.2, Linux divides the privileges traditionally "
"associated with superuser into distinct units, known as I<capabilities>, "
msgstr ""
#. type: SS
-#: build/C/man7/capabilities.7:68
+#: build/C/man7/capabilities.7:70
#, no-wrap
-msgid "Capabilities List"
+msgid "Capabilities list"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:71
+#: build/C/man7/capabilities.7:73
msgid ""
"The following list shows the capabilities implemented on Linux, and the "
"operations or behaviors that each capability permits:"
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:71
+#: build/C/man7/capabilities.7:73
#, no-wrap
msgid "B<CAP_AUDIT_CONTROL> (since Linux 2.6.11)"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:75
+#: build/C/man7/capabilities.7:77
msgid ""
"Enable and disable kernel auditing; change auditing filter rules; retrieve "
"auditing status and filtering rules."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:75
+#: build/C/man7/capabilities.7:77
#, no-wrap
msgid "B<CAP_AUDIT_WRITE> (since Linux 2.6.11)"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:78
+#: build/C/man7/capabilities.7:80
msgid "Write records to kernel auditing log."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:78
+#: build/C/man7/capabilities.7:80
+#, no-wrap
+msgid "B<CAP_BLOCK_SUSPEND> (since Linux 3.5)"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man7/capabilities.7:86
+msgid ""
+"Employ features that can block system suspend (B<epoll>(7) B<EPOLLWAKEUP>, "
+"I</proc/sys/wake_lock>)."
+msgstr ""
+
+#. type: TP
+#: build/C/man7/capabilities.7:86
#, no-wrap
msgid "B<CAP_CHOWN>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:82
+#: build/C/man7/capabilities.7:90
msgid "Make arbitrary changes to file UIDs and GIDs (see B<chown>(2))."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:82
+#: build/C/man7/capabilities.7:90
#, no-wrap
msgid "B<CAP_DAC_OVERRIDE>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:86
+#: build/C/man7/capabilities.7:94
msgid ""
"Bypass file read, write, and execute permission checks. (DAC is an "
"abbreviation of \"discretionary access control\".)"
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:86
+#: build/C/man7/capabilities.7:94
#, no-wrap
msgid "B<CAP_DAC_READ_SEARCH>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:90
+#: build/C/man7/capabilities.7:98
msgid ""
"Bypass file read permission checks and directory read and execute permission "
"checks."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:90
+#: build/C/man7/capabilities.7:98
#, no-wrap
msgid "B<CAP_FOWNER>"
msgstr ""
#. type: IP
-#: build/C/man7/capabilities.7:94 build/C/man7/capabilities.7:104 build/C/man7/capabilities.7:108 build/C/man7/capabilities.7:110 build/C/man7/capabilities.7:112 build/C/man7/capabilities.7:182 build/C/man7/capabilities.7:184 build/C/man7/capabilities.7:186 build/C/man7/capabilities.7:188 build/C/man7/capabilities.7:190 build/C/man7/capabilities.7:192 build/C/man7/capabilities.7:194 build/C/man7/capabilities.7:196 build/C/man7/capabilities.7:198 build/C/man7/capabilities.7:222 build/C/man7/capabilities.7:224 build/C/man7/capabilities.7:270 build/C/man7/capabilities.7:280 build/C/man7/capabilities.7:286 build/C/man7/capabilities.7:291 build/C/man7/capabilities.7:297 build/C/man7/capabilities.7:304 build/C/man7/capabilities.7:307 build/C/man7/capabilities.7:315 build/C/man7/capabilities.7:317 build/C/man7/capabilities.7:326 build/C/man7/capabilities.7:333 build/C/man7/capabilities.7:336 build/C/man7/capabilities.7:340 build/C/man7/capabilities.7:343 build/C/man7/capabilities.7:346 build/C/man7/capabilities.7:353 build/C/man7/capabilities.7:358 build/C/man7/capabilities.7:364 build/C/man7/capabilities.7:368 build/C/man7/capabilities.7:372 build/C/man7/capabilities.7:376 build/C/man7/capabilities.7:380 build/C/man7/capabilities.7:407 build/C/man7/capabilities.7:412 build/C/man7/capabilities.7:417 build/C/man7/capabilities.7:420 build/C/man7/capabilities.7:423 build/C/man7/capabilities.7:432 build/C/man7/capabilities.7:436 build/C/man7/capabilities.7:472 build/C/man7/capabilities.7:474 build/C/man7/capabilities.7:478 build/C/man7/capabilities.7:480 build/C/man7/capabilities.7:483 build/C/man7/capabilities.7:487 build/C/man7/capabilities.7:489 build/C/man7/capabilities.7:491 build/C/man7/capabilities.7:493 build/C/man7/capabilities.7:502 build/C/man7/capabilities.7:509 build/C/man7/capabilities.7:514 build/C/man7/capabilities.7:519 build/C/man7/capabilities.7:729 build/C/man7/capabilities.7:737 build/C/man7/capabilities.7:1044 build/C/man7/capabilities.7:1049 build/C/man7/cpuset.7:539 build/C/man7/cpuset.7:544 build/C/man7/cpuset.7:549 build/C/man7/cpuset.7:725 build/C/man7/cpuset.7:729 build/C/man7/cpuset.7:926 build/C/man7/cpuset.7:929 build/C/man7/cpuset.7:933 build/C/man7/cpuset.7:937 build/C/man7/cpuset.7:941 build/C/man7/credentials.7:123 build/C/man7/credentials.7:129 build/C/man7/credentials.7:141 build/C/man7/credentials.7:163 build/C/man7/credentials.7:180 build/C/man7/credentials.7:212 build/C/man7/credentials.7:215 build/C/man7/credentials.7:225 build/C/man7/credentials.7:228
+#: build/C/man7/capabilities.7:102 build/C/man7/capabilities.7:112 build/C/man7/capabilities.7:116 build/C/man7/capabilities.7:118 build/C/man7/capabilities.7:120 build/C/man7/capabilities.7:190 build/C/man7/capabilities.7:192 build/C/man7/capabilities.7:194 build/C/man7/capabilities.7:196 build/C/man7/capabilities.7:198 build/C/man7/capabilities.7:200 build/C/man7/capabilities.7:202 build/C/man7/capabilities.7:204 build/C/man7/capabilities.7:206 build/C/man7/capabilities.7:230 build/C/man7/capabilities.7:232 build/C/man7/capabilities.7:278 build/C/man7/capabilities.7:288 build/C/man7/capabilities.7:294 build/C/man7/capabilities.7:299 build/C/man7/capabilities.7:305 build/C/man7/capabilities.7:312 build/C/man7/capabilities.7:315 build/C/man7/capabilities.7:323 build/C/man7/capabilities.7:325 build/C/man7/capabilities.7:334 build/C/man7/capabilities.7:341 build/C/man7/capabilities.7:344 build/C/man7/capabilities.7:348 build/C/man7/capabilities.7:351 build/C/man7/capabilities.7:354 build/C/man7/capabilities.7:361 build/C/man7/capabilities.7:366 build/C/man7/capabilities.7:372 build/C/man7/capabilities.7:376 build/C/man7/capabilities.7:380 build/C/man7/capabilities.7:384 build/C/man7/capabilities.7:388 build/C/man7/capabilities.7:415 build/C/man7/capabilities.7:420 build/C/man7/capabilities.7:425 build/C/man7/capabilities.7:428 build/C/man7/capabilities.7:431 build/C/man7/capabilities.7:440 build/C/man7/capabilities.7:444 build/C/man7/capabilities.7:470 build/C/man7/capabilities.7:475 build/C/man7/capabilities.7:478 build/C/man7/capabilities.7:483 build/C/man7/capabilities.7:486 build/C/man7/capabilities.7:489 build/C/man7/capabilities.7:492 build/C/man7/capabilities.7:495 build/C/man7/capabilities.7:500 build/C/man7/capabilities.7:502 build/C/man7/capabilities.7:508 build/C/man7/capabilities.7:516 build/C/man7/capabilities.7:518 build/C/man7/capabilities.7:522 build/C/man7/capabilities.7:524 build/C/man7/capabilities.7:527 build/C/man7/capabilities.7:531 build/C/man7/capabilities.7:533 build/C/man7/capabilities.7:535 build/C/man7/capabilities.7:537 build/C/man7/capabilities.7:546 build/C/man7/capabilities.7:553 build/C/man7/capabilities.7:558 build/C/man7/capabilities.7:563 build/C/man7/capabilities.7:590 build/C/man7/capabilities.7:597 build/C/man7/capabilities.7:788 build/C/man7/capabilities.7:796 build/C/man7/capabilities.7:1112 build/C/man7/capabilities.7:1117 build/C/man7/cpuset.7:540 build/C/man7/cpuset.7:545 build/C/man7/cpuset.7:550 build/C/man7/cpuset.7:726 build/C/man7/cpuset.7:730 build/C/man7/cpuset.7:927 build/C/man7/cpuset.7:930 build/C/man7/cpuset.7:934 build/C/man7/cpuset.7:938 build/C/man7/cpuset.7:942 build/C/man7/credentials.7:125 build/C/man7/credentials.7:131 build/C/man7/credentials.7:143 build/C/man7/credentials.7:165 build/C/man7/credentials.7:182 build/C/man7/credentials.7:214 build/C/man7/credentials.7:217 build/C/man7/credentials.7:227 build/C/man7/credentials.7:230
#, no-wrap
msgid "*"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:104
+#: build/C/man7/capabilities.7:112
msgid ""
"Bypass permission checks on operations that normally require the file system "
"UID of the process to match the UID of the file (e.g., B<chmod>(2), "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:108
+#: build/C/man7/capabilities.7:116
msgid "set extended file attributes (see B<chattr>(1)) on arbitrary files;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:110
+#: build/C/man7/capabilities.7:118
msgid "set Access Control Lists (ACLs) on arbitrary files;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:112
+#: build/C/man7/capabilities.7:120
msgid "ignore directory sticky bit on file deletion;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:119
+#: build/C/man7/capabilities.7:127
msgid "specify B<O_NOATIME> for arbitrary files in B<open>(2) and B<fcntl>(2)."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:121
+#: build/C/man7/capabilities.7:129
#, no-wrap
msgid "B<CAP_FSETID>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:127
+#: build/C/man7/capabilities.7:135
msgid ""
"Don't clear set-user-ID and set-group-ID permission bits when a file is "
"modified; set the set-group-ID bit for a file whose GID does not match the "
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:127
+#: build/C/man7/capabilities.7:135
#, no-wrap
msgid "B<CAP_IPC_LOCK>"
msgstr ""
#. FIXME As at Linux 3.2, there are some strange uses of this capability
#. in other places; they probably should be replaced with something else.
#. type: Plain text
-#: build/C/man7/capabilities.7:136
+#: build/C/man7/capabilities.7:144
msgid "Lock memory (B<mlock>(2), B<mlockall>(2), B<mmap>(2), B<shmctl>(2))."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:136
+#: build/C/man7/capabilities.7:144
#, no-wrap
msgid "B<CAP_IPC_OWNER>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:139
+#: build/C/man7/capabilities.7:147
msgid "Bypass permission checks for operations on System V IPC objects."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:139
+#: build/C/man7/capabilities.7:147
#, no-wrap
msgid "B<CAP_KILL>"
msgstr ""
#. if the child does an exec(). What is the rationale
#. for this?
#. type: Plain text
-#: build/C/man7/capabilities.7:152
+#: build/C/man7/capabilities.7:160
msgid ""
"Bypass permission checks for sending signals (see B<kill>(2)). This "
"includes use of the B<ioctl>(2) B<KDSIGACCEPT> operation."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:152
+#: build/C/man7/capabilities.7:160
#, no-wrap
msgid "B<CAP_LEASE> (since Linux 2.4)"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:156
+#: build/C/man7/capabilities.7:164
msgid "Establish leases on arbitrary files (see B<fcntl>(2))."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:156
+#: build/C/man7/capabilities.7:164
#, no-wrap
msgid "B<CAP_LINUX_IMMUTABLE>"
msgstr ""
#. These attributes are now available on ext2, ext3, Reiserfs, XFS, JFS
#. type: Plain text
-#: build/C/man7/capabilities.7:165
+#: build/C/man7/capabilities.7:173
msgid ""
"Set the B<FS_APPEND_FL> and B<FS_IMMUTABLE_FL> i-node flags (see "
"B<chattr>(1))."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:165
+#: build/C/man7/capabilities.7:173
#, no-wrap
msgid "B<CAP_MAC_ADMIN> (since Linux 2.6.25)"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:169
+#: build/C/man7/capabilities.7:177
msgid ""
"Override Mandatory Access Control (MAC). Implemented for the Smack Linux "
"Security Module (LSM)."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:169
+#: build/C/man7/capabilities.7:177
#, no-wrap
msgid "B<CAP_MAC_OVERRIDE> (since Linux 2.6.25)"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:173
+#: build/C/man7/capabilities.7:181
msgid "Allow MAC configuration or state changes. Implemented for the Smack LSM."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:173
+#: build/C/man7/capabilities.7:181
#, no-wrap
msgid "B<CAP_MKNOD> (since Linux 2.4)"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:177
+#: build/C/man7/capabilities.7:185
msgid "Create special files using B<mknod>(2)."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:177
+#: build/C/man7/capabilities.7:185
#, no-wrap
msgid "B<CAP_NET_ADMIN>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:180
+#: build/C/man7/capabilities.7:188
msgid "Perform various network-related operations:"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:184
+#: build/C/man7/capabilities.7:192
msgid "interface configuration;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:186
+#: build/C/man7/capabilities.7:194
msgid "administration of IP firewall, masquerading, and accounting"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:188
+#: build/C/man7/capabilities.7:196
msgid "modify routing tables;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:190
+#: build/C/man7/capabilities.7:198
msgid "bind to any address for transparent proxying;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:192
+#: build/C/man7/capabilities.7:200
msgid "set type-of-service (TOS)"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:194
+#: build/C/man7/capabilities.7:202
msgid "clear driver statistics;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:196
+#: build/C/man7/capabilities.7:204
msgid "set promiscuous mode;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:198
+#: build/C/man7/capabilities.7:206
msgid "enabling multicasting;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:209
+#: build/C/man7/capabilities.7:217
msgid ""
"use B<setsockopt>(2) to set the following socket options: B<SO_DEBUG>, "
"B<SO_MARK>, B<SO_PRIORITY> (for a priority outside the range 0 to 6), "
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:211
+#: build/C/man7/capabilities.7:219
#, no-wrap
msgid "B<CAP_NET_BIND_SERVICE>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:215
+#: build/C/man7/capabilities.7:223
msgid ""
"Bind a socket to Internet domain privileged ports (port numbers less than "
"1024)."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:215
+#: build/C/man7/capabilities.7:223
#, no-wrap
msgid "B<CAP_NET_BROADCAST>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:218
+#: build/C/man7/capabilities.7:226
msgid "(Unused) Make socket broadcasts, and listen to multicasts."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:218
+#: build/C/man7/capabilities.7:226
#, no-wrap
msgid "B<CAP_NET_RAW>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:224
+#: build/C/man7/capabilities.7:232
msgid "use RAW and PACKET sockets;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:226
+#: build/C/man7/capabilities.7:234
msgid "bind to any address for transparent proxying."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:229
+#: build/C/man7/capabilities.7:237
#, no-wrap
msgid "B<CAP_SETGID>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:233
+#: build/C/man7/capabilities.7:241
msgid ""
"Make arbitrary manipulations of process GIDs and supplementary GID list; "
"forge GID when passing socket credentials via UNIX domain sockets."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:233
+#: build/C/man7/capabilities.7:241
#, no-wrap
msgid "B<CAP_SETFCAP> (since Linux 2.6.24)"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:236
+#: build/C/man7/capabilities.7:244
msgid "Set file capabilities."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:236
+#: build/C/man7/capabilities.7:244
#, no-wrap
msgid "B<CAP_SETPCAP>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:247
+#: build/C/man7/capabilities.7:255
msgid ""
"If file capabilities are not supported: grant or remove any capability in "
"the caller's permitted capability set to or from any other process. (This "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:257
+#: build/C/man7/capabilities.7:265
msgid ""
"If file capabilities are supported: add any capability from the calling "
"thread's bounding set to its inheritable set; drop capabilities from the "
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:257
+#: build/C/man7/capabilities.7:265
#, no-wrap
msgid "B<CAP_SETUID>"
msgstr ""
#. FIXME CAP_SETUID also an effect in exec(); document this.
#. type: Plain text
-#: build/C/man7/capabilities.7:266
+#: build/C/man7/capabilities.7:274
msgid ""
"Make arbitrary manipulations of process UIDs (B<setuid>(2), B<setreuid>(2), "
"B<setresuid>(2), B<setfsuid>(2)); make forged UID when passing socket "
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:266
+#: build/C/man7/capabilities.7:274
#, no-wrap
msgid "B<CAP_SYS_ADMIN>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:280
+#: build/C/man7/capabilities.7:288
msgid ""
"Perform a range of system administration operations including: "
"B<quotactl>(2), B<mount>(2), B<umount>(2), B<swapon>(2), B<swapoff>(2), "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:286
+#: build/C/man7/capabilities.7:294
msgid ""
"perform privileged B<syslog>(2) operations (since Linux 2.6.37, "
"B<CAP_SYSLOG> should be used to permit such operations);"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:291
+#: build/C/man7/capabilities.7:299
msgid "perform B<VM86_REQUEST_IRQ> B<vm86>(2) command;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:297
+#: build/C/man7/capabilities.7:305
msgid ""
"perform B<IPC_SET> and B<IPC_RMID> operations on arbitrary System V IPC "
"objects;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:304
+#: build/C/man7/capabilities.7:312
msgid ""
"perform operations on I<trusted> and I<security> Extended Attributes (see "
"B<attr>(5));"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:307
+#: build/C/man7/capabilities.7:315
msgid "use B<lookup_dcookie>(2);"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:315
+#: build/C/man7/capabilities.7:323
msgid ""
"use B<ioprio_set>(2) to assign B<IOPRIO_CLASS_RT> and (before Linux 2.6.25) "
"B<IOPRIO_CLASS_IDLE> I/O scheduling classes;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:317
+#: build/C/man7/capabilities.7:325
msgid "forge UID when passing socket credentials;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:326
+#: build/C/man7/capabilities.7:334
msgid ""
"exceed I</proc/sys/fs/file-max>, the system-wide limit on the number of open "
"files, in system calls that open files (e.g., B<accept>(2), B<execve>(2), "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:333
+#: build/C/man7/capabilities.7:341
msgid ""
"employ B<CLONE_*> flags that create new namespaces with B<clone>(2) and "
"B<unshare>(2);"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:336
+#: build/C/man7/capabilities.7:344
msgid "call B<perf_event_open>(2);"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:340
+#: build/C/man7/capabilities.7:348
msgid "access privileged I<perf> event information;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:343
+#: build/C/man7/capabilities.7:351
msgid "call B<setns>(2);"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:346
+#: build/C/man7/capabilities.7:354
msgid "call B<fanotify_init>(2);"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:353
+#: build/C/man7/capabilities.7:361
msgid "perform B<KEYCTL_CHOWN> and B<KEYCTL_SETPERM> B<keyctl>(2) operations;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:358
+#: build/C/man7/capabilities.7:366
msgid "perform B<madvise>(2) B<MADV_HWPOISON> operation;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:364
+#: build/C/man7/capabilities.7:372
msgid ""
"employ the B<TIOCSTI> B<ioctl>(2) to insert characters into the input queue "
"of a terminal other than the caller's controlling terminal."
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:368
+#: build/C/man7/capabilities.7:376
msgid "employ the obsolete B<nfsservctl>(2) system call;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:372
+#: build/C/man7/capabilities.7:380
msgid "employ the obsolete B<bdflush>(2) system call;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:376
+#: build/C/man7/capabilities.7:384
msgid "perform various privileged block-device B<ioctl>(2) operations;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:380
+#: build/C/man7/capabilities.7:388
msgid "perform various privileged file-system B<ioctl>(2) operations;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:382
+#: build/C/man7/capabilities.7:390
msgid "perform administrative operations on many device drivers."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:384
+#: build/C/man7/capabilities.7:392
#, no-wrap
msgid "B<CAP_SYS_BOOT>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:390
+#: build/C/man7/capabilities.7:398
msgid "Use B<reboot>(2) and B<kexec_load>(2)."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:390
+#: build/C/man7/capabilities.7:398
#, no-wrap
msgid "B<CAP_SYS_CHROOT>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:394
+#: build/C/man7/capabilities.7:402
msgid "Use B<chroot>(2)."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:394
+#: build/C/man7/capabilities.7:402
#, no-wrap
msgid "B<CAP_SYS_MODULE>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:403
+#: build/C/man7/capabilities.7:411
msgid ""
"Load and unload kernel modules (see B<init_module>(2) and "
"B<delete_module>(2)); in kernels before 2.6.25: drop capabilities from the "
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:403
+#: build/C/man7/capabilities.7:411
#, no-wrap
msgid "B<CAP_SYS_NICE>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:412
+#: build/C/man7/capabilities.7:420
msgid ""
"Raise process nice value (B<nice>(2), B<setpriority>(2)) and change the "
"nice value for arbitrary processes;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:417
+#: build/C/man7/capabilities.7:425
msgid ""
"set real-time scheduling policies for calling process, and set scheduling "
"policies and priorities for arbitrary processes (B<sched_setscheduler>(2), "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:420
+#: build/C/man7/capabilities.7:428
msgid "set CPU affinity for arbitrary processes (B<sched_setaffinity>(2));"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:423
+#: build/C/man7/capabilities.7:431
msgid ""
"set I/O scheduling class and priority for arbitrary processes "
"(B<ioprio_set>(2));"
#. do_migrate_pages(mm, &old, &new,
#. capable(CAP_SYS_NICE) ? MPOL_MF_MOVE_ALL : MPOL_MF_MOVE);
#. type: Plain text
-#: build/C/man7/capabilities.7:432
+#: build/C/man7/capabilities.7:440
msgid ""
"apply B<migrate_pages>(2) to arbitrary processes and allow processes to be "
"migrated to arbitrary nodes;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:436
+#: build/C/man7/capabilities.7:444
msgid "apply B<move_pages>(2) to arbitrary processes;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:443
+#: build/C/man7/capabilities.7:451
msgid "use the B<MPOL_MF_MOVE_ALL> flag with B<mbind>(2) and B<move_pages>(2)."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:445
+#: build/C/man7/capabilities.7:453
#, no-wrap
msgid "B<CAP_SYS_PACCT>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:449
+#: build/C/man7/capabilities.7:457
msgid "Use B<acct>(2)."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:449
+#: build/C/man7/capabilities.7:457
#, no-wrap
msgid "B<CAP_SYS_PTRACE>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:456
+#: build/C/man7/capabilities.7:466
msgid ""
"Trace arbitrary processes using B<ptrace>(2); apply B<get_robust_list>(2) "
-"to arbitrary processes."
+"to arbitrary processes; inspect processes using B<kcmp>(2)."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:456
+#: build/C/man7/capabilities.7:466
#, no-wrap
msgid "B<CAP_SYS_RAWIO>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:468
+#: build/C/man7/capabilities.7:475
+msgid "Perform I/O port operations (B<iopl>(2) and B<ioperm>(2));"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man7/capabilities.7:478
+msgid "access I</proc/kcore>;"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man7/capabilities.7:483
+msgid "employ the B<FIBMAP> B<ioctl>(2) operation;"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man7/capabilities.7:486
msgid ""
-"Perform I/O port operations (B<iopl>(2) and B<ioperm>(2)); access "
-"I</proc/kcore>; employ the B<FIBMAP> B<ioctl>(2) operation."
+"open devices for accessing x86 model-specific registers (MSRs, see "
+"B<msr>(4))"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man7/capabilities.7:489
+msgid "update I</proc/sys/vm/mmap_min_addr>;"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man7/capabilities.7:492
+msgid ""
+"create memory mappings at addresses below the value specified by "
+"I</proc/sys/vm/mmap_min_addr>;"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man7/capabilities.7:495
+msgid "map files in I</proc/pci/bus>;"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man7/capabilities.7:500
+msgid "open I</dev/mem> and I</dev/kmem>;"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man7/capabilities.7:502
+msgid "perform various SCSI device commands;"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man7/capabilities.7:508
+msgid "perform certain operations on B<hpsa>(4) and B<cciss>(4) devices;"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man7/capabilities.7:510
+msgid "perform a range of device-specific operations on other devices."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:468
+#: build/C/man7/capabilities.7:512
#, no-wrap
msgid "B<CAP_SYS_RESOURCE>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:474
+#: build/C/man7/capabilities.7:518
msgid "Use reserved space on ext2 file systems;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:478
+#: build/C/man7/capabilities.7:522
msgid "make B<ioctl>(2) calls controlling ext3 journaling;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:480
+#: build/C/man7/capabilities.7:524
msgid "override disk quota limits;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:483
+#: build/C/man7/capabilities.7:527
msgid "increase resource limits (see B<setrlimit>(2));"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:487
+#: build/C/man7/capabilities.7:531
msgid "override B<RLIMIT_NPROC> resource limit;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:489
+#: build/C/man7/capabilities.7:533
msgid "override maximum number of consoles on console allocation;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:491
+#: build/C/man7/capabilities.7:535
msgid "override maximum number of keymaps;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:493
+#: build/C/man7/capabilities.7:537
msgid "allow more than 64hz interrupts from the real-time clock;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:502
+#: build/C/man7/capabilities.7:546
msgid ""
"raise I<msg_qbytes> limit for a System V message queue above the limit in "
"I</proc/sys/kernel/msgmnb> (see B<msgop>(2) and B<msgctl>(2));"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:509
+#: build/C/man7/capabilities.7:553
msgid ""
"override the I</proc/sys/fs/pipe-size-max> limit when setting the capacity "
"of a pipe using the B<F_SETPIPE_SZ> B<fcntl>(2) command."
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:514
+#: build/C/man7/capabilities.7:558
msgid ""
"use B<F_SETPIPE_SZ> to increase the capacity of a pipe above the limit "
"specified by I</proc/sys/fs/pipe-max-size>;"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:519
+#: build/C/man7/capabilities.7:563
msgid ""
"override I</proc/sys/fs/mqueue/queues_max> limit when creating POSIX message "
"queues (see B<mq_overview>(7));"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:524
-msgid "employ B<prctl>(2) B<PR_SET_MM> operation."
+#: build/C/man7/capabilities.7:572
+msgid ""
+"employ B<prctl>(2) B<PR_SET_MM> operation; set I</proc/PID/oom_score_adj> "
+"to a value lower than the value last set by a process with "
+"B<CAP_SYS_RESOURCE>."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:526
+#: build/C/man7/capabilities.7:574
#, no-wrap
msgid "B<CAP_SYS_TIME>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:533
+#: build/C/man7/capabilities.7:581
msgid ""
"Set system clock (B<settimeofday>(2), B<stime>(2), B<adjtimex>(2)); set "
"real-time (hardware) clock."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:533
+#: build/C/man7/capabilities.7:581
#, no-wrap
msgid "B<CAP_SYS_TTY_CONFIG>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:540
+#: build/C/man7/capabilities.7:588
msgid ""
"Use B<vhangup>(2); employ various privileged B<ioctl>(2) operations on "
"virtual terminals."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:540
+#: build/C/man7/capabilities.7:588
#, no-wrap
msgid "B<CAP_SYSLOG> (since Linux 2.6.37)"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:548
+#: build/C/man7/capabilities.7:597
msgid ""
"Perform privileged B<syslog>(2) operations. See B<syslog>(2) for "
"information on which operations require privilege."
msgstr ""
+#. type: Plain text
+#: build/C/man7/capabilities.7:607
+msgid ""
+"View kernel addresses exposed via I</proc> and other interfaces when "
+"I</proc/sys/kernel/kptr_restrict> has the value 1. (See the discussion of "
+"the I<kptr_restrict> in B<proc>(5).)"
+msgstr ""
+
#. type: TP
-#: build/C/man7/capabilities.7:548
+#: build/C/man7/capabilities.7:607
#, no-wrap
msgid "B<CAP_WAKE_ALARM> (since Linux 3.0)"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:556
+#: build/C/man7/capabilities.7:615
msgid ""
"Trigger something that will wake up the system (set B<CLOCK_REALTIME_ALARM> "
"and B<CLOCK_BOOTTIME_ALARM> timers)."
msgstr ""
#. type: SS
-#: build/C/man7/capabilities.7:556
+#: build/C/man7/capabilities.7:615
#, no-wrap
-msgid "Past and Current Implementation"
+msgid "Past and current implementation"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:558
+#: build/C/man7/capabilities.7:617
msgid "A full implementation of capabilities requires that:"
msgstr ""
#. type: IP
-#: build/C/man7/capabilities.7:558 build/C/man7/capabilities.7:701 build/C/man7/capabilities.7:848 build/C/man7/capabilities.7:901
+#: build/C/man7/capabilities.7:617 build/C/man7/capabilities.7:760 build/C/man7/capabilities.7:907 build/C/man7/capabilities.7:960
#, no-wrap
msgid "1."
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:562
+#: build/C/man7/capabilities.7:621
msgid ""
"For all privileged operations, the kernel must check whether the thread has "
"the required capability in its effective set."
msgstr ""
#. type: IP
-#: build/C/man7/capabilities.7:562 build/C/man7/capabilities.7:706 build/C/man7/capabilities.7:854 build/C/man7/capabilities.7:907
+#: build/C/man7/capabilities.7:621 build/C/man7/capabilities.7:765 build/C/man7/capabilities.7:913 build/C/man7/capabilities.7:966
#, no-wrap
msgid "2."
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:565
+#: build/C/man7/capabilities.7:624
msgid ""
"The kernel must provide system calls allowing a thread's capability sets to "
"be changed and retrieved."
msgstr ""
#. type: IP
-#: build/C/man7/capabilities.7:565 build/C/man7/capabilities.7:857 build/C/man7/capabilities.7:911
+#: build/C/man7/capabilities.7:624 build/C/man7/capabilities.7:916 build/C/man7/capabilities.7:970
#, no-wrap
msgid "3."
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:568
+#: build/C/man7/capabilities.7:627
msgid ""
"The file system must support attaching capabilities to an executable file, "
"so that a process gains those capabilities when the file is executed."
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:572
+#: build/C/man7/capabilities.7:631
msgid ""
"Before kernel 2.6.24, only the first two of these requirements are met; "
"since kernel 2.6.24, all three requirements are met."
msgstr ""
#. type: SS
-#: build/C/man7/capabilities.7:572
+#: build/C/man7/capabilities.7:631
#, no-wrap
-msgid "Thread Capability Sets"
+msgid "Thread capability sets"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:575
+#: build/C/man7/capabilities.7:634
msgid ""
"Each thread has three capability sets containing zero or more of the above "
"capabilities:"
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:575
+#: build/C/man7/capabilities.7:634
#, no-wrap
msgid "I<Permitted>:"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:583
+#: build/C/man7/capabilities.7:642
msgid ""
"This is a limiting superset for the effective capabilities that the thread "
"may assume. It is also a limiting superset for the capabilities that may be "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:589
+#: build/C/man7/capabilities.7:648
msgid ""
"If a thread drops a capability from its permitted set, it can never "
"reacquire that capability (unless it B<execve>(2)s either a set-user-ID-root "
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:589
+#: build/C/man7/capabilities.7:648
#, no-wrap
msgid "I<Inheritable>:"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:596
+#: build/C/man7/capabilities.7:655
msgid ""
"This is a set of capabilities preserved across an B<execve>(2). It provides "
"a mechanism for a process to assign capabilities to the permitted set of the "
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:596 build/C/man7/capabilities.7:638
+#: build/C/man7/capabilities.7:655 build/C/man7/capabilities.7:697
#, no-wrap
msgid "I<Effective>:"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:600
+#: build/C/man7/capabilities.7:659
msgid ""
"This is the set of capabilities used by the kernel to perform permission "
"checks for the thread."
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:606
+#: build/C/man7/capabilities.7:665
msgid ""
"A child created via B<fork>(2) inherits copies of its parent's capability "
"sets. See below for a discussion of the treatment of capabilities during "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:611
+#: build/C/man7/capabilities.7:670
msgid ""
"Using B<capset>(2), a thread may manipulate its own capability sets (see "
"below)."
msgstr ""
#. type: SS
-#: build/C/man7/capabilities.7:611
+#: build/C/man7/capabilities.7:670
#, no-wrap
-msgid "File Capabilities"
+msgid "File capabilities"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:626
+#: build/C/man7/capabilities.7:685
msgid ""
"Since kernel 2.6.24, the kernel supports associating capability sets with an "
"executable file using B<setcap>(8). The file capability sets are stored in "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:628
+#: build/C/man7/capabilities.7:687
msgid "The three file capability sets are:"
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:628
+#: build/C/man7/capabilities.7:687
#, no-wrap
msgid "I<Permitted> (formerly known as I<forced>):"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:632
+#: build/C/man7/capabilities.7:691
msgid ""
"These capabilities are automatically permitted to the thread, regardless of "
"the thread's inheritable capabilities."
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:632
+#: build/C/man7/capabilities.7:691
#, no-wrap
msgid "I<Inheritable> (formerly known as I<allowed>):"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:638
+#: build/C/man7/capabilities.7:697
msgid ""
"This set is ANDed with the thread's inheritable set to determine which "
"inheritable capabilities are enabled in the permitted set of the thread "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:648
+#: build/C/man7/capabilities.7:707
msgid ""
"This is not a set, but rather just a single bit. If this bit is set, then "
"during an B<execve>(2) all of the new permitted capabilities for the thread "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:664
+#: build/C/man7/capabilities.7:723
msgid ""
"Enabling the file effective capability bit implies that any file permitted "
"or inheritable capability that causes a thread to acquire the corresponding "
msgstr ""
#. type: SS
-#: build/C/man7/capabilities.7:664
+#: build/C/man7/capabilities.7:723
#, no-wrap
-msgid "Transformation of Capabilities During execve()"
+msgid "Transformation of capabilities during execve()"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:670
+#: build/C/man7/capabilities.7:729
msgid ""
"During an B<execve>(2), the kernel calculates the new capabilities of the "
"process using the following algorithm:"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:675
+#: build/C/man7/capabilities.7:734
#, no-wrap
msgid ""
"P'(permitted) = (P(inheritable) & F(inheritable)) |\n"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:677
+#: build/C/man7/capabilities.7:736
#, no-wrap
msgid "P'(effective) = F(effective) ? P'(permitted) : 0\n"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:679
+#: build/C/man7/capabilities.7:738
#, no-wrap
msgid "P'(inheritable) = P(inheritable) [i.e., unchanged]\n"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:683
+#: build/C/man7/capabilities.7:742
msgid "where:"
msgstr ""
#. type: IP
-#: build/C/man7/capabilities.7:684
+#: build/C/man7/capabilities.7:743
#, no-wrap
msgid "P"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:687
+#: build/C/man7/capabilities.7:746
msgid "denotes the value of a thread capability set before the B<execve>(2)"
msgstr ""
#. type: IP
-#: build/C/man7/capabilities.7:687
+#: build/C/man7/capabilities.7:746
#, no-wrap
msgid "P'"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:690
+#: build/C/man7/capabilities.7:749
msgid "denotes the value of a capability set after the B<execve>(2)"
msgstr ""
#. type: IP
-#: build/C/man7/capabilities.7:690
+#: build/C/man7/capabilities.7:749
#, no-wrap
msgid "F"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:692
+#: build/C/man7/capabilities.7:751
msgid "denotes a file capability set"
msgstr ""
#. type: IP
-#: build/C/man7/capabilities.7:692
+#: build/C/man7/capabilities.7:751
#, no-wrap
msgid "cap_bset"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:694
+#: build/C/man7/capabilities.7:753
msgid "is the value of the capability bounding set (described below)."
msgstr ""
#. type: SS
-#: build/C/man7/capabilities.7:696
+#: build/C/man7/capabilities.7:755
#, no-wrap
msgid "Capabilities and execution of programs by root"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:701
+#: build/C/man7/capabilities.7:760
msgid ""
"In order to provide an all-powerful I<root> using capability sets, during an "
"B<execve>(2):"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:706
+#: build/C/man7/capabilities.7:765
msgid ""
"If a set-user-ID-root program is being executed, or the real user ID of the "
"process is 0 (root) then the file inheritable and permitted sets are "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:709
+#: build/C/man7/capabilities.7:768
msgid ""
"If a set-user-ID-root program is being executed, then the file effective bit "
"is defined to be one (enabled)."
#. exec(), then it gets all capabilities in its
#. permitted set, and no effective capabilities
#. type: Plain text
-#: build/C/man7/capabilities.7:724
+#: build/C/man7/capabilities.7:783
msgid ""
"The upshot of the above rules, combined with the capabilities "
"transformations described above, is that when a process B<execve>(2)s a "
msgstr ""
#. type: SS
-#: build/C/man7/capabilities.7:724
+#: build/C/man7/capabilities.7:783
#, no-wrap
msgid "Capability bounding set"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:729
+#: build/C/man7/capabilities.7:788
msgid ""
"The capability bounding set is a security mechanism that can be used to "
"limit the capabilities that can be gained during an B<execve>(2). The "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:737
+#: build/C/man7/capabilities.7:796
msgid ""
"During an B<execve>(2), the capability bounding set is ANDed with the file "
"permitted capability set, and the result of this operation is assigned to "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:749
+#: build/C/man7/capabilities.7:808
msgid ""
"(Since Linux 2.6.25) The capability bounding set acts as a limiting "
"superset for the capabilities that a thread can add to its inheritable set "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:756
+#: build/C/man7/capabilities.7:815
msgid ""
"Note that the bounding set masks the file permitted capabilities, but not "
"the inherited capabilities. If a thread maintains a capability in its "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:759
+#: build/C/man7/capabilities.7:818
msgid ""
"Depending on the kernel version, the capability bounding set is either a "
"system-wide attribute, or a per-process attribute."
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:761
+#: build/C/man7/capabilities.7:820
msgid "B<Capability bounding set prior to Linux 2.6.25>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:769
+#: build/C/man7/capabilities.7:828
msgid ""
"In kernels before 2.6.25, the capability bounding set is a system-wide "
"attribute that affects all threads on the system. The bounding set is "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:776
+#: build/C/man7/capabilities.7:835
msgid ""
"Only the B<init> process may set capabilities in the capability bounding "
"set; other than that, the superuser (more precisely: programs with the "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:785
+#: build/C/man7/capabilities.7:844
msgid ""
"On a standard system the capability bounding set always masks out the "
"B<CAP_SETPCAP> capability. To remove this restriction (dangerous!), modify "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:789
+#: build/C/man7/capabilities.7:848
msgid ""
"The system-wide capability bounding set feature was added to Linux starting "
"with kernel version 2.2.11."
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:791
+#: build/C/man7/capabilities.7:850
msgid "B<Capability bounding set from Linux 2.6.25 onward>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:796
+#: build/C/man7/capabilities.7:855
msgid ""
"From Linux 2.6.25, the I<capability bounding set> is a per-thread "
"attribute. (There is no longer a system-wide capability bounding set.)"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:801
+#: build/C/man7/capabilities.7:860
msgid ""
"The bounding set is inherited at B<fork>(2) from the thread's parent, and "
"is preserved across an B<execve>(2)."
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:814
+#: build/C/man7/capabilities.7:873
msgid ""
"A thread may remove capabilities from its capability bounding set using the "
"B<prctl>(2) B<PR_CAPBSET_DROP> operation, provided it has the "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:832
+#: build/C/man7/capabilities.7:891
msgid ""
"Removing capabilities from the bounding set is only supported if file "
"capabilities are compiled into the kernel. In kernels before Linux 2.6.33, "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:839
+#: build/C/man7/capabilities.7:898
msgid ""
"Removing a capability from the bounding set does not remove it from the "
"thread's inherited set. However it does prevent the capability from being "
msgstr ""
#. type: SS
-#: build/C/man7/capabilities.7:839
+#: build/C/man7/capabilities.7:898
#, no-wrap
-msgid "Effect of User ID Changes on Capabilities"
+msgid "Effect of user ID changes on capabilities"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:848
+#: build/C/man7/capabilities.7:907
msgid ""
"To preserve the traditional semantics for transitions between 0 and nonzero "
"user IDs, the kernel makes the following changes to a thread's capability "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:854
+#: build/C/man7/capabilities.7:913
msgid ""
"If one or more of the real, effective or saved set user IDs was previously "
"0, and as a result of the UID changes all of these IDs have a nonzero value, "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:857
+#: build/C/man7/capabilities.7:916
msgid ""
"If the effective user ID is changed from 0 to nonzero, then all capabilities "
"are cleared from the effective set."
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:860
+#: build/C/man7/capabilities.7:919
msgid ""
"If the effective user ID is changed from nonzero to 0, then the permitted "
"set is copied to the effective set."
msgstr ""
#. type: IP
-#: build/C/man7/capabilities.7:860 build/C/man7/capabilities.7:915
+#: build/C/man7/capabilities.7:919 build/C/man7/capabilities.7:974
#, no-wrap
msgid "4."
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:878
+#: build/C/man7/capabilities.7:937
msgid ""
"If the file system user ID is changed from 0 to nonzero (see B<setfsuid>(2)) "
"then the following capabilities are cleared from the effective set: "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:886
+#: build/C/man7/capabilities.7:945
msgid ""
"If a thread that has a 0 value for one or more of its user IDs wants to "
"prevent its permitted capability set being cleared when it resets all of its "
msgstr ""
#. type: SS
-#: build/C/man7/capabilities.7:886
+#: build/C/man7/capabilities.7:945
#, no-wrap
msgid "Programmatically adjusting capability sets"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:901
+#: build/C/man7/capabilities.7:960
msgid ""
"A thread can retrieve and change its capability sets using the B<capget>(2) "
"and B<capset>(2) system calls. However, the use of B<cap_get_proc>(3) and "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:907
+#: build/C/man7/capabilities.7:966
msgid ""
"If the caller does not have the B<CAP_SETPCAP> capability, the new "
"inheritable set must be a subset of the combination of the existing "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:911
+#: build/C/man7/capabilities.7:970
msgid ""
"(Since kernel 2.6.25) The new inheritable set must be a subset of the "
"combination of the existing inheritable set and the capability bounding set."
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:915
+#: build/C/man7/capabilities.7:974
msgid ""
"The new permitted set must be a subset of the existing permitted set (i.e., "
"it is not possible to acquire permitted capabilities that the thread does "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:917
+#: build/C/man7/capabilities.7:976
msgid "The new effective set must be a subset of the new permitted set."
msgstr ""
#. type: SS
-#: build/C/man7/capabilities.7:917
+#: build/C/man7/capabilities.7:976
#, no-wrap
-msgid "The \"securebits\" flags: establishing a capabilities-only environment"
+msgid "The securebits flags: establishing a capabilities-only environment"
msgstr ""
#. For some background:
#. see http://lwn.net/Articles/280279/ and
#. http://article.gmane.org/gmane.linux.kernel.lsm/5476/
#. type: Plain text
-#: build/C/man7/capabilities.7:928
+#: build/C/man7/capabilities.7:987
msgid ""
"Starting with kernel 2.6.26, and with a kernel in which file capabilities "
"are enabled, Linux implements a set of per-thread I<securebits> flags that "
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:928
+#: build/C/man7/capabilities.7:987
#, no-wrap
msgid "B<SECBIT_KEEP_CAPS>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:940
+#: build/C/man7/capabilities.7:999
msgid ""
"Setting this flag allows a thread that has one or more 0 UIDs to retain its "
"capabilities when it switches all of its UIDs to a nonzero value. If this "
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:940
+#: build/C/man7/capabilities.7:999
#, no-wrap
msgid "B<SECBIT_NO_SETUID_FIXUP>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:947
+#: build/C/man7/capabilities.7:1006
msgid ""
"Setting this flag stops the kernel from adjusting capability sets when the "
"threads's effective and file system UIDs are switched between zero and "
msgstr ""
#. type: TP
-#: build/C/man7/capabilities.7:947
+#: build/C/man7/capabilities.7:1006
#, no-wrap
msgid "B<SECBIT_NOROOT>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:955
+#: build/C/man7/capabilities.7:1014
msgid ""
"If this bit is set, then the kernel does not grant capabilities when a "
"set-user-ID-root program is executed, or when a process with an effective or "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:965
+#: build/C/man7/capabilities.7:1024
msgid ""
"Each of the above \"base\" flags has a companion \"locked\" flag. Setting "
"any of the \"locked\" flags is irreversible, and has the effect of "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:977
+#: build/C/man7/capabilities.7:1036
msgid ""
"The I<securebits> flags can be modified and retrieved using the B<prctl>(2) "
"B<PR_SET_SECUREBITS> and B<PR_GET_SECUREBITS> operations. The "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:986
+#: build/C/man7/capabilities.7:1045
msgid ""
"The I<securebits> flags are inherited by child processes. During an "
"B<execve>(2), all of the flags are preserved, except B<SECBIT_KEEP_CAPS> "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:991
+#: build/C/man7/capabilities.7:1050
msgid ""
"An application can use the following call to lock itself, and all of its "
"descendants, into an environment where the only way of gaining capabilities "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:1000
+#: build/C/man7/capabilities.7:1059
#, no-wrap
msgid ""
"prctl(PR_SET_SECUREBITS,\n"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:1007
+#: build/C/man7/capabilities.7:1067
msgid ""
"No standards govern capabilities, but the Linux capability implementation is "
-"based on the withdrawn POSIX.1e draft standard; see "
-"I<http://wt.xpilot.org/publications/posix.1e/>."
+"based on the withdrawn POSIX.1e draft standard; see E<.UR "
+"http://wt.tuxomania.net\\:/publications\\:/posix.1e/> E<.UE .>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:1011
+#: build/C/man7/capabilities.7:1071
msgid ""
"Since kernel 2.5.27, capabilities are an optional kernel component, and can "
"be enabled/disabled via the CONFIG_SECURITY_CAPABILITIES kernel "
"configuration option."
msgstr ""
+#. 7b9a7ec565505699f503b4fcf61500dceb36e744
#. type: Plain text
-#: build/C/man7/capabilities.7:1018
+#: build/C/man7/capabilities.7:1085
msgid ""
"The I</proc/PID/task/TID/status> file can be used to view the capability "
"sets of a thread. The I</proc/PID/status> file shows the capability sets of "
-"a process's main thread."
+"a process's main thread. Before Linux 3.8, nonexistent capabilities were "
+"shown as being enabled (1) in these sets. Since Linux 3.8, all non-existent "
+"capabilities (above B<CAP_LAST_CAP>) are shown as disabled (0)."
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:1033
+#: build/C/man7/capabilities.7:1100
msgid ""
"The I<libcap> package provides a suite of routines for setting and getting "
"capabilities that is more comfortable and less likely to change than the "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:1035
-msgid "I<http://www.kernel.org/pub/linux/libs/security/linux-privs>."
+#: build/C/man7/capabilities.7:1103
+msgid ""
+"E<.UR "
+"http://www.kernel.org\\:/pub\\:/linux\\:/libs\\:/security\\:/linux-privs> "
+"E<.UE .>"
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:1044
+#: build/C/man7/capabilities.7:1112
msgid ""
"Before kernel 2.6.24, and since kernel 2.6.24 if file capabilities are not "
"enabled, a thread with the B<CAP_SETPCAP> capability can manipulate the "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:1049
+#: build/C/man7/capabilities.7:1117
msgid ""
"In the pre-2.6.25 implementation the system-wide capability bounding set, "
"I</proc/sys/kernel/cap-bound>, always masks out this capability, and this "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:1055
+#: build/C/man7/capabilities.7:1123
msgid ""
"If file capabilities are disabled in the current implementation, then "
"B<init> starts out with this capability removed from its per-process "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:1072
+#: build/C/man7/capabilities.7:1140
msgid ""
"B<capget>(2), B<prctl>(2), B<setfsuid>(2), B<cap_clear>(3), "
"B<cap_copy_ext>(3), B<cap_from_text>(3), B<cap_get_file>(3), "
msgstr ""
#. type: Plain text
-#: build/C/man7/capabilities.7:1076
-msgid ""
-"Comments on the purposes of various capabilities in "
-"I<include/linux/capability.h> in the kernel source"
+#: build/C/man7/capabilities.7:1143
+msgid "I<include/linux/capability.h> in the Linux kernel source tree"
msgstr ""
#. type: TH
-#: build/C/man2/capget.2:11
+#: build/C/man2/capget.2:15
#, no-wrap
msgid "CAPGET"
msgstr ""
-#. type: TH
-#: build/C/man2/capget.2:11
-#, no-wrap
-msgid "2010-09-20"
-msgstr ""
-
#. type: Plain text
-#: build/C/man2/capget.2:14
+#: build/C/man2/capget.2:18
msgid "capget, capset - set/get capabilities of thread(s)"
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:16
+#: build/C/man2/capget.2:20
msgid "B<#include E<lt>sys/capability.hE<gt>>"
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:18
+#: build/C/man2/capget.2:22
msgid "B<int capget(cap_user_header_t >I<hdrp>B<, cap_user_data_t >I<datap>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:20
+#: build/C/man2/capget.2:24
msgid ""
"B<int capset(cap_user_header_t >I<hdrp>B<, const cap_user_data_t "
">I<datap>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:31
+#: build/C/man2/capget.2:35
msgid ""
"As of Linux 2.2, the power of the superuser (root) has been partitioned into "
"a set of discrete capabilities. Each thread has a set of effective "
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:40
+#: build/C/man2/capget.2:44
msgid ""
-"These two functions are the raw kernel interface for getting and setting "
+"These two system calls are the raw kernel interface for getting and setting "
"thread capabilities. Not only are these system calls specific to Linux, but "
-"the kernel API is likely to change and use of these functions (in particular "
-"the format of the I<cap_user_*_t> types) is subject to extension with each "
-"kernel revision, but old programs will keep working."
+"the kernel API is likely to change and use of these system calls (in "
+"particular the format of the I<cap_user_*_t> types) is subject to extension "
+"with each kernel revision, but old programs will keep working."
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:51
+#: build/C/man2/capget.2:55
msgid ""
"The portable interfaces are B<cap_set_proc>(3) and B<cap_get_proc>(3); if "
"possible you should use those interfaces in applications. If you wish to "
msgstr ""
#. type: SS
-#: build/C/man2/capget.2:51
+#: build/C/man2/capget.2:55
#, no-wrap
msgid "Current details"
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:54
+#: build/C/man2/capget.2:58
msgid ""
"Now that you have been warned, some current kernel details. The structures "
"are defined as follows."
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:59
+#: build/C/man2/capget.2:63
#, no-wrap
msgid ""
"#define _LINUX_CAPABILITY_VERSION_1 0x19980330\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:62
+#: build/C/man2/capget.2:66
#, no-wrap
msgid ""
"#define _LINUX_CAPABILITY_VERSION_2 0x20071026\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:67
+#: build/C/man2/capget.2:71
#, no-wrap
msgid ""
"typedef struct __user_cap_header_struct {\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:73
+#: build/C/man2/capget.2:77
#, no-wrap
msgid ""
"typedef struct __user_cap_data_struct {\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:88
+#: build/C/man2/capget.2:96
msgid ""
-"I<effective, permitted, inheritable> are bitmasks of the capabilities "
-"defined in I<capability(7).> Note the I<CAP_*> values are bit indexes and "
-"need to be bit-shifted before ORing into the bit fields. To define the "
-"structures for passing to the system call you have to use the I<struct "
-"__user_cap_header_struct> and I<struct __user_cap_data_struct> names because "
-"the typedefs are only pointers."
+"The I<effective>, I<permitted>, and I<inheritable> fields are bit masks of "
+"the capabilities defined in I<capability(7).> Note the B<CAP_*> values are "
+"bit indexes and need to be bit-shifted before ORing into the bit fields. To "
+"define the structures for passing to the system call you have to use the "
+"I<struct __user_cap_header_struct> and I<struct __user_cap_data_struct> "
+"names because the typedefs are only pointers."
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:100
+#: build/C/man2/capget.2:108
msgid ""
"Kernels prior to 2.6.25 prefer 32-bit capabilities with version "
"B<_LINUX_CAPABILITY_VERSION_1>, and kernels 2.6.25+ prefer 64-bit "
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:104
+#: build/C/man2/capget.2:112
msgid ""
"Another change affecting the behavior of these system calls is kernel "
"support for file capabilities (VFS capability support). This support is "
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:111
+#: build/C/man2/capget.2:119
msgid ""
"For B<capget>() calls, one can probe the capabilities of any process by "
"specifying its process ID with the I<hdrp-E<gt>pid> field value."
msgstr ""
#. type: SS
-#: build/C/man2/capget.2:111
+#: build/C/man2/capget.2:119
#, no-wrap
-msgid "With VFS Capability Support"
+msgid "With VFS capability support"
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:123
+#: build/C/man2/capget.2:131
msgid ""
"VFS Capability support creates a file-attribute method for adding "
"capabilities to privileged executables. This privilege model obsoletes "
msgstr ""
#. type: SS
-#: build/C/man2/capget.2:123
+#: build/C/man2/capget.2:131
#, no-wrap
-msgid "Without VFS Capability Support"
+msgid "Without VFS capability support"
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:149
+#: build/C/man2/capget.2:157
msgid ""
"When the kernel does not support VFS capabilities, B<capset>() calls can "
"operate on the capabilities of the thread specified by the I<pid> field of "
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:152
+#: build/C/man2/capget.2:160
msgid "For details on the data, see B<capabilities>(7)."
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:171
+#: build/C/man2/capget.2:179
msgid ""
"The calls will fail with the error B<EINVAL>, and set the I<version> field "
"of I<hdrp> to the kernel preferred value of B<_LINUX_CAPABILITY_VERSION_?> "
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:180
+#: build/C/man2/capget.2:188
msgid ""
"Bad memory address. I<hdrp> must not be NULL. I<datap> may be NULL only "
"when the user is trying to determine the preferred capability version format "
msgstr ""
#. type: TP
-#: build/C/man2/capget.2:180 build/C/man7/cpuset.7:1179 build/C/man7/cpuset.7:1188 build/C/man7/cpuset.7:1197 build/C/man7/cpuset.7:1207 build/C/man7/cpuset.7:1216 build/C/man7/cpuset.7:1223 build/C/man7/cpuset.7:1230 build/C/man2/getgroups.2:114 build/C/man2/getgroups.2:121 build/C/man2/getpriority.2:119 build/C/man2/getrlimit.2:440 build/C/man2/getrusage.2:190 build/C/man2/iopl.2:71 build/C/man2/ioprio_set.2:160 build/C/man2/setpgid.2:200
+#: build/C/man2/capget.2:188 build/C/man7/cpuset.7:1180 build/C/man7/cpuset.7:1189 build/C/man7/cpuset.7:1198 build/C/man7/cpuset.7:1208 build/C/man7/cpuset.7:1217 build/C/man7/cpuset.7:1224 build/C/man7/cpuset.7:1231 build/C/man2/getgroups.2:114 build/C/man2/getgroups.2:121 build/C/man2/getpriority.2:121 build/C/man2/getrlimit.2:440 build/C/man2/getrusage.2:190 build/C/man2/iopl.2:72 build/C/man2/ioprio_set.2:170 build/C/man2/setpgid.2:202
#, no-wrap
msgid "B<EINVAL>"
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:183
+#: build/C/man2/capget.2:191
msgid "One of the arguments was invalid."
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:188
+#: build/C/man2/capget.2:196
msgid ""
"An attempt was made to add a capability to the Permitted set, or to set a "
"capability in the Effective or Inheritable sets that is not in the Permitted "
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:207
+#: build/C/man2/capget.2:215
msgid ""
"The caller attempted to use B<capset>() to modify the capabilities of a "
"thread other than itself, but lacked sufficient privilege. For kernels "
msgstr ""
#. type: TP
-#: build/C/man2/capget.2:207 build/C/man7/cpuset.7:1329 build/C/man2/getpriority.2:127 build/C/man2/getrlimit.2:464 build/C/man2/getsid.2:69 build/C/man2/ioprio_set.2:177 build/C/man2/setpgid.2:215
+#: build/C/man2/capget.2:215 build/C/man7/cpuset.7:1330 build/C/man2/getpriority.2:129 build/C/man2/getrlimit.2:464 build/C/man2/getsid.2:70 build/C/man2/ioprio_set.2:187 build/C/man2/setpgid.2:217
#, no-wrap
msgid "B<ESRCH>"
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:210
+#: build/C/man2/capget.2:218
msgid "No such thread."
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:212 build/C/man2/ioprio_set.2:188
+#: build/C/man2/capget.2:220 build/C/man2/ioprio_set.2:198
msgid "These system calls are Linux-specific."
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:217
+#: build/C/man2/capget.2:225
msgid ""
"The portable interface to the capability querying and setting functions is "
"provided by the I<libcap> library and is available here:"
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:219
-msgid "http://www.kernel.org/pub/linux/libs/security/linux-privs"
+#: build/C/man2/capget.2:228
+msgid ""
+"E<.UR "
+"http://git.kernel.org/cgit\\:/linux\\:/kernel\\:/git\\:/morgan\\:\\:/libcap.git> "
+"E<.UE>"
msgstr ""
#. type: Plain text
-#: build/C/man2/capget.2:223
+#: build/C/man2/capget.2:232
msgid "B<clone>(2), B<gettid>(2), B<capabilities>(7)"
msgstr ""
#. type: TH
-#: build/C/man7/cpuset.7:24
+#: build/C/man7/cpuset.7:25
#, no-wrap
msgid "CPUSET"
msgstr ""
#. type: TH
-#: build/C/man7/cpuset.7:24
+#: build/C/man7/cpuset.7:25 build/C/man2/getpriority.2:48 build/C/man2/ioprio_set.2:24 build/C/man7/svipc.7:27
#, no-wrap
-msgid "2008-11-12"
+msgid "2013-02-12"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:27
+#: build/C/man7/cpuset.7:28
msgid "cpuset - confine processes to processor and memory node subsets"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:34
+#: build/C/man7/cpuset.7:35
msgid ""
"The cpuset file system is a pseudo-file-system interface to the kernel "
"cpuset mechanism, which is used to control the processor placement and "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:51
+#: build/C/man7/cpuset.7:52
msgid ""
"On systems with kernels compiled with built in support for cpusets, all "
"processes are attached to a cpuset, and cpusets are always present. If a "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:53
+#: build/C/man7/cpuset.7:54
msgid "A cpuset defines a list of CPUs and memory nodes."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:62
+#: build/C/man7/cpuset.7:63
msgid ""
"The CPUs of a system include all the logical processing units on which a "
"process can execute, including, if present, multiple processor cores within "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:72
+#: build/C/man7/cpuset.7:73
msgid ""
"Cpusets are represented as directories in a hierarchical pseudo-file system, "
"where the top directory in the hierarchy (I</dev/cpuset>) represents the "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:83
+#: build/C/man7/cpuset.7:84
msgid ""
"Every process in the system belongs to exactly one cpuset. A process is "
"confined to only run on the CPUs in the cpuset it belongs to, and to "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:91
+#: build/C/man7/cpuset.7:92
msgid ""
"When the system begins booting, a single cpuset is defined that includes all "
"CPUs and memory nodes on the system, and all processes are in that cpuset. "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:113
+#: build/C/man7/cpuset.7:114
msgid ""
"Cpusets are integrated with the B<sched_setaffinity>(2) scheduling affinity "
"mechanism and the B<mbind>(2) and B<set_mempolicy>(2) memory-placement "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:119
+#: build/C/man7/cpuset.7:120
msgid ""
"Typically, a cpuset is used to manage the CPU and memory-node confinement "
"for a set of cooperating processes such as a batch scheduler job, and these "
msgstr ""
#. type: SH
-#: build/C/man7/cpuset.7:119
+#: build/C/man7/cpuset.7:120
#, no-wrap
msgid "FILES"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:124
+#: build/C/man7/cpuset.7:125
msgid ""
"Each directory below I</dev/cpuset> represents a cpuset and contains a fixed "
"set of pseudo-files describing the state of that cpuset."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:134
+#: build/C/man7/cpuset.7:135
msgid ""
"New cpusets are created using the B<mkdir>(2) system call or the "
"B<mkdir>(1) command. The properties of a cpuset, such as its flags, "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:140
+#: build/C/man7/cpuset.7:141
msgid ""
"The pseudo-files in each cpuset directory are automatically created when the "
"cpuset is created, as a result of the B<mkdir>(2) invocation. It is not "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:148
+#: build/C/man7/cpuset.7:149
msgid ""
"A cpuset directory that contains no child cpuset directories, and has no "
"attached processes, can be removed using B<rmdir>(2) or B<rmdir>(1). It is "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:162
+#: build/C/man7/cpuset.7:163
msgid ""
"The pseudo-files in each cpuset directory are small text files that may be "
"read and written using traditional shell utilities such as B<cat>(1), and "
#. ====================== tasks ======================
#. type: Plain text
-#: build/C/man7/cpuset.7:167
+#: build/C/man7/cpuset.7:168
msgid ""
"The pseudo-files in a cpuset directory represent internal kernel state and "
"do not have any persistent image on disk. Each of these per-cpuset files is "
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:167
+#: build/C/man7/cpuset.7:168
#, no-wrap
msgid "I<tasks>"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:177
+#: build/C/man7/cpuset.7:178
msgid ""
"List of the process IDs (PIDs) of the processes in that cpuset. The list is "
"formatted as a series of ASCII decimal numbers, each followed by a newline. "
#. =================== notify_on_release ===================
#. type: Plain text
-#: build/C/man7/cpuset.7:185
+#: build/C/man7/cpuset.7:186
msgid ""
"B<Warning:> only one PID may be written to the I<tasks> file at a time. If "
"a string is written that contains more than one PID, only the first one will "
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:185
+#: build/C/man7/cpuset.7:186
#, no-wrap
msgid "I<notify_on_release>"
msgstr ""
#. ====================== cpus ======================
#. type: Plain text
-#: build/C/man7/cpuset.7:194
+#: build/C/man7/cpuset.7:195
msgid ""
"Flag (0 or 1). If set (1), that cpuset will receive special handling after "
"it is released, that is, after all processes cease using it (i.e., terminate "
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:194
+#: build/C/man7/cpuset.7:195
#, no-wrap
-msgid "I<cpus>"
+msgid "I<cpuset.cpus>"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:201
+#: build/C/man7/cpuset.7:202
msgid ""
"List of the physical numbers of the CPUs on which processes in that cpuset "
"are allowed to execute. See B<List Format> below for a description of the "
#. ==================== cpu_exclusive ====================
#. type: Plain text
-#: build/C/man7/cpuset.7:207
+#: build/C/man7/cpuset.7:208
msgid ""
"The CPUs allowed to a cpuset may be changed by writing a new list to its "
"I<cpus> file."
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:207
+#: build/C/man7/cpuset.7:208
#, no-wrap
-msgid "I<cpu_exclusive>"
+msgid "I<cpuset.cpu_exclusive>"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:214
+#: build/C/man7/cpuset.7:215
msgid ""
"Flag (0 or 1). If set (1), the cpuset has exclusive use of its CPUs (no "
"sibling or cousin cpuset may overlap CPUs). By default this is off (0). "
#. ====================== mems ======================
#. type: Plain text
-#: build/C/man7/cpuset.7:236
+#: build/C/man7/cpuset.7:237
msgid ""
"Two cpusets are I<sibling> cpusets if they share the same parent cpuset in "
"the I</dev/cpuset> hierarchy. Two cpusets are I<cousin> cpusets if neither "
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:236
+#: build/C/man7/cpuset.7:237
#, no-wrap
-msgid "I<mems>"
+msgid "I<cpuset.mems>"
msgstr ""
#. ==================== mem_exclusive ====================
#. type: Plain text
-#: build/C/man7/cpuset.7:244
+#: build/C/man7/cpuset.7:245
msgid ""
"List of memory nodes on which processes in this cpuset are allowed to "
"allocate memory. See B<List Format> below for a description of the format "
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:244
+#: build/C/man7/cpuset.7:245
#, no-wrap
-msgid "I<mem_exclusive>"
+msgid "I<cpuset.mem_exclusive>"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:252
+#: build/C/man7/cpuset.7:253
msgid ""
"Flag (0 or 1). If set (1), the cpuset has exclusive use of its memory nodes "
"(no sibling or cousin may overlap). Also if set (1), the cpuset is a "
#. ==================== mem_hardwall ====================
#. type: Plain text
-#: build/C/man7/cpuset.7:260
+#: build/C/man7/cpuset.7:261
msgid ""
"Regardless of the I<mem_exclusive> setting, if one cpuset is the ancestor of "
"another, then their memory nodes must overlap, because the memory nodes of "
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:260
+#: build/C/man7/cpuset.7:261
#, no-wrap
-msgid "I<mem_hardwall> (since Linux 2.6.26)"
+msgid "I<cpuset.mem_hardwall> (since Linux 2.6.26)"
msgstr ""
#. ==================== memory_migrate ====================
#. type: Plain text
-#: build/C/man7/cpuset.7:271
+#: build/C/man7/cpuset.7:272
msgid ""
"Flag (0 or 1). If set (1), the cpuset is a B<Hardwall> cpuset (see below.) "
"Unlike B<mem_exclusive>, there is no constraint on whether cpusets marked "
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:271
+#: build/C/man7/cpuset.7:272
#, no-wrap
-msgid "I<memory_migrate> (since Linux 2.6.16)"
+msgid "I<cpuset.memory_migrate> (since Linux 2.6.16)"
msgstr ""
#. ==================== memory_pressure ====================
#. type: Plain text
-#: build/C/man7/cpuset.7:278
+#: build/C/man7/cpuset.7:279
msgid ""
"Flag (0 or 1). If set (1), then memory migration is enabled. By default "
"this is off (0). See the B<Memory Migration> section, below."
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:278
+#: build/C/man7/cpuset.7:279
#, no-wrap
-msgid "I<memory_pressure> (since Linux 2.6.16)"
+msgid "I<cpuset.memory_pressure> (since Linux 2.6.16)"
msgstr ""
#. ================= memory_pressure_enabled =================
#. type: Plain text
-#: build/C/man7/cpuset.7:291
+#: build/C/man7/cpuset.7:292
msgid ""
"A measure of how much memory pressure the processes in this cpuset are "
"causing. See the B<Memory Pressure> section, below. Unless "
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:291
+#: build/C/man7/cpuset.7:292
#, no-wrap
-msgid "I<memory_pressure_enabled> (since Linux 2.6.16)"
+msgid "I<cpuset.memory_pressure_enabled> (since Linux 2.6.16)"
msgstr ""
#. ================== memory_spread_page ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:303
+#: build/C/man7/cpuset.7:304
msgid ""
"Flag (0 or 1). This file is only present in the root cpuset, normally "
"I</dev/cpuset>. If set (1), the I<memory_pressure> calculations are enabled "
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:303
+#: build/C/man7/cpuset.7:304
#, no-wrap
-msgid "I<memory_spread_page> (since Linux 2.6.17)"
+msgid "I<cpuset.memory_spread_page> (since Linux 2.6.17)"
msgstr ""
#. ================== memory_spread_slab ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:313
+#: build/C/man7/cpuset.7:314
msgid ""
"Flag (0 or 1). If set (1), pages in the kernel page cache (file-system "
"buffers) are uniformly spread across the cpuset. By default this is off (0) "
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:313
+#: build/C/man7/cpuset.7:314
#, no-wrap
-msgid "I<memory_spread_slab> (since Linux 2.6.17)"
+msgid "I<cpuset.memory_spread_slab> (since Linux 2.6.17)"
msgstr ""
#. ================== sched_load_balance ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:324
+#: build/C/man7/cpuset.7:325
msgid ""
"Flag (0 or 1). If set (1), the kernel slab caches for file I/O (directory "
"and inode structures) are uniformly spread across the cpuset. By default "
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:324
+#: build/C/man7/cpuset.7:325
#, no-wrap
-msgid "I<sched_load_balance> (since Linux 2.6.24)"
+msgid "I<cpuset.sched_load_balance> (since Linux 2.6.24)"
msgstr ""
#. ================== sched_relax_domain_level ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:338
+#: build/C/man7/cpuset.7:339
msgid ""
"Flag (0 or 1). If set (1, the default) the kernel will automatically load "
"balance processes in that cpuset over the allowed CPUs in that cpuset. If "
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:338
+#: build/C/man7/cpuset.7:339
#, no-wrap
-msgid "I<sched_relax_domain_level> (since Linux 2.6.26)"
+msgid "I<cpuset.sched_relax_domain_level> (since Linux 2.6.26)"
msgstr ""
#. ================== proc cpuset ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:358
+#: build/C/man7/cpuset.7:359
msgid ""
"Integer, between -1 and a small positive value. The "
"I<sched_relax_domain_level> controls the width of the range of CPUs over "
#. ================== proc status ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:366
+#: build/C/man7/cpuset.7:367
msgid ""
"In addition to the above pseudo-files in each directory below "
"I</dev/cpuset>, each process has a pseudo-file, "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:377
+#: build/C/man7/cpuset.7:378
msgid ""
"Also the I</proc/E<lt>pidE<gt>/status> file for each process has four added "
"lines, displaying the process's I<Cpus_allowed> (on which CPUs it may be "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:384
+#: build/C/man7/cpuset.7:385
#, no-wrap
msgid ""
"Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff\n"
#. ================== EXTENDED CAPABILITIES ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:390
+#: build/C/man7/cpuset.7:391
msgid ""
"The \"allowed\" fields were added in Linux 2.6.24; the \"allowed_list\" "
"fields were added in Linux 2.6.26."
msgstr ""
#. type: SH
-#: build/C/man7/cpuset.7:390
+#: build/C/man7/cpuset.7:391
#, no-wrap
msgid "EXTENDED CAPABILITIES"
msgstr ""
#. ================== Exclusive Cpusets ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:398
+#: build/C/man7/cpuset.7:399
msgid ""
"In addition to controlling which I<cpus> and I<mems> a process is allowed to "
"use, cpusets provide the following extended capabilities."
msgstr ""
#. type: SS
-#: build/C/man7/cpuset.7:398
+#: build/C/man7/cpuset.7:399
#, no-wrap
-msgid "Exclusive Cpusets"
+msgid "Exclusive cpusets"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:405
+#: build/C/man7/cpuset.7:406
msgid ""
"If a cpuset is marked I<cpu_exclusive> or I<mem_exclusive>, no other cpuset, "
"other than a direct ancestor or descendant, may share any of the same CPUs "
#. ================== Hardwall ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:431
+#: build/C/man7/cpuset.7:432
msgid ""
"A cpuset that is I<mem_exclusive> restricts kernel allocations for buffer "
"cache pages and other internal kernel data pages commonly shared by the "
msgstr ""
#. type: SS
-#: build/C/man7/cpuset.7:431
+#: build/C/man7/cpuset.7:432
#, no-wrap
msgid "Hardwall"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:446
+#: build/C/man7/cpuset.7:447
msgid ""
"A cpuset that has I<mem_exclusive> or I<mem_hardwall> set is a I<hardwall> "
"cpuset. A I<hardwall> cpuset restricts kernel allocations for page, buffer, "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:457
+#: build/C/man7/cpuset.7:458
msgid ""
"This enables configuring a system so that several independent jobs can share "
"common kernel data, such as file system pages, while isolating each job's "
#. ================== Notify On Release ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:463
+#: build/C/man7/cpuset.7:464
msgid ""
"Only a small amount of kernel memory, such as requests from interrupt "
"handlers, is allowed to be taken outside even a I<hardwall> cpuset."
msgstr ""
#. type: SS
-#: build/C/man7/cpuset.7:463
+#: build/C/man7/cpuset.7:464
#, no-wrap
-msgid "Notify On Release"
+msgid "Notify on release"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:475
+#: build/C/man7/cpuset.7:476
msgid ""
"If the I<notify_on_release> flag is enabled (1) in a cpuset, then whenever "
"the last process in the cpuset leaves (exits or attaches to some other "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:483
+#: build/C/man7/cpuset.7:484
msgid ""
"The default value of I<notify_on_release> in the root cpuset at system boot "
"is disabled (0). The default value of other cpusets at creation is the "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:491
+#: build/C/man7/cpuset.7:492
msgid ""
"The command I</sbin/cpuset_release_agent> is invoked, with the name "
"(I</dev/cpuset> relative path) of the to-be-released cpuset in I<argv[1]>."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:495
+#: build/C/man7/cpuset.7:496
msgid ""
"The usual contents of the command I</sbin/cpuset_release_agent> is simply "
"the shell script:"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:500
+#: build/C/man7/cpuset.7:501
#, no-wrap
msgid ""
"#!/bin/sh\n"
#. ================== Memory Pressure ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:508
+#: build/C/man7/cpuset.7:509
msgid ""
"As with other flag values below, this flag can be changed by writing an "
"ASCII number 0 or 1 (with optional trailing newline) into the file, to "
msgstr ""
#. type: SS
-#: build/C/man7/cpuset.7:508
+#: build/C/man7/cpuset.7:509
#, no-wrap
-msgid "Memory Pressure"
+msgid "Memory pressure"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:514
+#: build/C/man7/cpuset.7:515
msgid ""
"The I<memory_pressure> of a cpuset provides a simple per-cpuset running "
"average of the rate that the processes in a cpuset are attempting to free up "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:518
+#: build/C/man7/cpuset.7:519
msgid ""
"This enables batch managers that are monitoring jobs running in dedicated "
"cpusets to efficiently detect what level of memory pressure that job is "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:525
+#: build/C/man7/cpuset.7:526
msgid ""
"This is useful both on tightly managed systems running a wide mix of "
"submitted jobs, which may choose to terminate or reprioritize jobs that are "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:530
+#: build/C/man7/cpuset.7:531
msgid ""
"This mechanism provides a very economical way for the batch manager to "
"monitor a cpuset for signs of memory pressure. It's up to the batch manager "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:537
+#: build/C/man7/cpuset.7:538
msgid ""
"Unless memory pressure calculation is enabled by setting the pseudo-file "
-"I</dev/cpuset/memory_pressure_enabled>, it is not computed for any cpuset, "
-"and reads from any I<memory_pressure> always return zero, as represented by "
-"the ASCII string \"0\\en\". See the B<WARNINGS> section, below."
+"I</dev/cpuset/cpuset.memory_pressure_enabled>, it is not computed for any "
+"cpuset, and reads from any I<memory_pressure> always return zero, as "
+"represented by the ASCII string \"0\\en\". See the B<WARNINGS> section, "
+"below."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:539
+#: build/C/man7/cpuset.7:540
msgid "A per-cpuset, running average is employed for the following reasons:"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:544
+#: build/C/man7/cpuset.7:545
msgid ""
"Because this meter is per-cpuset rather than per-process or per virtual "
"memory region, the system load imposed by a batch scheduler monitoring this "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:549
+#: build/C/man7/cpuset.7:550
msgid ""
"Because this meter is a running average rather than an accumulating counter, "
"a batch scheduler can detect memory pressure with a single read, instead of "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:555
+#: build/C/man7/cpuset.7:556
msgid ""
"Because this meter is per-cpuset rather than per-process, the batch "
"scheduler can obtain the key information\\(emmemory pressure in a "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:563
+#: build/C/man7/cpuset.7:564
msgid ""
"The I<memory_pressure> of a cpuset is calculated using a per-cpuset simple "
"digital filter that is kept within the kernel. For each cpuset, this filter "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:572
+#: build/C/man7/cpuset.7:573
msgid ""
"The kernel direct reclaim code is entered whenever a process has to satisfy "
"a memory page request by first finding some other page to repurpose, due to "
#. ================== Memory Spread ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:580
+#: build/C/man7/cpuset.7:581
msgid ""
-"The I<memory_pressure> file provides an integer number representing the "
-"recent (half-life of 10 seconds) rate of entries to the direct reclaim code "
-"caused by any process in the cpuset, in units of reclaims attempted per "
+"The I<cpuset.memory_pressure> file provides an integer number representing "
+"the recent (half-life of 10 seconds) rate of entries to the direct reclaim "
+"code caused by any process in the cpuset, in units of reclaims attempted per "
"second, times 1000."
msgstr ""
#. type: SS
-#: build/C/man7/cpuset.7:580
+#: build/C/man7/cpuset.7:581
#, no-wrap
-msgid "Memory Spread"
+msgid "Memory spread"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:588
+#: build/C/man7/cpuset.7:589
msgid ""
"There are two Boolean flag files per cpuset that control where the kernel "
"allocates pages for the file-system buffers and related in-kernel data "
-"structures. They are called I<memory_spread_page> and "
-"I<memory_spread_slab>."
+"structures. They are called I<cpuset.memory_spread_page> and "
+"I<cpuset.memory_spread_slab>."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:595
+#: build/C/man7/cpuset.7:596
msgid ""
-"If the per-cpuset Boolean flag file I<memory_spread_page> is set, then the "
-"kernel will spread the file-system buffers (page cache) evenly over all the "
-"nodes that the faulting process is allowed to use, instead of preferring to "
-"put those pages on the node where the process is running."
+"If the per-cpuset Boolean flag file I<cpuset.memory_spread_page> is set, "
+"then the kernel will spread the file-system buffers (page cache) evenly over "
+"all the nodes that the faulting process is allowed to use, instead of "
+"preferring to put those pages on the node where the process is running."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:603
+#: build/C/man7/cpuset.7:604
msgid ""
-"If the per-cpuset Boolean flag file I<memory_spread_slab> is set, then the "
-"kernel will spread some file-system-related slab caches, such as those for "
-"inodes and directory entries, evenly over all the nodes that the faulting "
-"process is allowed to use, instead of preferring to put those pages on the "
-"node where the process is running."
+"If the per-cpuset Boolean flag file I<cpuset.memory_spread_slab> is set, "
+"then the kernel will spread some file-system-related slab caches, such as "
+"those for inodes and directory entries, evenly over all the nodes that the "
+"faulting process is allowed to use, instead of preferring to put those pages "
+"on the node where the process is running."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:608
+#: build/C/man7/cpuset.7:609
msgid ""
"The setting of these flags does not affect the data segment (see B<brk>(2)) "
"or stack segment pages of a process."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:616
+#: build/C/man7/cpuset.7:617
msgid ""
"By default, both kinds of memory spreading are off and the kernel prefers to "
"allocate memory pages on the node local to where the requesting process is "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:619
+#: build/C/man7/cpuset.7:620
msgid ""
"When new cpusets are created, they inherit the memory spread settings of "
"their parent."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:634
+#: build/C/man7/cpuset.7:635
msgid ""
"Setting memory spreading causes allocations for the affected page or slab "
"caches to ignore the process's NUMA memory policy and be spread instead. "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:643
+#: build/C/man7/cpuset.7:644
msgid ""
-"Both I<memory_spread_page> and I<memory_spread_slab> are Boolean flag "
-"files. By default they contain \"0\", meaning that the feature is off for "
-"that cpuset. If a \"1\" is written to that file, that turns the named "
-"feature on."
+"Both I<cpuset.memory_spread_page> and I<cpuset.memory_spread_slab> are "
+"Boolean flag files. By default they contain \"0\", meaning that the feature "
+"is off for that cpuset. If a \"1\" is written to that file, that turns the "
+"named feature on."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:646
+#: build/C/man7/cpuset.7:647
msgid ""
"Cpuset-specified memory spreading behaves similarly to what is known (in "
"other contexts) as round-robin or interleave memory placement."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:649
+#: build/C/man7/cpuset.7:650
msgid ""
"Cpuset-specified memory spreading can provide substantial performance "
"improvements for jobs that:"
msgstr ""
#. type: IP
-#: build/C/man7/cpuset.7:649
+#: build/C/man7/cpuset.7:650
#, no-wrap
msgid "a)"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:653
+#: build/C/man7/cpuset.7:654
msgid ""
"need to place thread-local data on memory nodes close to the CPUs which are "
"running the threads that most frequently access that data; but also"
msgstr ""
#. type: IP
-#: build/C/man7/cpuset.7:653
+#: build/C/man7/cpuset.7:654
#, no-wrap
msgid "b)"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:656
+#: build/C/man7/cpuset.7:657
msgid ""
"need to access large file-system data sets that must to be spread across the "
"several nodes in the job's cpuset in order to fit."
#. ================== Memory Migration ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:663
+#: build/C/man7/cpuset.7:664
msgid ""
"Without this policy, the memory allocation across the nodes in the job's "
"cpuset can become very uneven, especially for jobs that might have just a "
msgstr ""
#. type: SS
-#: build/C/man7/cpuset.7:663
+#: build/C/man7/cpuset.7:664
#, no-wrap
-msgid "Memory Migration"
+msgid "Memory migration"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:672
+#: build/C/man7/cpuset.7:673
msgid ""
-"Normally, under the default setting (disabled) of I<memory_migrate>, once a "
-"page is allocated (given a physical page of main memory) then that page "
-"stays on whatever node it was allocated, so long as it remains allocated, "
-"even if the cpuset's memory-placement policy I<mems> subsequently changes."
+"Normally, under the default setting (disabled) of I<cpuset.memory_migrate>, "
+"once a page is allocated (given a physical page of main memory) then that "
+"page stays on whatever node it was allocated, so long as it remains "
+"allocated, even if the cpuset's memory-placement policy I<mems> subsequently "
+"changes."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:678
+#: build/C/man7/cpuset.7:679
msgid ""
"When memory migration is enabled in a cpuset, if the I<mems> setting of the "
"cpuset is changed, then any memory page in use by any process in the cpuset "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:684
+#: build/C/man7/cpuset.7:685
msgid ""
"Furthermore, if a process is moved into a cpuset with I<memory_migrate> "
"enabled, any memory pages it uses that were on memory nodes allowed in its "
#. ================== Scheduler Load Balancing ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:692
+#: build/C/man7/cpuset.7:693
msgid ""
"The relative placement of a migrated page within the cpuset is preserved "
"during these migration operations if possible. For example, if the page was "
msgstr ""
#. type: SS
-#: build/C/man7/cpuset.7:692
+#: build/C/man7/cpuset.7:693
#, no-wrap
-msgid "Scheduler Load Balancing"
+msgid "Scheduler load balancing"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:699
+#: build/C/man7/cpuset.7:700
msgid ""
"The kernel scheduler automatically load balances processes. If one CPU is "
"underutilized, the kernel will look for processes on other more overloaded "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:712
+#: build/C/man7/cpuset.7:713
msgid ""
"The algorithmic cost of load balancing and its impact on key shared kernel "
"data structures such as the process list increases more than linearly with "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:718
+#: build/C/man7/cpuset.7:719
msgid ""
"The per-cpuset flag I<sched_load_balance> provides a mechanism to suppress "
"this automatic scheduler load balancing in cases where it is not needed and "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:722
+#: build/C/man7/cpuset.7:723
msgid ""
"By default, load balancing is done across all CPUs, except those marked "
"isolated using the kernel boot time \"isolcpus=\" argument. (See "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:725
+#: build/C/man7/cpuset.7:726
msgid ""
"This default load balancing across all CPUs is not well suited to the "
"following two situations:"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:729
+#: build/C/man7/cpuset.7:730
msgid ""
"On large systems, load balancing across many CPUs is expensive. If the "
"system is managed using cpusets to place independent jobs on separate sets "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:733
+#: build/C/man7/cpuset.7:734
msgid ""
"Systems supporting real-time on some CPUs need to minimize system overhead "
"on those CPUs, including avoiding process load balancing if that is not "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:743
+#: build/C/man7/cpuset.7:744
msgid ""
"When the per-cpuset flag I<sched_load_balance> is enabled (the default "
"setting), it requests load balancing across all the CPUs in that cpuset's "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:752
+#: build/C/man7/cpuset.7:753
msgid ""
"When the per-cpuset flag I<sched_load_balance> is disabled, then the "
"scheduler will avoid load balancing across the CPUs in that cpuset, "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:760
+#: build/C/man7/cpuset.7:761
msgid ""
"So, for example, if the top cpuset has the flag I<sched_load_balance> "
"enabled, then the scheduler will load balance across all CPUs, and the "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:765
+#: build/C/man7/cpuset.7:766
msgid ""
"Therefore in the above two situations, the flag I<sched_load_balance> should "
"be disabled in the top cpuset, and only some of the smaller, child cpusets "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:773
+#: build/C/man7/cpuset.7:774
msgid ""
"When doing this, you don't usually want to leave any unpinned processes in "
"the top cpuset that might use nontrivial amounts of CPU, as such processes "
#. ================== Scheduler Relax Domain Level ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:779
+#: build/C/man7/cpuset.7:780
msgid ""
"Of course, processes pinned to a particular CPU can be left in a cpuset that "
"disables I<sched_load_balance> as those processes aren't going anywhere else "
msgstr ""
#. type: SS
-#: build/C/man7/cpuset.7:779
+#: build/C/man7/cpuset.7:780
#, no-wrap
-msgid "Scheduler Relax Domain Level"
+msgid "Scheduler relax domain level"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:800
+#: build/C/man7/cpuset.7:801
msgid ""
"The kernel scheduler performs immediate load balancing whenever a CPU "
"becomes free or another task becomes runnable. This load balancing works to "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:808
+#: build/C/man7/cpuset.7:809
msgid ""
"On small systems, such as those with just a few CPUs, immediate load "
"balancing is useful to improve system interactivity and to minimize wasteful "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:816
+#: build/C/man7/cpuset.7:817
msgid ""
"The exact meaning of the small integer values of I<sched_relax_domain_level> "
"will depend on internal implementation details of the kernel scheduler code "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:821
+#: build/C/man7/cpuset.7:822
msgid ""
"As of this writing, when this capability was introduced in Linux 2.6.26, on "
"certain popular architectures, the positive values of "
msgstr ""
#. type: IP
-#: build/C/man7/cpuset.7:823
+#: build/C/man7/cpuset.7:824
#, no-wrap
msgid "B<(1)>"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:826
+#: build/C/man7/cpuset.7:827
msgid ""
"Perform immediate load balancing across Hyper-Thread siblings on the same "
"core."
msgstr ""
#. type: IP
-#: build/C/man7/cpuset.7:826
+#: build/C/man7/cpuset.7:827
#, no-wrap
msgid "B<(2)>"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:828
+#: build/C/man7/cpuset.7:829
msgid "Perform immediate load balancing across other cores in the same package."
msgstr ""
#. type: IP
-#: build/C/man7/cpuset.7:828
+#: build/C/man7/cpuset.7:829
#, no-wrap
msgid "B<(3)>"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:831
+#: build/C/man7/cpuset.7:832
msgid ""
"Perform immediate load balancing across other CPUs on the same node or "
"blade."
msgstr ""
#. type: IP
-#: build/C/man7/cpuset.7:831
+#: build/C/man7/cpuset.7:832
#, no-wrap
msgid "B<(4)>"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:834
+#: build/C/man7/cpuset.7:835
msgid ""
"Perform immediate load balancing across over several (implementation detail) "
"nodes [On NUMA systems]."
msgstr ""
#. type: IP
-#: build/C/man7/cpuset.7:834
+#: build/C/man7/cpuset.7:835
#, no-wrap
msgid "B<(5)>"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:837
+#: build/C/man7/cpuset.7:838
msgid ""
"Perform immediate load balancing across over all CPUs in system [On NUMA "
"systems]."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:846
+#: build/C/man7/cpuset.7:847
msgid ""
"The I<sched_relax_domain_level> value of zero (0) always means don't perform "
"immediate load balancing, hence that load balancing is only done "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:854
+#: build/C/man7/cpuset.7:855
msgid ""
"The I<sched_relax_domain_level> value of minus one (-1) always means use "
"the system default value. The system default value can vary by architecture "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:862
+#: build/C/man7/cpuset.7:863
msgid ""
"In the case of multiple overlapping cpusets which have conflicting "
"I<sched_relax_domain_level> values, then the highest such value applies to "
msgstr ""
#. type: SH
-#: build/C/man7/cpuset.7:862
+#: build/C/man7/cpuset.7:863
#, no-wrap
msgid "FORMATS"
msgstr ""
#. ================== Mask Format ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:866
+#: build/C/man7/cpuset.7:867
msgid "The following formats are used to represent sets of CPUs and memory nodes."
msgstr ""
#. type: SS
-#: build/C/man7/cpuset.7:866
+#: build/C/man7/cpuset.7:867
#, no-wrap
-msgid "Mask Format"
+msgid "Mask format"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:871
+#: build/C/man7/cpuset.7:872
msgid ""
-"The B<Mask Format> is used to represent CPU and memory-node bitmasks in the "
+"The B<Mask Format> is used to represent CPU and memory-node bit masks in the "
"I</proc/E<lt>pidE<gt>/status> file."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:879
+#: build/C/man7/cpuset.7:880
msgid ""
"This format displays each 32-bit word in hexadecimal (using ASCII characters "
"\"0\" - \"9\" and \"a\" - \"f\"); words are filled with leading zeros, if "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:882
+#: build/C/man7/cpuset.7:883
msgid ""
"The number of 32-bit words displayed is the minimum number needed to display "
-"all bits of the bitmask, based on the size of the bitmask."
+"all bits of the bit mask, based on the size of the bit mask."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:884
+#: build/C/man7/cpuset.7:885
msgid "Examples of the B<Mask Format>:"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:892
+#: build/C/man7/cpuset.7:893
#, no-wrap
msgid ""
"00000001 # just bit 0 set\n"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:896
+#: build/C/man7/cpuset.7:897
msgid "A mask with bits 0, 1, 2, 4, 8, 16, 32, and 64 set displays as:"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:900
+#: build/C/man7/cpuset.7:901
#, no-wrap
msgid "00000001,00000001,00010117\n"
msgstr ""
#. ================== List Format ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:907
+#: build/C/man7/cpuset.7:908
msgid ""
"The first \"1\" is for bit 64, the second for bit 32, the third for bit 16, "
"the fourth for bit 8, the fifth for bit 4, and the \"7\" is for bits 2, 1, "
msgstr ""
#. type: SS
-#: build/C/man7/cpuset.7:907
+#: build/C/man7/cpuset.7:908
#, no-wrap
-msgid "List Format"
+msgid "List format"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:914
+#: build/C/man7/cpuset.7:915
msgid ""
"The B<List Format> for I<cpus> and I<mems> is a comma-separated list of CPU "
"or memory-node numbers and ranges of numbers, in ASCII decimal."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:916
+#: build/C/man7/cpuset.7:917
msgid "Examples of the B<List Format>:"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:921
+#: build/C/man7/cpuset.7:922
#, no-wrap
msgid ""
"0-4,9 # bits 0, 1, 2, 3, 4, and 9 set\n"
#. ================== RULES ==================
#. type: SH
-#: build/C/man7/cpuset.7:924
+#: build/C/man7/cpuset.7:925
#, no-wrap
msgid "RULES"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:926
+#: build/C/man7/cpuset.7:927
msgid "The following rules apply to each cpuset:"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:929
+#: build/C/man7/cpuset.7:930
msgid ""
"Its CPUs and memory nodes must be a (possibly equal) subset of its "
"parent's."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:933
+#: build/C/man7/cpuset.7:934
msgid "It can only be marked I<cpu_exclusive> if its parent is."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:937
+#: build/C/man7/cpuset.7:938
msgid "It can only be marked I<mem_exclusive> if its parent is."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:941
+#: build/C/man7/cpuset.7:942
msgid "If it is I<cpu_exclusive>, its CPUs may not overlap any sibling."
msgstr ""
#. ================== PERMISSIONS ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:946
+#: build/C/man7/cpuset.7:947
msgid "If it is I<memory_exclusive>, its memory nodes may not overlap any sibling."
msgstr ""
#. type: SH
-#: build/C/man7/cpuset.7:946
+#: build/C/man7/cpuset.7:947
#, no-wrap
msgid "PERMISSIONS"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:951
+#: build/C/man7/cpuset.7:952
msgid ""
"The permissions of a cpuset are determined by the permissions of the "
"directories and pseudo-files in the cpuset file system, normally mounted at "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:960
+#: build/C/man7/cpuset.7:961
msgid ""
"For instance, a process can put itself in some other cpuset (than its "
"current one) if it can write the I<tasks> file for that cpuset. This "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:967
+#: build/C/man7/cpuset.7:968
msgid ""
"An additional constraint is applied to requests to place some other process "
"in a cpuset. One process may not attach another to a cpuset unless it would "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:978
+#: build/C/man7/cpuset.7:979
msgid ""
"A process may create a child cpuset if it can access and write the parent "
"cpuset directory. It can modify the CPUs or memory nodes in a cpuset if it "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:999
+#: build/C/man7/cpuset.7:1000
msgid ""
"There is one minor difference between the manner in which these permissions "
"are evaluated and the manner in which normal file-system operation "
#. ================== WARNINGS ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:1014
+#: build/C/man7/cpuset.7:1015
msgid ""
"In theory, this means that user code should specify cpusets using absolute "
"pathnames, which requires knowing the mount point of the cpuset file system "
msgstr ""
#. type: SH
-#: build/C/man7/cpuset.7:1014
+#: build/C/man7/cpuset.7:1015
#, no-wrap
msgid "WARNINGS"
msgstr ""
#. type: SS
-#: build/C/man7/cpuset.7:1015
+#: build/C/man7/cpuset.7:1016
#, no-wrap
msgid "Enabling memory_pressure"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1024
+#: build/C/man7/cpuset.7:1025
msgid ""
-"By default, the per-cpuset file I<memory_pressure> always contains zero "
-"(0). Unless this feature is enabled by writing \"1\" to the pseudo-file "
-"I</dev/cpuset/memory_pressure_enabled>, the kernel does not compute "
-"per-cpuset I<memory_pressure>."
+"By default, the per-cpuset file I<cpuset.memory_pressure> always contains "
+"zero (0). Unless this feature is enabled by writing \"1\" to the "
+"pseudo-file I</dev/cpuset/cpuset.memory_pressure_enabled>, the kernel does "
+"not compute per-cpuset I<memory_pressure>."
msgstr ""
#. type: SS
-#: build/C/man7/cpuset.7:1024
+#: build/C/man7/cpuset.7:1025
#, no-wrap
msgid "Using the echo command"
msgstr ""
#. Gack! csh(1)'s echo does this
#. type: Plain text
-#: build/C/man7/cpuset.7:1035
+#: build/C/man7/cpuset.7:1036
msgid ""
"When using the B<echo> command at the shell prompt to change the values of "
"cpuset files, beware that the built-in B<echo> command in some shells does "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1039
+#: build/C/man7/cpuset.7:1040
#, no-wrap
-msgid "echo 19 E<gt> mems\n"
+msgid "echo 19 E<gt> cpuset.mems\n"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1052
+#: build/C/man7/cpuset.7:1053
msgid ""
"failed because memory node 19 was not allowed (perhaps the current system "
"does not have a memory node 19), then the B<echo> command might not display "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1057
+#: build/C/man7/cpuset.7:1058
#, no-wrap
msgid ""
-"/bin/echo 19 E<gt> mems\n"
+"/bin/echo 19 E<gt> cpuset.mems\n"
"/bin/echo: write error: Invalid argument\n"
msgstr ""
#. ================== EXCEPTIONS ==================
#. type: SH
-#: build/C/man7/cpuset.7:1060
+#: build/C/man7/cpuset.7:1061
#, no-wrap
msgid "EXCEPTIONS"
msgstr ""
#. type: SS
-#: build/C/man7/cpuset.7:1061
+#: build/C/man7/cpuset.7:1062
#, no-wrap
msgid "Memory placement"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1064
+#: build/C/man7/cpuset.7:1065
msgid ""
"Not all allocations of system memory are constrained by cpusets, for the "
"following reasons."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1079
+#: build/C/man7/cpuset.7:1080
msgid ""
"If hot-plug functionality is used to remove all the CPUs that are currently "
"assigned to a cpuset, then the kernel will automatically update the "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1087
+#: build/C/man7/cpuset.7:1088
msgid ""
"A few kernel-critical, internal memory-allocation requests, marked "
"GFP_ATOMIC, must be satisfied immediately. The kernel may drop some request "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1091
+#: build/C/man7/cpuset.7:1092
msgid ""
"Allocations of memory requested by kernel drivers while processing an "
"interrupt lack any relevant process context, and are not confined by "
msgstr ""
#. type: SS
-#: build/C/man7/cpuset.7:1091
+#: build/C/man7/cpuset.7:1092
#, no-wrap
msgid "Renaming cpusets"
msgstr ""
#. ================== ERRORS ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:1099
+#: build/C/man7/cpuset.7:1100
msgid ""
"You can use the B<rename>(2) system call to rename cpusets. Only simple "
"renaming is supported; that is, changing the name of a cpuset directory is "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1103
+#: build/C/man7/cpuset.7:1104
msgid ""
"The Linux kernel implementation of cpusets sets I<errno> to specify the "
"reason for a failed system call affecting cpusets."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1108
+#: build/C/man7/cpuset.7:1109
msgid ""
"The possible I<errno> settings and their meaning when set on a failed cpuset "
"call are as listed below."
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:1108
+#: build/C/man7/cpuset.7:1109
#, no-wrap
msgid "B<E2BIG>"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1115
+#: build/C/man7/cpuset.7:1116
msgid ""
"Attempted a B<write>(2) on a special cpuset file with a length larger than "
"some kernel-determined upper limit on the length of such writes."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1122
+#: build/C/man7/cpuset.7:1123
msgid ""
"Attempted to B<write>(2) the process ID (PID) of a process to a cpuset "
"I<tasks> file when one lacks permission to move that process."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1128
+#: build/C/man7/cpuset.7:1129
msgid ""
"Attempted to add, using B<write>(2), a CPU or memory node to a cpuset, when "
"that CPU or memory node was not already in its parent."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1136
+#: build/C/man7/cpuset.7:1137
msgid ""
-"Attempted to set, using B<write>(2), I<cpu_exclusive> or I<mem_exclusive> on "
-"a cpuset whose parent lacks the same setting."
+"Attempted to set, using B<write>(2), I<cpuset.cpu_exclusive> or "
+"I<cpuset.mem_exclusive> on a cpuset whose parent lacks the same setting."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1143
-msgid "Attempted to B<write>(2) a I<memory_pressure> file."
+#: build/C/man7/cpuset.7:1144
+msgid "Attempted to B<write>(2) a I<cpuset.memory_pressure> file."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1146
+#: build/C/man7/cpuset.7:1147
msgid "Attempted to create a file in a cpuset directory."
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:1146 build/C/man7/cpuset.7:1151 build/C/man7/cpuset.7:1156
+#: build/C/man7/cpuset.7:1147 build/C/man7/cpuset.7:1152 build/C/man7/cpuset.7:1157
#, no-wrap
msgid "B<EBUSY>"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1151
+#: build/C/man7/cpuset.7:1152
msgid "Attempted to remove, using B<rmdir>(2), a cpuset with attached processes."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1156
+#: build/C/man7/cpuset.7:1157
msgid "Attempted to remove, using B<rmdir>(2), a cpuset with child cpusets."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1161
+#: build/C/man7/cpuset.7:1162
msgid ""
"Attempted to remove a CPU or memory node from a cpuset that is also in a "
"child of that cpuset."
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:1161 build/C/man7/cpuset.7:1166
+#: build/C/man7/cpuset.7:1162 build/C/man7/cpuset.7:1167
#, no-wrap
msgid "B<EEXIST>"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1166
+#: build/C/man7/cpuset.7:1167
msgid "Attempted to create, using B<mkdir>(2), a cpuset that already exists."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1171
+#: build/C/man7/cpuset.7:1172
msgid "Attempted to B<rename>(2) a cpuset to a name that already exists."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1179
+#: build/C/man7/cpuset.7:1180
msgid ""
"Attempted to B<read>(2) or B<write>(2) a cpuset file using a buffer that "
"is outside the writing processes accessible address space."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1188
+#: build/C/man7/cpuset.7:1189
msgid ""
"Attempted to change a cpuset, using B<write>(2), in a way that would violate "
"a I<cpu_exclusive> or I<mem_exclusive> attribute of that cpuset or any of "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1197
+#: build/C/man7/cpuset.7:1198
msgid ""
-"Attempted to B<write>(2) an empty I<cpus> or I<mems> list to a cpuset which "
-"has attached processes or child cpusets."
+"Attempted to B<write>(2) an empty I<cpuset.cpus> or I<cpuset.mems> list to "
+"a cpuset which has attached processes or child cpusets."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1207
+#: build/C/man7/cpuset.7:1208
msgid ""
-"Attempted to B<write>(2) a I<cpus> or I<mems> list which included a range "
-"with the second number smaller than the first number."
+"Attempted to B<write>(2) a I<cpuset.cpus> or I<cpuset.mems> list which "
+"included a range with the second number smaller than the first number."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1216
+#: build/C/man7/cpuset.7:1217
msgid ""
-"Attempted to B<write>(2) a I<cpus> or I<mems> list which included an "
-"invalid character in the string."
+"Attempted to B<write>(2) a I<cpuset.cpus> or I<cpuset.mems> list which "
+"included an invalid character in the string."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1223
+#: build/C/man7/cpuset.7:1224
msgid ""
-"Attempted to B<write>(2) a list to a I<cpus> file that did not include any "
-"online CPUs."
+"Attempted to B<write>(2) a list to a I<cpuset.cpus> file that did not "
+"include any online CPUs."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1230
+#: build/C/man7/cpuset.7:1231
msgid ""
-"Attempted to B<write>(2) a list to a I<mems> file that did not include any "
-"online memory nodes."
+"Attempted to B<write>(2) a list to a I<cpuset.mems> file that did not "
+"include any online memory nodes."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1237
+#: build/C/man7/cpuset.7:1238
msgid ""
-"Attempted to B<write>(2) a list to a I<mems> file that included a node that "
-"held no memory."
+"Attempted to B<write>(2) a list to a I<cpuset.mems> file that included a "
+"node that held no memory."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1245
+#: build/C/man7/cpuset.7:1246
msgid ""
"Attempted to B<write>(2) a string to a cpuset I<tasks> file that does not "
"begin with an ASCII decimal integer."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1250
+#: build/C/man7/cpuset.7:1251
msgid "Attempted to B<rename>(2) a cpuset into a different directory."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1257
+#: build/C/man7/cpuset.7:1258
msgid ""
"Attempted to B<read>(2) a I</proc/E<lt>pidE<gt>/cpuset> file for a cpuset "
"path that is longer than the kernel page size."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1262
+#: build/C/man7/cpuset.7:1263
msgid ""
"Attempted to create, using B<mkdir>(2), a cpuset whose base directory name "
"is longer than 255 characters."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1269
+#: build/C/man7/cpuset.7:1270
msgid ""
"Attempted to create, using B<mkdir>(2), a cpuset whose full pathname, "
"including the mount point (typically \"/dev/cpuset/\") prefix, is longer "
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:1269
+#: build/C/man7/cpuset.7:1270
#, no-wrap
msgid "B<ENODEV>"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1274
+#: build/C/man7/cpuset.7:1275
msgid ""
"The cpuset was removed by another process at the same time as a B<write>(2) "
"was attempted on one of the pseudo-files in the cpuset directory."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1279
+#: build/C/man7/cpuset.7:1280
msgid ""
"Attempted to create, using B<mkdir>(2), a cpuset in a parent cpuset that "
"doesn't exist."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1286
+#: build/C/man7/cpuset.7:1287
msgid ""
"Attempted to B<access>(2) or B<open>(2) a nonexistent file in a cpuset "
"directory."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1291
+#: build/C/man7/cpuset.7:1292
msgid ""
"Insufficient memory is available within the kernel; can occur on a variety "
"of system calls affecting cpusets, but only if the system is extremely short "
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:1291 build/C/man7/cpuset.7:1303
+#: build/C/man7/cpuset.7:1292 build/C/man7/cpuset.7:1304
#, no-wrap
msgid "B<ENOSPC>"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1303
+#: build/C/man7/cpuset.7:1304
msgid ""
"Attempted to B<write>(2) the process ID (PID) of a process to a cpuset "
-"I<tasks> file when the cpuset had an empty I<cpus> or empty I<mems> setting."
+"I<tasks> file when the cpuset had an empty I<cpuset.cpus> or empty "
+"I<cpuset.mems> setting."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1313
+#: build/C/man7/cpuset.7:1314
msgid ""
-"Attempted to B<write>(2) an empty I<cpus> or I<mems> setting to a cpuset "
-"that has tasks attached."
+"Attempted to B<write>(2) an empty I<cpuset.cpus> or I<cpuset.mems> setting "
+"to a cpuset that has tasks attached."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1318
+#: build/C/man7/cpuset.7:1319
msgid "Attempted to B<rename>(2) a nonexistent cpuset."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1321
+#: build/C/man7/cpuset.7:1322
msgid "Attempted to remove a file from a cpuset directory."
msgstr ""
#. type: TP
-#: build/C/man7/cpuset.7:1321
+#: build/C/man7/cpuset.7:1322
#, no-wrap
msgid "B<ERANGE>"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1329
+#: build/C/man7/cpuset.7:1330
msgid ""
-"Specified a I<cpus> or I<mems> list to the kernel which included a number "
-"too large for the kernel to set in its bitmasks."
+"Specified a I<cpuset.cpus> or I<cpuset.mems> list to the kernel which "
+"included a number too large for the kernel to set in its bit masks."
msgstr ""
#. ================== VERSIONS ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:1337
+#: build/C/man7/cpuset.7:1338
msgid ""
"Attempted to B<write>(2) the process ID (PID) of a nonexistent process to a "
"cpuset I<tasks> file."
#. ================== NOTES ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:1340
+#: build/C/man7/cpuset.7:1341
msgid "Cpusets appeared in version 2.6.12 of the Linux kernel."
msgstr ""
#. ================== BUGS ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:1351
+#: build/C/man7/cpuset.7:1352
msgid ""
"Despite its name, the I<pid> parameter is actually a thread ID, and each "
"thread in a threaded group can be attached to a different cpuset. The value "
msgstr ""
#. type: SH
-#: build/C/man7/cpuset.7:1351 build/C/man2/getrlimit.2:576 build/C/man2/ioprio_set.2:308 build/C/man2/setfsgid.2:102 build/C/man2/setfsuid.2:102
+#: build/C/man7/cpuset.7:1352 build/C/man2/getpriority.2:225 build/C/man2/getrlimit.2:525 build/C/man2/ioprio_set.2:337 build/C/man2/setfsgid.2:104 build/C/man2/setfsuid.2:104
#, no-wrap
msgid "BUGS"
msgstr ""
#. ================== EXAMPLE ==================
#. type: Plain text
-#: build/C/man7/cpuset.7:1364
+#: build/C/man7/cpuset.7:1365
msgid ""
-"I<memory_pressure> cpuset files can be opened for writing, creation, or "
-"truncation, but then the B<write>(2) fails with I<errno> set to B<EACCES>, "
-"and the creation and truncation options on B<open>(2) have no effect."
+"I<cpuset.memory_pressure> cpuset files can be opened for writing, creation, "
+"or truncation, but then the B<write>(2) fails with I<errno> set to "
+"B<EACCES>, and the creation and truncation options on B<open>(2) have no "
+"effect."
msgstr ""
#. type: SH
-#: build/C/man7/cpuset.7:1364 build/C/man2/getrlimit.2:520
+#: build/C/man7/cpuset.7:1365 build/C/man2/getrlimit.2:600
#, no-wrap
msgid "EXAMPLE"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1367
+#: build/C/man7/cpuset.7:1368
msgid ""
"The following examples demonstrate querying and setting cpuset options using "
"shell commands."
msgstr ""
#. type: SS
-#: build/C/man7/cpuset.7:1367
+#: build/C/man7/cpuset.7:1368
#, no-wrap
msgid "Creating and attaching to a cpuset."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1370
+#: build/C/man7/cpuset.7:1371
msgid ""
"To create a new cpuset and attach the current command shell to it, the steps "
"are:"
msgstr ""
#. type: IP
-#: build/C/man7/cpuset.7:1372 build/C/man7/cpuset.7:1411
+#: build/C/man7/cpuset.7:1373 build/C/man7/cpuset.7:1412
#, no-wrap
msgid "1)"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1374
+#: build/C/man7/cpuset.7:1375
msgid "mkdir /dev/cpuset (if not already done)"
msgstr ""
#. type: IP
-#: build/C/man7/cpuset.7:1374 build/C/man7/cpuset.7:1417
+#: build/C/man7/cpuset.7:1375 build/C/man7/cpuset.7:1418
#, no-wrap
msgid "2)"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1376
+#: build/C/man7/cpuset.7:1377
msgid "mount -t cpuset none /dev/cpuset (if not already done)"
msgstr ""
#. type: IP
-#: build/C/man7/cpuset.7:1376 build/C/man7/cpuset.7:1420
+#: build/C/man7/cpuset.7:1377 build/C/man7/cpuset.7:1421
#, no-wrap
msgid "3)"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1379
+#: build/C/man7/cpuset.7:1380
msgid "Create the new cpuset using B<mkdir>(1)."
msgstr ""
#. type: IP
-#: build/C/man7/cpuset.7:1379 build/C/man7/cpuset.7:1423
+#: build/C/man7/cpuset.7:1380 build/C/man7/cpuset.7:1424
#, no-wrap
msgid "4)"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1381
+#: build/C/man7/cpuset.7:1382
msgid "Assign CPUs and memory nodes to the new cpuset."
msgstr ""
#. type: IP
-#: build/C/man7/cpuset.7:1381 build/C/man7/cpuset.7:1428
+#: build/C/man7/cpuset.7:1382 build/C/man7/cpuset.7:1429
#, no-wrap
msgid "5)"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1383
+#: build/C/man7/cpuset.7:1384
msgid "Attach the shell to the new cpuset."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1388
+#: build/C/man7/cpuset.7:1389
msgid ""
"For example, the following sequence of commands will set up a cpuset named "
"\"Charlie\", containing just CPUs 2 and 3, and memory node 1, and then "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1402
+#: build/C/man7/cpuset.7:1403
#, no-wrap
msgid ""
"$B< mkdir /dev/cpuset>\n"
"$B< cd /dev/cpuset>\n"
"$B< mkdir Charlie>\n"
"$B< cd Charlie>\n"
-"$B< /bin/echo 2-3 E<gt> cpus>\n"
-"$B< /bin/echo 1 E<gt> mems>\n"
+"$B< /bin/echo 2-3 E<gt> cpuset.cpus>\n"
+"$B< /bin/echo 1 E<gt> cpuset.mems>\n"
"$B< /bin/echo $$ E<gt> tasks>\n"
"# The current shell is now running in cpuset Charlie\n"
"# The next line should display '/Charlie'\n"
msgstr ""
#. type: SS
-#: build/C/man7/cpuset.7:1404
+#: build/C/man7/cpuset.7:1405
#, no-wrap
msgid "Migrating a job to different memory nodes."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1409
+#: build/C/man7/cpuset.7:1410
msgid ""
"To migrate a job (the set of processes attached to a cpuset) to different "
"CPUs and memory nodes in the system, including moving the memory pages "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1417
+#: build/C/man7/cpuset.7:1418
msgid ""
"Let's say we want to move the job in cpuset I<alpha> (CPUs 4-7 and memory "
"nodes 2-3) to a new cpuset I<beta> (CPUs 16-19 and memory nodes 8-9)."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1420
+#: build/C/man7/cpuset.7:1421
msgid "First create the new cpuset I<beta>."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1423
+#: build/C/man7/cpuset.7:1424
msgid "Then allow CPUs 16-19 and memory nodes 8-9 in I<beta>."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1428
+#: build/C/man7/cpuset.7:1429
msgid "Then enable I<memory_migration> in I<beta>."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1433
+#: build/C/man7/cpuset.7:1434
msgid "Then move each process from I<alpha> to I<beta>."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1436
+#: build/C/man7/cpuset.7:1437
msgid "The following sequence of commands accomplishes this."
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1446
+#: build/C/man7/cpuset.7:1447
#, no-wrap
msgid ""
"$B< cd /dev/cpuset>\n"
"$B< mkdir beta>\n"
"$B< cd beta>\n"
-"$B< /bin/echo 16-19 E<gt> cpus>\n"
-"$B< /bin/echo 8-9 E<gt> mems>\n"
-"$B< /bin/echo 1 E<gt> memory_migrate>\n"
+"$B< /bin/echo 16-19 E<gt> cpuset.cpus>\n"
+"$B< /bin/echo 8-9 E<gt> cpuset.mems>\n"
+"$B< /bin/echo 1 E<gt> cpuset.memory_migrate>\n"
"$B< while read i; do /bin/echo $i; done E<lt> ../alpha/tasks E<gt> tasks>\n"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1455
+#: build/C/man7/cpuset.7:1456
msgid ""
"The above should move any processes in I<alpha> to I<beta>, and any memory "
"held by these processes on memory nodes 2-3 to memory nodes 8-9, "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1457
+#: build/C/man7/cpuset.7:1458
msgid "Notice that the last step of the above sequence did not do:"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1461
+#: build/C/man7/cpuset.7:1462
#, no-wrap
msgid "$B< cp ../alpha/tasks tasks>\n"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1472
+#: build/C/man7/cpuset.7:1473
msgid ""
"The I<while> loop, rather than the seemingly easier use of the B<cp>(1) "
"command, was necessary because only one process PID at a time may be written "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1480
+#: build/C/man7/cpuset.7:1481
msgid ""
"The same effect (writing one PID at a time) as the I<while> loop can be "
"accomplished more efficiently, in fewer keystrokes and in syntax that works "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1484
+#: build/C/man7/cpuset.7:1485
#, no-wrap
msgid "$B< sed -un p E<lt> ../alpha/tasks E<gt> tasks>\n"
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1501
+#: build/C/man7/cpuset.7:1502
msgid ""
"B<taskset>(1), B<get_mempolicy>(2), B<getcpu>(2), B<mbind>(2), "
"B<sched_getaffinity>(2), B<sched_setaffinity>(2), B<sched_setscheduler>(2), "
msgstr ""
#. type: Plain text
-#: build/C/man7/cpuset.7:1504
-msgid "The kernel source file I<Documentation/cpusets.txt>."
+#: build/C/man7/cpuset.7:1505
+msgid "I<Documentation/cpusets.txt> in the Linux kernel source tree"
msgstr ""
#. type: TH
-#: build/C/man7/credentials.7:25
+#: build/C/man7/credentials.7:27
#, no-wrap
msgid "CREDENTIALS"
msgstr ""
#. type: TH
-#: build/C/man7/credentials.7:25
+#: build/C/man7/credentials.7:27
#, no-wrap
msgid "2008-06-03"
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:28
+#: build/C/man7/credentials.7:30
msgid "credentials - process identifiers"
msgstr ""
#. type: SS
-#: build/C/man7/credentials.7:29
+#: build/C/man7/credentials.7:31
#, no-wrap
msgid "Process ID (PID)"
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:39
+#: build/C/man7/credentials.7:41
msgid ""
"Each process has a unique nonnegative integer identifier that is assigned "
"when the process is created using B<fork>(2). A process can obtain its PID "
#. .BR waitid (2),
#. .BR wait4 (2),
#. type: Plain text
-#: build/C/man7/credentials.7:60
+#: build/C/man7/credentials.7:62
msgid ""
"PIDs are used in a range of system calls to identify the process affected by "
"the call, for example: B<kill>(2), B<ptrace>(2), B<setpriority>(2) "
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:63
+#: build/C/man7/credentials.7:65
msgid "A process's PID is preserved across an B<execve>(2)."
msgstr ""
#. type: SS
-#: build/C/man7/credentials.7:63
+#: build/C/man7/credentials.7:65
#, no-wrap
-msgid "Parent Process ID (PPID)"
+msgid "Parent process ID (PPID)"
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:71
+#: build/C/man7/credentials.7:73
msgid ""
"A process's parent process ID identifies the process that created this "
"process using B<fork>(2). A process can obtain its PPID using "
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:74
+#: build/C/man7/credentials.7:76
msgid "A process's PPID is preserved across an B<execve>(2)."
msgstr ""
#. type: SS
-#: build/C/man7/credentials.7:74
+#: build/C/man7/credentials.7:76
#, no-wrap
-msgid "Process Group ID and Session ID"
+msgid "Process group ID and session ID"
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:82
+#: build/C/man7/credentials.7:84
msgid ""
"Each process has a session ID and a process group ID, both represented using "
"the type I<pid_t>. A process can obtain its session ID using B<getsid>(2), "
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:88
+#: build/C/man7/credentials.7:90
msgid ""
"A child created by B<fork>(2) inherits its parent's session ID and process "
"group ID. A process's session ID and process group ID are preserved across "
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:101
+#: build/C/man7/credentials.7:103
msgid ""
"Sessions and process groups are abstractions devised to support shell job "
"control. A process group (sometimes called a \"job\") is a collection of "
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:113
+#: build/C/man7/credentials.7:115
msgid ""
"A session is a collection of processes that share the same session ID. All "
"of the members of a process group also have the same session ID (i.e., all "
msgstr ""
#. type: SS
-#: build/C/man7/credentials.7:113
+#: build/C/man7/credentials.7:115
#, no-wrap
-msgid "User and Group Identifiers"
+msgid "User and group identifiers"
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:121
+#: build/C/man7/credentials.7:123
msgid ""
"Each process has various associated user and groups IDs. These IDs are "
"integers, respectively represented using the types I<uid_t> and I<gid_t> "
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:123
+#: build/C/man7/credentials.7:125
msgid "On Linux, each process has the following user and group identifiers:"
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:129
+#: build/C/man7/credentials.7:131
msgid ""
"Real user ID and real group ID. These IDs determine who owns the process. "
"A process can obtain its real user (group) ID using B<getuid>(2) "
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:141
+#: build/C/man7/credentials.7:143
msgid ""
"Effective user ID and effective group ID. These IDs are used by the kernel "
"to determine the permissions that the process will have when accessing "
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:163
+#: build/C/man7/credentials.7:165
msgid ""
"Saved set-user-ID and saved set-group-ID. These IDs are used in set-user-ID "
"and set-group-ID programs to save a copy of the corresponding effective IDs "
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:180
+#: build/C/man7/credentials.7:182
msgid ""
"File system user ID and file system group ID (Linux-specific). These IDs, "
"in conjunction with the supplementary group IDs described below, are used to "
#. /proc/sys/kernel/ngroups_max.
#. As at 2.6.22-rc2, this file is still read-only.
#. type: Plain text
-#: build/C/man7/credentials.7:199
+#: build/C/man7/credentials.7:201
msgid ""
"Supplementary group IDs. This is a set of additional group IDs that are "
"used for permission checks when accessing files and other shared resources. "
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:209
+#: build/C/man7/credentials.7:211
msgid ""
"A child process created by B<fork>(2) inherits copies of its parent's user "
"and groups IDs. During an B<execve>(2), a process's real user and group ID "
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:212
+#: build/C/man7/credentials.7:214
msgid ""
"Aside from the purposes noted above, a process's user IDs are also employed "
"in a number of other contexts:"
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:215
+#: build/C/man7/credentials.7:217
msgid "when determining the permissions for sending signals\\(emsee B<kill>(2);"
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:225
+#: build/C/man7/credentials.7:227
msgid ""
"when determining the permissions for setting process-scheduling parameters "
"(nice value, real time scheduling policy and priority, CPU affinity, I/O "
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:228
+#: build/C/man7/credentials.7:230
msgid "when checking resource limits; see B<getrlimit>(2);"
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:232
+#: build/C/man7/credentials.7:234
msgid ""
"when checking the limit on the number of inotify instances that the process "
"may create; see B<inotify>(7)."
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:238
+#: build/C/man7/credentials.7:240
msgid ""
"Process IDs, parent process IDs, process group IDs, and session IDs are "
"specified in POSIX.1-2001. The real, effective, and saved set user and "
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:249
+#: build/C/man7/credentials.7:251
msgid ""
"The POSIX threads specification requires that credentials are shared by all "
"of the threads in a process. However, at the kernel level, Linux maintains "
msgstr ""
#. type: Plain text
-#: build/C/man7/credentials.7:280
+#: build/C/man7/credentials.7:282
msgid ""
"B<bash>(1), B<csh>(1), B<ps>(1), B<access>(2), B<execve>(2), "
"B<faccessat>(2), B<fork>(2), B<getpgrp>(2), B<getpid>(2), B<getppid>(2), "
msgstr ""
#. type: TH
-#: build/C/man2/getgid.2:25 build/C/man2/getgroups.2:31 build/C/man2/getresuid.2:27 build/C/man2/getuid.2:26 build/C/man2/setfsgid.2:29 build/C/man2/setfsuid.2:29 build/C/man2/setgid.2:27 build/C/man2/setresuid.2:26 build/C/man2/setreuid.2:43 build/C/man2/setuid.2:28
+#: build/C/man2/getgid.2:25 build/C/man2/getgroups.2:31 build/C/man2/getresuid.2:28 build/C/man2/getuid.2:26 build/C/man2/setfsgid.2:31 build/C/man2/setfsuid.2:31 build/C/man2/setgid.2:29 build/C/man2/setresuid.2:26 build/C/man2/setreuid.2:45 build/C/man2/setuid.2:30
#, no-wrap
msgid "2010-11-22"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man2/getgid.2:30 build/C/man2/getgroups.2:38 build/C/man2/getpid.2:30 build/C/man2/getresuid.2:34 build/C/man2/getsid.2:30 build/C/man2/getuid.2:31 build/C/man2/seteuid.2:34 build/C/man2/setgid.2:34 build/C/man2/setpgid.2:51 build/C/man2/setresuid.2:33 build/C/man2/setreuid.2:50 build/C/man2/setsid.2:35 build/C/man2/setuid.2:35
+#: build/C/man2/getgid.2:30 build/C/man2/getgroups.2:38 build/C/man2/getpid.2:32 build/C/man2/getresuid.2:35 build/C/man2/getsid.2:31 build/C/man2/getuid.2:31 build/C/man2/seteuid.2:36 build/C/man2/setgid.2:36 build/C/man2/setpgid.2:53 build/C/man2/setresuid.2:33 build/C/man2/setreuid.2:52 build/C/man2/setsid.2:36 build/C/man2/setuid.2:37
msgid "B<#include E<lt>unistd.hE<gt>>"
msgstr ""
#. type: Plain text
-#: build/C/man2/getgid.2:32 build/C/man2/getgroups.2:36 build/C/man2/getpid.2:28 build/C/man2/getuid.2:33 build/C/man2/seteuid.2:32 build/C/man2/setgid.2:32 build/C/man2/setreuid.2:48 build/C/man2/setuid.2:33
+#: build/C/man2/getgid.2:32 build/C/man2/getgroups.2:36 build/C/man2/getpid.2:30 build/C/man2/getuid.2:33 build/C/man2/seteuid.2:34 build/C/man2/setgid.2:34 build/C/man2/setreuid.2:50 build/C/man2/setuid.2:35
msgid "B<#include E<lt>sys/types.hE<gt>>"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man2/getgid.2:44 build/C/man2/getpid.2:44 build/C/man2/getuid.2:45
+#: build/C/man2/getgid.2:44 build/C/man2/getpid.2:46 build/C/man2/getuid.2:45
msgid "These functions are always successful."
msgstr ""
msgstr ""
#. type: TH
-#: build/C/man2/getpid.2:23
+#: build/C/man2/getpid.2:25
#, no-wrap
msgid "GETPID"
msgstr ""
#. type: TH
-#: build/C/man2/getpid.2:23
+#: build/C/man2/getpid.2:25
#, no-wrap
msgid "2008-09-23"
msgstr ""
#. type: Plain text
-#: build/C/man2/getpid.2:26
+#: build/C/man2/getpid.2:28
msgid "getpid, getppid - get process identification"
msgstr ""
#. type: Plain text
-#: build/C/man2/getpid.2:32
+#: build/C/man2/getpid.2:34
msgid "B<pid_t getpid(void);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/getpid.2:34
+#: build/C/man2/getpid.2:36
msgid "B<pid_t getppid(void);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/getpid.2:39
+#: build/C/man2/getpid.2:41
msgid ""
"B<getpid>() returns the process ID of the calling process. (This is often "
"used by routines that generate unique temporary filenames.)"
msgstr ""
#. type: Plain text
-#: build/C/man2/getpid.2:42
+#: build/C/man2/getpid.2:44
msgid "B<getppid>() returns the process ID of the parent of the calling process."
msgstr ""
#. type: Plain text
-#: build/C/man2/getpid.2:46
+#: build/C/man2/getpid.2:48
msgid "POSIX.1-2001, 4.3BSD, SVr4."
msgstr ""
#. wait(NULL);
#. }
#. type: Plain text
-#: build/C/man2/getpid.2:98
+#: build/C/man2/getpid.2:100
msgid ""
"Since glibc version 2.3.4, the glibc wrapper function for B<getpid>() "
"caches PIDs, so as to avoid additional system calls when a process calls "
msgstr ""
#. type: Plain text
-#: build/C/man2/getpid.2:108
+#: build/C/man2/getpid.2:110
msgid ""
"B<clone>(2), B<fork>(2), B<kill>(2), B<exec>(3), B<mkstemp>(3), "
"B<tempnam>(3), B<tmpfile>(3), B<tmpnam>(3), B<credentials>(7)"
msgstr ""
#. type: TH
-#: build/C/man2/getpriority.2:46
+#: build/C/man2/getpriority.2:48
#, no-wrap
msgid "GETPRIORITY"
msgstr ""
-#. type: TH
-#: build/C/man2/getpriority.2:46
-#, no-wrap
-msgid "2008-05-29"
-msgstr ""
-
#. type: Plain text
-#: build/C/man2/getpriority.2:49
+#: build/C/man2/getpriority.2:51
msgid "getpriority, setpriority - get/set program scheduling priority"
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:51 build/C/man2/getrlimit.2:69 build/C/man2/getrusage.2:44
+#: build/C/man2/getpriority.2:53 build/C/man2/getrlimit.2:69 build/C/man2/getrusage.2:44
msgid "B<#include E<lt>sys/time.hE<gt>>"
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:53 build/C/man2/getrlimit.2:71 build/C/man2/getrusage.2:46
+#: build/C/man2/getpriority.2:55 build/C/man2/getrlimit.2:71 build/C/man2/getrusage.2:46
msgid "B<#include E<lt>sys/resource.hE<gt>>"
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:55
+#: build/C/man2/getpriority.2:57
msgid "B<int getpriority(int >I<which>B<, int >I<who>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:57
+#: build/C/man2/getpriority.2:59
msgid "B<int setpriority(int >I<which>B<, int >I<who>B<, int >I<prio>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:68
+#: build/C/man2/getpriority.2:70
msgid ""
"The scheduling priority of the process, process group, or user, as indicated "
"by I<which> and I<who> is obtained with the B<getpriority>() call and set "
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:95
+#: build/C/man2/getpriority.2:97
msgid ""
"The value I<which> is one of B<PRIO_PROCESS>, B<PRIO_PGRP>, or B<PRIO_USER>, "
"and I<who> is interpreted relative to I<which> (a process identifier for "
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:105
+#: build/C/man2/getpriority.2:107
msgid ""
"The B<getpriority>() call returns the highest priority (lowest numerical "
"value) enjoyed by any of the specified processes. The B<setpriority>() "
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:118
+#: build/C/man2/getpriority.2:120
msgid ""
"Since B<getpriority>() can legitimately return the value -1, it is "
"necessary to clear the external variable I<errno> prior to the call, then "
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:127
+#: build/C/man2/getpriority.2:129
msgid "I<which> was not one of B<PRIO_PROCESS>, B<PRIO_PGRP>, or B<PRIO_USER>."
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:134
+#: build/C/man2/getpriority.2:136
msgid "No process was located using the I<which> and I<who> values specified."
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:138
+#: build/C/man2/getpriority.2:140
msgid "In addition to the errors indicated above, B<setpriority>() may fail if:"
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:150
+#: build/C/man2/getpriority.2:152
msgid ""
"The caller attempted to lower a process priority, but did not have the "
"required privilege (on Linux: did not have the B<CAP_SYS_NICE> capability). "
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:158
+#: build/C/man2/getpriority.2:160
msgid ""
"A process was located, but its effective user ID did not match either the "
"effective or the real user ID of the caller, and was not privileged (on "
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:161
+#: build/C/man2/getpriority.2:163
msgid "SVr4, 4.4BSD (these function calls first appeared in 4.2BSD), POSIX.1-2001."
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:167
+#: build/C/man2/getpriority.2:169
msgid ""
"A child created by B<fork>(2) inherits its parent's nice value. The nice "
"value is preserved across B<execve>(2)."
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:178
+#: build/C/man2/getpriority.2:180
msgid ""
"The degree to which their relative nice value affects the scheduling of "
"processes varies across UNIX systems, and, on Linux, across kernel "
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:193
+#: build/C/man2/getpriority.2:195
msgid ""
"The details on the condition for B<EPERM> depend on the system. The above "
"description is what POSIX.1-2001 says, and seems to be followed on all "
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:209
+#: build/C/man2/getpriority.2:211
msgid ""
"The actual priority range varies between kernel versions. Linux before "
"1.3.36 had -infinity..15. Since kernel 1.3.43 Linux has the range -20..19. "
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:211
+#: build/C/man2/getpriority.2:213
msgid "On some systems, the range of nice values is -20..20."
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:223
+#: build/C/man2/getpriority.2:225
msgid ""
"Including I<E<lt>sys/time.hE<gt>> is not required these days, but increases "
"portability. (Indeed, I<E<lt>sys/resource.hE<gt>> defines the I<rusage> "
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:228
+#: build/C/man2/getpriority.2:232
+msgid ""
+"According to POSIX, the nice value is a per-process setting. However, under "
+"the current Linux/NPTL implementation of POSIX threads, the nice value is a "
+"per-thread attribute: different threads in the same process can have "
+"different nice values. Portable applications should avoid relying on the "
+"Linux behavior, which may be made standards conformant in the future."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/getpriority.2:237
msgid "B<nice>(1), B<renice>(1), B<fork>(2), B<capabilities>(7)"
msgstr ""
#. type: Plain text
-#: build/C/man2/getpriority.2:231
+#: build/C/man2/getpriority.2:240
msgid ""
-"I<Documentation/scheduler/sched-nice-design.txt> in the kernel source tree "
-"(since Linux 2.6.23)."
+"I<Documentation/scheduler/sched-nice-design.txt> in the Linux kernel source "
+"tree (since Linux 2.6.23)"
msgstr ""
#. type: TH
-#: build/C/man2/getresuid.2:27
+#: build/C/man2/getresuid.2:28
#, no-wrap
msgid "GETRESUID"
msgstr ""
#. type: Plain text
-#: build/C/man2/getresuid.2:30
+#: build/C/man2/getresuid.2:31
msgid "getresuid, getresgid - get real, effective and saved user/group IDs"
msgstr ""
#. type: Plain text
-#: build/C/man2/getresuid.2:32 build/C/man2/setresuid.2:31
+#: build/C/man2/getresuid.2:33 build/C/man2/setresuid.2:31
msgid "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */"
msgstr ""
#. type: Plain text
-#: build/C/man2/getresuid.2:36
+#: build/C/man2/getresuid.2:37
msgid "B<int getresuid(uid_t *>I<ruid>B<, uid_t *>I<euid>B<, uid_t *>I<suid>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/getresuid.2:38
+#: build/C/man2/getresuid.2:39
msgid "B<int getresgid(gid_t *>I<rgid>B<, gid_t *>I<egid>B<, gid_t *>I<sgid>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/getresuid.2:49
+#: build/C/man2/getresuid.2:50
msgid ""
"B<getresuid>() returns the real UID, the effective UID, and the saved "
"set-user-ID of the calling process, in the arguments I<ruid>, I<euid>, and "
msgstr ""
#. type: Plain text
-#: build/C/man2/getresuid.2:59
+#: build/C/man2/getresuid.2:60
msgid ""
"One of the arguments specified an address outside the calling program's "
"address space."
msgstr ""
#. type: Plain text
-#: build/C/man2/getresuid.2:61
+#: build/C/man2/getresuid.2:62
msgid "These system calls appeared on Linux starting with kernel 2.1.44."
msgstr ""
#. type: Plain text
-#: build/C/man2/getresuid.2:66
+#: build/C/man2/getresuid.2:67
msgid ""
"The prototypes are given by glibc since version 2.3.2, provided "
"B<_GNU_SOURCE> is defined."
msgstr ""
#. type: Plain text
-#: build/C/man2/getresuid.2:69 build/C/man2/setresuid.2:86
+#: build/C/man2/getresuid.2:70 build/C/man2/setresuid.2:86
msgid "These calls are nonstandard; they also appear on HP-UX and some of the BSDs."
msgstr ""
#. type: Plain text
-#: build/C/man2/getresuid.2:85
+#: build/C/man2/getresuid.2:86
msgid ""
"The original Linux B<getresuid>() and B<getresgid>() system calls "
"supported only 16-bit user and group IDs. Subsequently, Linux 2.4 added "
msgstr ""
#. type: Plain text
-#: build/C/man2/getresuid.2:91
+#: build/C/man2/getresuid.2:92
msgid ""
"B<getuid>(2), B<setresuid>(2), B<setreuid>(2), B<setuid>(2), "
"B<credentials>(7)"
msgstr ""
#. type: TH
-#: build/C/man2/getrlimit.2:64
+#: build/C/man2/getrlimit.2:64 build/C/man2/setsid.2:30
#, no-wrap
-msgid "2011-09-10"
+msgid "2013-02-11"
msgstr ""
#. type: Plain text
msgstr ""
#. type: Plain text
-#: build/C/man2/getrlimit.2:520
+#: build/C/man2/getrlimit.2:516
+msgid ""
+"Since Linux 2.6.24, the resource limits of any process can be inspected via "
+"I</proc/[pid]/limits>; see B<proc>(5)."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/getrlimit.2:525
msgid ""
"Ancient systems provided a B<vlimit>() function with a similar purpose to "
"B<setrlimit>(). For backward compatibility, glibc also provides "
"B<vlimit>(). All new applications should be written using B<setrlimit>()."
msgstr ""
+#. FIXME prlimit() does not suffer
+#. https://bugzilla.kernel.org/show_bug.cgi?id=5042
+#. http://sources.redhat.com/bugzilla/show_bug.cgi?id=12201
+#. Since versions 2.13, glibc has library implementations of
+#. getrlimit() and setrlimit() that use prlimit() to work around
+#. this bug.
+#. type: Plain text
+#: build/C/man2/getrlimit.2:540
+msgid ""
+"In older Linux kernels, the B<SIGXCPU> and B<SIGKILL> signals delivered when "
+"a process encountered the soft and hard B<RLIMIT_CPU> limits were delivered "
+"one (CPU) second later than they should have been. This was fixed in kernel "
+"2.6.8."
+msgstr ""
+
+#. see http://marc.theaimsgroup.com/?l=linux-kernel&m=114008066530167&w=2
+#. type: Plain text
+#: build/C/man2/getrlimit.2:548
+msgid ""
+"In 2.6.x kernels before 2.6.17, a B<RLIMIT_CPU> limit of 0 is wrongly "
+"treated as \"no limit\" (like B<RLIM_INFINITY>). Since Linux 2.6.17, "
+"setting a limit of 0 does have an effect, but is actually treated as a limit "
+"of 1 second."
+msgstr ""
+
+#. See https://lwn.net/Articles/145008/
+#. type: Plain text
+#: build/C/man2/getrlimit.2:553
+msgid ""
+"A kernel bug means that B<RLIMIT_RTPRIO> does not work in kernel 2.6.12; the "
+"problem is fixed in kernel 2.6.13."
+msgstr ""
+
+#. see http://marc.theaimsgroup.com/?l=linux-kernel&m=112256338703880&w=2
+#. type: Plain text
+#: build/C/man2/getrlimit.2:564
+msgid ""
+"In kernel 2.6.12, there was an off-by-one mismatch between the priority "
+"ranges returned by B<getpriority>(2) and B<RLIMIT_NICE>. This had the "
+"effect that the actual ceiling for the nice value was calculated as I<19\\ "
+"-\\ rlim_cur>. This was fixed in kernel 2.6.13."
+msgstr ""
+
+#. The relevant patch, sent to LKML, seems to be
+#. http://thread.gmane.org/gmane.linux.kernel/273462
+#. From: Roland McGrath <roland <at> redhat.com>
+#. Subject: [PATCH 7/7] make RLIMIT_CPU/SIGXCPU per-process
+#. Date: 2005-01-23 23:27:46 GMT
+#. Tested Solaris 10, FreeBSD 9, OpenBSD 5.0
+#. FIXME https://bugzilla.kernel.org/show_bug.cgi?id=50951
#. type: Plain text
-#: build/C/man2/getrlimit.2:523
+#: build/C/man2/getrlimit.2:591
+msgid ""
+"Since Linux 2.6.12, if a process reaches its soft B<RLIMIT_CPU> limit and "
+"has a handler installed for B<SIGXCPU>, then, in addition to invoking the "
+"signal handler, the kernel increases the soft limit by one second. This "
+"behavior repeats if the process continues to consume CPU time, until the "
+"hard limit is reached, at which point the process is killed. Other "
+"implementations do not change the B<RLIMIT_CPU> soft limit in this manner, "
+"and the Linux behavior is probably not standards conformant; portable "
+"applications should avoid relying on this Linux-specific behavior. The "
+"Linux-specific B<RLIMIT_RTTIME> limit exhibits the same behavior when the "
+"soft limit is encountered."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/getrlimit.2:600
+msgid ""
+"Kernels before 2.4.22 did not diagnose the error B<EINVAL> for "
+"B<setrlimit>() when I<rlim-E<gt>rlim_cur> was greater than "
+"I<rlim-E<gt>rlim_max>."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/getrlimit.2:603
msgid "The program below demonstrates the use of B<prlimit>()."
msgstr ""
#. type: Plain text
-#: build/C/man2/getrlimit.2:532
+#: build/C/man2/getrlimit.2:612
#, no-wrap
msgid ""
"#define _GNU_SOURCE\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/getrlimit.2:535
+#: build/C/man2/getrlimit.2:615
#, no-wrap
msgid ""
"#define errExit(msg) \tdo { perror(msg); exit(EXIT_FAILURE); \\e\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/getrlimit.2:542
+#: build/C/man2/getrlimit.2:622
#, no-wrap
msgid ""
"int\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/getrlimit.2:548
+#: build/C/man2/getrlimit.2:628
#, no-wrap
msgid ""
" if (!(argc == 2 || argc == 4)) {\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/getrlimit.2:550
+#: build/C/man2/getrlimit.2:630
#, no-wrap
msgid " pid = atoi(argv[1]); /* PID of target process */\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/getrlimit.2:557
+#: build/C/man2/getrlimit.2:637
#, no-wrap
msgid ""
" newp = NULL;\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/getrlimit.2:560
+#: build/C/man2/getrlimit.2:640
#, no-wrap
msgid ""
" /* Set CPU time limit of target process; retrieve and display\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/getrlimit.2:565
+#: build/C/man2/getrlimit.2:645
#, no-wrap
msgid ""
" if (prlimit(pid, RLIMIT_CPU, newp, &old) == -1)\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/getrlimit.2:567
+#: build/C/man2/getrlimit.2:647
#, no-wrap
msgid " /* Retrieve and display new CPU time limit */\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/getrlimit.2:572
+#: build/C/man2/getrlimit.2:652
#, no-wrap
msgid ""
" if (prlimit(pid, RLIMIT_CPU, NULL, &old) == -1)\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/getrlimit.2:575
+#: build/C/man2/getrlimit.2:655
#, no-wrap
msgid ""
" exit(EXIT_FAILURE);\n"
"}\n"
msgstr ""
-#. FIXME prlimit() does not suffer
-#. https://bugzilla.kernel.org/show_bug.cgi?id=5042
-#. http://sources.redhat.com/bugzilla/show_bug.cgi?id=12201
-#. type: Plain text
-#: build/C/man2/getrlimit.2:588
-msgid ""
-"In older Linux kernels, the B<SIGXCPU> and B<SIGKILL> signals delivered when "
-"a process encountered the soft and hard B<RLIMIT_CPU> limits were delivered "
-"one (CPU) second later than they should have been. This was fixed in kernel "
-"2.6.8."
-msgstr ""
-
-#. see http://marc.theaimsgroup.com/?l=linux-kernel&m=114008066530167&w=2
#. type: Plain text
-#: build/C/man2/getrlimit.2:596
+#: build/C/man2/getrlimit.2:674
msgid ""
-"In 2.6.x kernels before 2.6.17, a B<RLIMIT_CPU> limit of 0 is wrongly "
-"treated as \"no limit\" (like B<RLIM_INFINITY>). Since Linux 2.6.17, "
-"setting a limit of 0 does have an effect, but is actually treated as a limit "
-"of 1 second."
-msgstr ""
-
-#. type: Plain text
-#: build/C/man2/getrlimit.2:600
-msgid ""
-"A kernel bug means that B<RLIMIT_RTPRIO> does not work in kernel 2.6.12; the "
-"problem is fixed in kernel 2.6.13."
-msgstr ""
-
-#. see http://marc.theaimsgroup.com/?l=linux-kernel&m=112256338703880&w=2
-#. type: Plain text
-#: build/C/man2/getrlimit.2:611
-msgid ""
-"In kernel 2.6.12, there was an off-by-one mismatch between the priority "
-"ranges returned by B<getpriority>(2) and B<RLIMIT_NICE>. This had the "
-"effect that the actual ceiling for the nice value was calculated as I<19\\ "
-"-\\ rlim_cur>. This was fixed in kernel 2.6.13."
-msgstr ""
-
-#. type: Plain text
-#: build/C/man2/getrlimit.2:620
-msgid ""
-"Kernels before 2.4.22 did not diagnose the error B<EINVAL> for "
-"B<setrlimit>() when I<rlim-E<gt>rlim_cur> was greater than "
-"I<rlim-E<gt>rlim_max>."
-msgstr ""
-
-#. type: Plain text
-#: build/C/man2/getrlimit.2:637
-msgid ""
-"B<dup>(2), B<fcntl>(2), B<fork>(2), B<getrusage>(2), B<mlock>(2), "
-"B<mmap>(2), B<open>(2), B<quotactl>(2), B<sbrk>(2), B<shmctl>(2), "
-"B<malloc>(3), B<sigqueue>(3), B<ulimit>(3), B<core>(5), B<capabilities>(7), "
-"B<signal>(7)"
+"B<prlimit>(1), B<dup>(2), B<fcntl>(2), B<fork>(2), B<getrusage>(2), "
+"B<mlock>(2), B<mmap>(2), B<open>(2), B<quotactl>(2), B<sbrk>(2), "
+"B<shmctl>(2), B<malloc>(3), B<sigqueue>(3), B<ulimit>(3), B<core>(5), "
+"B<capabilities>(7), B<signal>(7)"
msgstr ""
#. type: TH
msgstr ""
#. type: TH
-#: build/C/man2/getrusage.2:39 build/C/man2/getsid.2:25 build/C/man2/setpgid.2:46
+#: build/C/man2/getrusage.2:39 build/C/man2/getsid.2:26 build/C/man2/setpgid.2:48
#, no-wrap
msgid "2010-09-26"
msgstr ""
msgstr ""
#. type: TH
-#: build/C/man2/getsid.2:25
+#: build/C/man2/getsid.2:26
#, no-wrap
msgid "GETSID"
msgstr ""
#. type: Plain text
-#: build/C/man2/getsid.2:28
+#: build/C/man2/getsid.2:29
msgid "getsid - get session ID"
msgstr ""
#. type: Plain text
-#: build/C/man2/getsid.2:32
+#: build/C/man2/getsid.2:33
msgid "B<pid_t getsid(pid_t>I< pid>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/getsid.2:41
+#: build/C/man2/getsid.2:42
msgid "B<getsid>():"
msgstr ""
#. type: Plain text
-#: build/C/man2/getsid.2:44 build/C/man2/setpgid.2:77
+#: build/C/man2/getsid.2:45 build/C/man2/setpgid.2:79
msgid "_XOPEN_SOURCE\\ E<gt>=\\ 500 || _XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED"
msgstr ""
#. type: Plain text
-#: build/C/man2/getsid.2:46 build/C/man2/setpgid.2:79
+#: build/C/man2/getsid.2:47 build/C/man2/setpgid.2:81
msgid "|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
msgstr ""
#. type: Plain text
-#: build/C/man2/getsid.2:57
+#: build/C/man2/getsid.2:58
msgid ""
"I<getsid(0)> returns the session ID of the calling process. I<getsid(p)> "
"returns the session ID of the process with process ID I<p>. (The session ID "
msgstr ""
#. type: Plain text
-#: build/C/man2/getsid.2:62
+#: build/C/man2/getsid.2:63
msgid ""
"On success, a session ID is returned. On error, I<(pid_t)\\ -1> will be "
"returned, and I<errno> is set appropriately."
msgstr ""
#. type: Plain text
-#: build/C/man2/getsid.2:69
+#: build/C/man2/getsid.2:70
msgid ""
"A process with process ID I<p> exists, but it is not in the same session as "
"the calling process, and the implementation considers this an error."
msgstr ""
#. type: Plain text
-#: build/C/man2/getsid.2:74
+#: build/C/man2/getsid.2:75
msgid "No process with process ID I<p> was found."
msgstr ""
#. Linux has this system call since Linux 1.3.44.
#. There is libc support since libc 5.2.19.
#. type: Plain text
-#: build/C/man2/getsid.2:78
+#: build/C/man2/getsid.2:79
msgid "This system call is available on Linux since version 2.0."
msgstr ""
#. type: Plain text
-#: build/C/man2/getsid.2:80 build/C/man2/setgid.2:76 build/C/man2/setsid.2:66
+#: build/C/man2/getsid.2:81 build/C/man2/setgid.2:68 build/C/man2/setsid.2:67
msgid "SVr4, POSIX.1-2001."
msgstr ""
#. type: Plain text
-#: build/C/man2/getsid.2:83
+#: build/C/man2/getsid.2:84
msgid "Linux does not return B<EPERM>."
msgstr ""
#. type: Plain text
-#: build/C/man2/getsid.2:87
+#: build/C/man2/getsid.2:88
msgid "B<getpgid>(2), B<setsid>(2), B<credentials>(7)"
msgstr ""
#. type: TH
#: build/C/man2/iopl.2:33
#, no-wrap
-msgid "2004-05-27"
+msgid "2013-03-15"
msgstr ""
#. type: Plain text
msgstr ""
#. type: Plain text
-#: build/C/man2/iopl.2:44
+#: build/C/man2/iopl.2:45
msgid ""
"B<iopl>() changes the I/O privilege level of the calling process, as "
-"specified in I<level>."
+"specified by the two least significant bits in I<level>."
msgstr ""
#. type: Plain text
-#: build/C/man2/iopl.2:50
+#: build/C/man2/iopl.2:51
msgid ""
"This call is necessary to allow 8514-compatible X servers to run under "
"Linux. Since these X servers require access to all 65536 I/O ports, the "
msgstr ""
#. type: Plain text
-#: build/C/man2/iopl.2:54
+#: build/C/man2/iopl.2:55
msgid ""
"In addition to granting unrestricted I/O port access, running at a higher "
"I/O privilege level also allows the process to disable interrupts. This "
msgstr ""
#. type: Plain text
-#: build/C/man2/iopl.2:59
+#: build/C/man2/iopl.2:60
msgid "Permissions are inherited by B<fork>(2) and B<execve>(2)."
msgstr ""
#. type: Plain text
-#: build/C/man2/iopl.2:61
+#: build/C/man2/iopl.2:62
msgid "The I/O privilege level for a normal process is 0."
msgstr ""
#. type: Plain text
-#: build/C/man2/iopl.2:65
+#: build/C/man2/iopl.2:66
msgid ""
"This call is mostly for the i386 architecture. On many other architectures "
"it does not exist or will always return an error."
msgstr ""
#. type: Plain text
-#: build/C/man2/iopl.2:75
+#: build/C/man2/iopl.2:76
msgid "I<level> is greater than 3."
msgstr ""
#. type: Plain text
-#: build/C/man2/iopl.2:78
+#: build/C/man2/iopl.2:79
msgid "This call is unimplemented."
msgstr ""
#. type: Plain text
-#: build/C/man2/iopl.2:85
+#: build/C/man2/iopl.2:87
msgid ""
"The calling process has insufficient privilege to call B<iopl>(); the "
-"B<CAP_SYS_RAWIO> capability is required."
+"B<CAP_SYS_RAWIO> capability is required to raise the I/O privilege level "
+"above its current value."
msgstr ""
#. type: Plain text
-#: build/C/man2/iopl.2:89
+#: build/C/man2/iopl.2:91
msgid ""
-"B<iopl>() is Linux-specific and should not be used in processes intended to "
-"be portable."
+"B<iopl>() is Linux-specific and should not be used in programs that are "
+"intended to be portable."
msgstr ""
#. type: Plain text
-#: build/C/man2/iopl.2:98
+#: build/C/man2/iopl.2:100
msgid ""
"Libc5 treats it as a system call and has a prototype in "
"I<E<lt>unistd.hE<gt>>. Glibc1 does not have a prototype. Glibc2 has a "
msgstr ""
#. type: Plain text
-#: build/C/man2/iopl.2:101
-msgid "B<ioperm>(2), B<capabilities>(7)"
+#: build/C/man2/iopl.2:104
+msgid "B<ioperm>(2), B<outb>(2), B<capabilities>(7)"
msgstr ""
#. type: TH
-#: build/C/man2/ioprio_set.2:25
+#: build/C/man2/ioprio_set.2:24
#, no-wrap
msgid "IOPRIO_SET"
msgstr ""
-#. type: TH
-#: build/C/man2/ioprio_set.2:25
-#, no-wrap
-msgid "2008-07-09"
-msgstr ""
-
#. type: Plain text
-#: build/C/man2/ioprio_set.2:28
+#: build/C/man2/ioprio_set.2:27
msgid "ioprio_get, ioprio_set - get/set I/O scheduling class and priority"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:32
+#: build/C/man2/ioprio_set.2:31
#, no-wrap
msgid ""
"B<int ioprio_get(int >I<which>B<, int >I<who>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:40
+#: build/C/man2/ioprio_set.2:35
+msgid "I<Note>: There are no glibc wrappers for these system calls; see NOTES."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/ioprio_set.2:42
msgid ""
"The B<ioprio_get>() and B<ioprio_set>() system calls respectively get and "
-"set the I/O scheduling class and priority of one or more processes."
+"set the I/O scheduling class and priority of one or more threads."
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:52
+#: build/C/man2/ioprio_set.2:54
msgid ""
-"The I<which> and I<who> arguments identify the process(es) on which the "
-"system calls operate. The I<which> argument determines how I<who> is "
-"interpreted, and has one of the following values:"
+"The I<which> and I<who> arguments identify the thread(s) on which the system "
+"calls operate. The I<which> argument determines how I<who> is interpreted, "
+"and has one of the following values:"
msgstr ""
#. type: TP
-#: build/C/man2/ioprio_set.2:52
+#: build/C/man2/ioprio_set.2:54
#, no-wrap
msgid "B<IOPRIO_WHO_PROCESS>"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:56
-msgid "I<who> is a process ID identifying a single process."
+#: build/C/man2/ioprio_set.2:61
+msgid ""
+"I<who> is a process ID or thread ID identifying a single process or thread. "
+"If I<who> is 0, then operate on the calling thread."
msgstr ""
#. type: TP
-#: build/C/man2/ioprio_set.2:56
+#: build/C/man2/ioprio_set.2:61
#, no-wrap
msgid "B<IOPRIO_WHO_PGRP>"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:60
-msgid "I<who> is a process group ID identifying all the members of a process group."
+#: build/C/man2/ioprio_set.2:68
+msgid ""
+"I<who> is a process group ID identifying all the members of a process "
+"group. If I<who> is 0, then operate on the process group of which the "
+"caller is a member."
msgstr ""
#. type: TP
-#: build/C/man2/ioprio_set.2:60
+#: build/C/man2/ioprio_set.2:68
#, no-wrap
msgid "B<IOPRIO_WHO_USER>"
msgstr ""
+#. FIXME who==0 needs to be documented,
+#. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652443
#. type: Plain text
-#: build/C/man2/ioprio_set.2:65
+#: build/C/man2/ioprio_set.2:75
msgid ""
"I<who> is a user ID identifying all of the processes that have a matching "
"real UID."
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:88
+#: build/C/man2/ioprio_set.2:98
msgid ""
"If I<which> is specified as B<IOPRIO_WHO_PGRP> or B<IOPRIO_WHO_USER> when "
"calling B<ioprio_get>(), and more than one process matches I<who>, then the "
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:98
+#: build/C/man2/ioprio_set.2:108
msgid ""
"The I<ioprio> argument given to B<ioprio_set>() is a bit mask that "
"specifies both the scheduling class and the priority to be assigned to the "
msgstr ""
#. type: TP
-#: build/C/man2/ioprio_set.2:98
+#: build/C/man2/ioprio_set.2:108
#, no-wrap
msgid "B<IOPRIO_PRIO_VALUE(>I<class>B<, >I<data>B<)>"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:107
+#: build/C/man2/ioprio_set.2:117
msgid ""
"Given a scheduling I<class> and priority (I<data>), this macro combines the "
"two values to produce an I<ioprio> value, which is returned as the result of "
msgstr ""
#. type: TP
-#: build/C/man2/ioprio_set.2:107
+#: build/C/man2/ioprio_set.2:117
#, no-wrap
msgid "B<IOPRIO_PRIO_CLASS(>I<mask>B<)>"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:119
+#: build/C/man2/ioprio_set.2:129
msgid ""
"Given I<mask> (an I<ioprio> value), this macro returns its I/O class "
"component, that is, one of the values B<IOPRIO_CLASS_RT>, "
msgstr ""
#. type: TP
-#: build/C/man2/ioprio_set.2:119
+#: build/C/man2/ioprio_set.2:129
#, no-wrap
msgid "B<IOPRIO_PRIO_DATA(>I<mask>B<)>"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:128
+#: build/C/man2/ioprio_set.2:138
msgid ""
"Given I<mask> (an I<ioprio> value), this macro returns its priority "
"(I<data>) component."
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:131
+#: build/C/man2/ioprio_set.2:141
msgid ""
"See the NOTES section for more information on scheduling classes and "
"priorities."
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:139
+#: build/C/man2/ioprio_set.2:149
msgid ""
"I/O priorities are supported for reads and for synchronous (B<O_DIRECT>, "
"B<O_SYNC>) writes. I/O priorities are not supported for asynchronous "
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:152
+#: build/C/man2/ioprio_set.2:162
msgid ""
"On success, B<ioprio_get>() returns the I<ioprio> value of the process with "
"highest I/O priority of any of the processes that match the criteria "
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:159
+#: build/C/man2/ioprio_set.2:169
msgid ""
"On success, B<ioprio_set>() returns 0. On error, -1 is returned, and "
"I<errno> is set to indicate the error."
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:169
+#: build/C/man2/ioprio_set.2:179
msgid ""
"Invalid value for I<which> or I<ioprio>. Refer to the NOTES section for "
"available scheduler classes and priority levels for I<ioprio>."
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:177
+#: build/C/man2/ioprio_set.2:187
msgid ""
"The calling process does not have the privilege needed to assign this "
"I<ioprio> to the specified process(es). See the NOTES section for more "
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:183
+#: build/C/man2/ioprio_set.2:193
msgid ""
"No process(es) could be found that matched the specification in I<which> and "
"I<who>."
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:186
+#: build/C/man2/ioprio_set.2:196
msgid "These system calls have been available on Linux since kernel 2.6.13."
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:191
+#: build/C/man2/ioprio_set.2:201
msgid ""
-"Glibc does not provide wrapper for these system calls; call them using "
+"Glibc does not provide a wrapper for these system calls; call them using "
"B<syscall>(2)."
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:196
+#: build/C/man2/ioprio_set.2:220
+msgid ""
+"Two or more processes or threads can share an I/O context. This will be the "
+"case when B<clone>(2) was called with the B<CLONE_IO> flag. However, by "
+"default, the distinct threads of a process will B<not> share the same I/O "
+"context. This means that if you want to change the I/O priority of all "
+"threads in a process, you may need to call B<ioprio_set>() on each of the "
+"threads. The thread ID that you would need for this operation is the one "
+"that is returned by B<gettid>(2) or B<clone>(2)."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/ioprio_set.2:225
msgid ""
"These system calls only have an effect when used in conjunction with an I/O "
"scheduler that supports I/O priorities. As at kernel 2.6.17 the only such "
msgstr ""
#. type: SS
-#: build/C/man2/ioprio_set.2:196
+#: build/C/man2/ioprio_set.2:225
#, no-wrap
-msgid "Selecting an I/O Scheduler"
+msgid "Selecting an I/O scheduler"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:200
+#: build/C/man2/ioprio_set.2:229
msgid ""
"I/O Schedulers are selected on a per-device basis via the special file "
"I</sys/block/E<lt>deviceE<gt>/queue/scheduler>."
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:206
+#: build/C/man2/ioprio_set.2:235
msgid ""
"One can view the current I/O scheduler via the I</sys> file system. For "
"example, the following command displays a list of all schedulers currently "
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:211
+#: build/C/man2/ioprio_set.2:240
#, no-wrap
msgid ""
"$B< cat /sys/block/hda/queue/scheduler>\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:225
+#: build/C/man2/ioprio_set.2:254
msgid ""
"The scheduler surrounded by brackets is the one actually in use for the "
"device (I<hda> in the example). Setting another scheduler is done by "
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:231
+#: build/C/man2/ioprio_set.2:260
#, no-wrap
msgid ""
"$B< su>\n"
msgstr ""
#. type: SS
-#: build/C/man2/ioprio_set.2:233
+#: build/C/man2/ioprio_set.2:262
#, no-wrap
-msgid "The Completely Fair Queuing (CFQ) I/O Scheduler"
+msgid "The Completely Fair Queuing (CFQ) I/O scheduler"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:239
+#: build/C/man2/ioprio_set.2:268
msgid ""
"Since v3 (aka CFQ Time Sliced) CFQ implements I/O nice levels similar to "
"those of CPU scheduling. These nice levels are grouped in three scheduling "
msgstr ""
#. type: TP
-#: build/C/man2/ioprio_set.2:239
+#: build/C/man2/ioprio_set.2:268
#, no-wrap
msgid "B<IOPRIO_CLASS_RT> (1)"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:254
+#: build/C/man2/ioprio_set.2:283
msgid ""
"This is the real-time I/O class. This scheduling class is given higher "
"priority than any other class: processes from this class are given first "
msgstr ""
#. type: TP
-#: build/C/man2/ioprio_set.2:254
+#: build/C/man2/ioprio_set.2:283
#, no-wrap
msgid "B<IOPRIO_CLASS_BE> (2)"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:267
+#: build/C/man2/ioprio_set.2:296
msgid ""
"This is the best-effort scheduling class, which is the default for any "
"process that hasn't set a specific I/O priority. The class data (priority) "
msgstr ""
#. type: TP
-#: build/C/man2/ioprio_set.2:267
+#: build/C/man2/ioprio_set.2:296
#, no-wrap
msgid "B<IOPRIO_CLASS_IDLE> (3)"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:276
+#: build/C/man2/ioprio_set.2:305
msgid ""
"This is the idle scheduling class. Processes running at this level only get "
"I/O time when no-one else needs the disk. The idle class has no class "
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:280
+#: build/C/man2/ioprio_set.2:309
msgid ""
"Refer to I<Documentation/block/ioprio.txt> for more information on the CFQ "
"I/O Scheduler and an example program."
msgstr ""
#. type: SS
-#: build/C/man2/ioprio_set.2:280
+#: build/C/man2/ioprio_set.2:309
#, no-wrap
msgid "Required permissions to set I/O priorities"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:283
+#: build/C/man2/ioprio_set.2:312
msgid ""
"Permission to change a process's priority is granted or denied based on two "
"assertions:"
msgstr ""
#. type: TP
-#: build/C/man2/ioprio_set.2:283
+#: build/C/man2/ioprio_set.2:312
#, no-wrap
msgid "B<Process ownership>"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:291
+#: build/C/man2/ioprio_set.2:320
msgid ""
"An unprivileged process may only set the I/O priority of a process whose "
"real UID matches the real or effective UID of the calling process. A "
msgstr ""
#. type: TP
-#: build/C/man2/ioprio_set.2:291
+#: build/C/man2/ioprio_set.2:320
#, no-wrap
msgid "B<What is the desired priority>"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:303
+#: build/C/man2/ioprio_set.2:332
msgid ""
"Attempts to set very high priorities (B<IOPRIO_CLASS_RT>) require the "
"B<CAP_SYS_ADMIN> capability. Kernel versions up to 2.6.24 also required "
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:308
+#: build/C/man2/ioprio_set.2:337
msgid ""
"A call to B<ioprio_set>() must follow both rules, or the call will fail "
"with the error B<EPERM>."
#. Ulrich Drepper replied that he wasn't going to add these
#. to glibc.
#. type: Plain text
-#: build/C/man2/ioprio_set.2:317
+#: build/C/man2/ioprio_set.2:346
msgid ""
"Glibc does not yet provide a suitable header file defining the function "
"prototypes and macros described on this page. Suitable definitions can be "
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:321
-msgid "B<getpriority>(2), B<open>(2), B<capabilities>(7)"
+#: build/C/man2/ioprio_set.2:351
+msgid "B<ionice>(1), B<getpriority>(2), B<open>(2), B<capabilities>(7)"
msgstr ""
#. type: Plain text
-#: build/C/man2/ioprio_set.2:323
-msgid "Documentation/block/ioprio.txt in the kernel source tree."
+#: build/C/man2/ioprio_set.2:354
+msgid "I<Documentation/block/ioprio.txt> in the Linux kernel source tree"
msgstr ""
#. type: TH
-#: build/C/man2/ipc.2:26
+#: build/C/man2/ipc.2:25
#, no-wrap
msgid "IPC"
msgstr ""
#. type: TH
-#: build/C/man2/ipc.2:26
+#: build/C/man2/ipc.2:25
#, no-wrap
-msgid "2007-06-28"
+msgid "2012-10-16"
msgstr ""
#. type: Plain text
-#: build/C/man2/ipc.2:29
+#: build/C/man2/ipc.2:28
msgid "ipc - System V IPC system calls"
msgstr ""
#. type: Plain text
-#: build/C/man2/ipc.2:34
+#: build/C/man2/ipc.2:33
#, no-wrap
msgid ""
"B<int ipc(unsigned int >I<call>B<, int >I<first>B<, int >I<second>B<, int "
msgstr ""
#. type: Plain text
-#: build/C/man2/ipc.2:42
+#: build/C/man2/ipc.2:41
msgid ""
"B<ipc>() is a common kernel entry point for the System V IPC calls for "
"messages, semaphores, and shared memory. I<call> determines which IPC "
msgstr ""
#. type: Plain text
-#: build/C/man2/ipc.2:46
+#: build/C/man2/ipc.2:45
msgid ""
"User programs should call the appropriate functions by their usual names. "
"Only standard library implementors and kernel hackers need to know about "
msgstr ""
#. type: Plain text
-#: build/C/man2/ipc.2:50
+#: build/C/man2/ipc.2:49
msgid ""
"B<ipc>() is Linux-specific, and should not be used in programs intended to "
"be portable."
msgstr ""
#. type: Plain text
-#: build/C/man2/ipc.2:58
+#: build/C/man2/ipc.2:57
msgid ""
-"On a few architectures, for example ia64, there is no B<ipc>() system call; "
-"instead B<msgctl>(2), B<semctl>(2), B<shmctl>(2), and so on really are "
-"implemented as separate system calls."
+"On some architectures\\(emfor example x86-64 and ARM\\(emthere is no "
+"B<ipc>() system call; instead B<msgctl>(2), B<semctl>(2), B<shmctl>(2), and "
+"so on really are implemented as separate system calls."
msgstr ""
#. type: Plain text
-#: build/C/man2/ipc.2:71
+#: build/C/man2/ipc.2:70
msgid ""
"B<msgctl>(2), B<msgget>(2), B<msgrcv>(2), B<msgsnd>(2), B<semctl>(2), "
"B<semget>(2), B<semop>(2), B<semtimedop>(2), B<shmat>(2), B<shmctl>(2), "
msgstr ""
#. type: TH
-#: build/C/man2/seteuid.2:27
+#: build/C/man2/seteuid.2:29
#, no-wrap
msgid "SETEUID"
msgstr ""
#. type: TH
-#: build/C/man2/seteuid.2:27
+#: build/C/man2/seteuid.2:29
#, no-wrap
-msgid "2009-10-17"
+msgid "2012-07-02"
msgstr ""
#. type: Plain text
-#: build/C/man2/seteuid.2:30
+#: build/C/man2/seteuid.2:32
msgid "seteuid, setegid - set effective user or group ID"
msgstr ""
#. type: Plain text
-#: build/C/man2/seteuid.2:36
+#: build/C/man2/seteuid.2:38
msgid "B<int seteuid(uid_t >I<euid>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/seteuid.2:38
+#: build/C/man2/seteuid.2:40
msgid "B<int setegid(gid_t >I<egid>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/seteuid.2:47
+#: build/C/man2/seteuid.2:49
msgid "B<seteuid>(), B<setegid>():"
msgstr ""
#. type: Plain text
-#: build/C/man2/seteuid.2:49
+#: build/C/man2/seteuid.2:51
msgid ""
"_BSD_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 200112L || _XOPEN_SOURCE\\ "
"E<gt>=\\ 600"
msgstr ""
#. type: Plain text
-#: build/C/man2/seteuid.2:56
+#: build/C/man2/seteuid.2:58
msgid ""
"B<seteuid>() sets the effective user ID of the calling process. "
"Unprivileged user processes may only set the effective user ID to the real "
#. (This is an artifact of the implementation in glibc of seteuid()
#. using setresuid(2).)
#. type: Plain text
-#: build/C/man2/seteuid.2:65
+#: build/C/man2/seteuid.2:67
msgid ""
"Precisely the same holds for B<setegid>() with \"group\" instead of "
"\"user\"."
msgstr ""
#. type: Plain text
-#: build/C/man2/seteuid.2:89
+#: build/C/man2/seteuid.2:91
msgid ""
"The calling process is not privileged (Linux: does not have the "
"B<CAP_SETUID> capability in the case of B<seteuid>(), or the B<CAP_SETGID> "
msgstr ""
#. type: Plain text
-#: build/C/man2/seteuid.2:91
+#: build/C/man2/seteuid.2:93
msgid "4.3BSD, POSIX.1-2001."
msgstr ""
#. type: Plain text
-#: build/C/man2/seteuid.2:97
+#: build/C/man2/seteuid.2:99
msgid ""
"Setting the effective user (group) ID to the saved set-user-ID (saved "
"set-group-ID) is possible since Linux 1.1.37 (1.1.38). On an arbitrary "
msgstr ""
#. type: Plain text
-#: build/C/man2/seteuid.2:108
+#: build/C/man2/seteuid.2:115
msgid ""
"Under libc4, libc5 and glibc 2.0 B<seteuid(>I<euid>B<)> is equivalent to "
"B<setreuid(-1,>I< euid>B<)> and hence may change the saved set-user-ID. "
"Under glibc 2.1 and later it is equivalent to B<setresuid(-1,>I< euid>B<, "
-"-1)> and hence does not change the saved set-user-ID. Similar remarks hold "
-"for B<setegid>()."
+"-1)> and hence does not change the saved set-user-ID. Analogous remarks "
+"hold for B<setegid>(), with the difference that the change in implementation "
+"from B<setregid(-1,>I< egid>B<)> to B<setresgid(-1,>I< egid>B<, -1)> "
+"occurred in glibc 2.2 or 2.3 (dependeing on the hardware architecture)."
msgstr ""
#. type: Plain text
-#: build/C/man2/seteuid.2:117
+#: build/C/man2/seteuid.2:124
msgid ""
"According to POSIX.1, B<seteuid>() (B<setegid>()) need not permit I<euid> "
"(I<egid>) to be the same value as the current effective user (group) ID, "
msgstr ""
#. type: Plain text
-#: build/C/man2/seteuid.2:124
+#: build/C/man2/seteuid.2:131
msgid ""
"B<geteuid>(2), B<setresuid>(2), B<setreuid>(2), B<setuid>(2), "
"B<capabilities>(7), B<credentials>(7)"
msgstr ""
#. type: TH
-#: build/C/man2/setfsgid.2:29
+#: build/C/man2/setfsgid.2:31
#, no-wrap
msgid "SETFSGID"
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsgid.2:32
+#: build/C/man2/setfsgid.2:34
msgid "setfsgid - set group identity used for file system checks"
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsgid.2:35 build/C/man2/setfsuid.2:35
+#: build/C/man2/setfsgid.2:37 build/C/man2/setfsuid.2:37
msgid "B<#include E<lt>unistd.hE<gt>> /* glibc uses E<lt>sys/fsuid.hE<gt> */"
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsgid.2:37
+#: build/C/man2/setfsgid.2:39
msgid "B<int setfsgid(uid_t >I<fsgid>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsgid.2:49
+#: build/C/man2/setfsgid.2:51
msgid ""
"The system call B<setfsgid>() sets the group ID that the Linux kernel uses "
"to check for all accesses to the file system. Normally, the value of "
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsgid.2:60
+#: build/C/man2/setfsgid.2:62
msgid ""
"Explicit calls to B<setfsuid>(2) and B<setfsgid>() are usually only used "
"by programs such as the Linux NFS server that need to change what user and "
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsgid.2:67
+#: build/C/man2/setfsgid.2:69
msgid ""
"B<setfsgid>() will only succeed if the caller is the superuser or if "
"I<fsgid> matches either the real group ID, effective group ID, saved "
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsgid.2:74
+#: build/C/man2/setfsgid.2:76
msgid ""
"On success, the previous value of I<fsgid> is returned. On error, the "
"current value of I<fsgid> is returned."
#. This system call is present since Linux 1.1.44
#. and in libc since libc 4.7.6.
#. type: Plain text
-#: build/C/man2/setfsgid.2:78 build/C/man2/setfsuid.2:78
+#: build/C/man2/setfsgid.2:80 build/C/man2/setfsuid.2:80
msgid "This system call is present in Linux since version 1.2."
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsgid.2:82
+#: build/C/man2/setfsgid.2:84
msgid ""
"B<setfsgid>() is Linux-specific and should not be used in programs intended "
"to be portable."
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsgid.2:88
+#: build/C/man2/setfsgid.2:90
msgid ""
"When glibc determines that the argument is not a valid group ID, it will "
"return -1 and set I<errno> to B<EINVAL> without attempting the system call."
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsgid.2:92 build/C/man2/setfsuid.2:92
+#: build/C/man2/setfsgid.2:94 build/C/man2/setfsuid.2:94
msgid ""
"Note that at the time this system call was introduced, a process could send "
"a signal to a process with the same effective user ID. Today signal "
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsgid.2:102
+#: build/C/man2/setfsgid.2:104
msgid ""
"The original Linux B<setfsgid>() system call supported only 16-bit group "
"IDs. Subsequently, Linux 2.4 added B<setfsgid32>() supporting 32-bit IDs. "
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsgid.2:110
+#: build/C/man2/setfsgid.2:112
msgid ""
"No error messages of any kind are returned to the caller. At the very "
"least, B<EPERM> should be returned when the call fails (because the caller "
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsgid.2:115
+#: build/C/man2/setfsgid.2:117
msgid "B<kill>(2), B<setfsuid>(2), B<capabilities>(7), B<credentials>(7)"
msgstr ""
#. type: TH
-#: build/C/man2/setfsuid.2:29
+#: build/C/man2/setfsuid.2:31
#, no-wrap
msgid "SETFSUID"
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsuid.2:32
+#: build/C/man2/setfsuid.2:34
msgid "setfsuid - set user identity used for file system checks"
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsuid.2:37
+#: build/C/man2/setfsuid.2:39
msgid "B<int setfsuid(uid_t >I<fsuid>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsuid.2:49
+#: build/C/man2/setfsuid.2:51
msgid ""
"The system call B<setfsuid>() sets the user ID that the Linux kernel uses "
"to check for all accesses to the file system. Normally, the value of "
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsuid.2:60
+#: build/C/man2/setfsuid.2:62
msgid ""
"Explicit calls to B<setfsuid>() and B<setfsgid>(2) are usually only used "
"by programs such as the Linux NFS server that need to change what user and "
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsuid.2:67
+#: build/C/man2/setfsuid.2:69
msgid ""
"B<setfsuid>() will only succeed if the caller is the superuser or if "
"I<fsuid> matches either the real user ID, effective user ID, saved "
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsuid.2:74
+#: build/C/man2/setfsuid.2:76
msgid ""
"On success, the previous value of I<fsuid> is returned. On error, the "
"current value of I<fsuid> is returned."
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsuid.2:82
+#: build/C/man2/setfsuid.2:84
msgid ""
"B<setfsuid>() is Linux-specific and should not be used in programs intended "
"to be portable."
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsuid.2:88
+#: build/C/man2/setfsuid.2:90
msgid ""
"When glibc determines that the argument is not a valid user ID, it will "
"return -1 and set I<errno> to B<EINVAL> without attempting the system call."
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsuid.2:102
+#: build/C/man2/setfsuid.2:104
msgid ""
"The original Linux B<setfsuid>() system call supported only 16-bit user "
"IDs. Subsequently, Linux 2.4 added B<setfsuid32>() supporting 32-bit IDs. "
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsuid.2:110
+#: build/C/man2/setfsuid.2:112
msgid ""
"No error messages of any kind are returned to the caller. At the very "
"least, B<EPERM> should be returned when the call fails (because the caller "
msgstr ""
#. type: Plain text
-#: build/C/man2/setfsuid.2:115
+#: build/C/man2/setfsuid.2:117
msgid "B<kill>(2), B<setfsgid>(2), B<capabilities>(7), B<credentials>(7)"
msgstr ""
#. type: TH
-#: build/C/man2/setgid.2:27
+#: build/C/man2/setgid.2:29
#, no-wrap
msgid "SETGID"
msgstr ""
#. type: Plain text
-#: build/C/man2/setgid.2:30
+#: build/C/man2/setgid.2:32
msgid "setgid - set group identity"
msgstr ""
#. type: Plain text
-#: build/C/man2/setgid.2:36
+#: build/C/man2/setgid.2:38
msgid "B<int setgid(gid_t >I<gid>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/setgid.2:41
+#: build/C/man2/setgid.2:43
msgid ""
"B<setgid>() sets the effective group ID of the calling process. If the "
"caller is the superuser, the real GID and saved set-group-ID are also set."
msgstr ""
#. type: Plain text
-#: build/C/man2/setgid.2:51
+#: build/C/man2/setgid.2:53
msgid ""
"Under Linux, B<setgid>() is implemented like the POSIX version with the "
"B<_POSIX_SAVED_IDS> feature. This allows a set-group-ID program that is not "
msgstr ""
#. type: Plain text
-#: build/C/man2/setgid.2:64
+#: build/C/man2/setgid.2:66
msgid ""
"The calling process is not privileged (does not have the B<CAP_SETGID> "
"capability), and I<gid> does not match the real group ID or saved "
msgstr ""
#. type: Plain text
-#: build/C/man2/setgid.2:74
+#: build/C/man2/setgid.2:78
msgid ""
"The original Linux B<setgid>() system call supported only 16-bit group "
"IDs. Subsequently, Linux 2.4 added B<setgid32>() supporting 32-bit IDs. "
msgstr ""
#. type: Plain text
-#: build/C/man2/setgid.2:82
+#: build/C/man2/setgid.2:84
msgid ""
"B<getgid>(2), B<setegid>(2), B<setregid>(2), B<capabilities>(7), "
"B<credentials>(7)"
msgstr ""
#. type: TH
-#: build/C/man2/setpgid.2:46
+#: build/C/man2/setpgid.2:48
#, no-wrap
msgid "SETPGID"
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:49
+#: build/C/man2/setpgid.2:51
msgid "setpgid, getpgid, setpgrp, getpgrp - set/get process group"
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:53
+#: build/C/man2/setpgid.2:55
msgid "B<int setpgid(pid_t >I<pid>B<, pid_t >I<pgid>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:55
+#: build/C/man2/setpgid.2:57
msgid "B<pid_t getpgid(pid_t >I<pid>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:57
+#: build/C/man2/setpgid.2:59
msgid "B<pid_t getpgrp(void);> /* POSIX.1 version */"
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:60
+#: build/C/man2/setpgid.2:62
msgid ""
"B<pid_t getpgrp(pid_t >I<pid>B<);\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ > /* BSD "
"version */"
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:62
+#: build/C/man2/setpgid.2:64
msgid "B<int setpgrp(void);> /* System V version */"
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:65
+#: build/C/man2/setpgid.2:67
msgid "B<int setpgrp(pid_t >I<pid>B<, pid_t >I<pgid>B<);\\ > /* BSD version */"
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:74
+#: build/C/man2/setpgid.2:76
msgid "B<getpgid>():"
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:82
+#: build/C/man2/setpgid.2:84
msgid "B<setpgrp>() (POSIX.1):"
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:85
+#: build/C/man2/setpgid.2:87
#, no-wrap
msgid ""
" _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 ||\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:89
+#: build/C/man2/setpgid.2:91
msgid "B<setpgrp>()\\ (BSD), B<getpgrp>()\\ (BSD):"
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:93
+#: build/C/man2/setpgid.2:95
#, no-wrap
msgid ""
" _BSD_SOURCE &&\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:105
+#: build/C/man2/setpgid.2:107
msgid ""
"All of these interfaces are available on Linux, and are used for getting and "
"setting the process group ID (PGID) of a process. The preferred, "
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:130
+#: build/C/man2/setpgid.2:132
msgid ""
"B<setpgid>() sets the PGID of the process specified by I<pid> to I<pgid>. "
"If I<pid> is zero, then the process ID of the calling process is used. If "
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:135
+#: build/C/man2/setpgid.2:137
msgid ""
"The POSIX.1 version of B<getpgrp>(), which takes no arguments, returns the "
"PGID of the calling process."
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:146
+#: build/C/man2/setpgid.2:148
msgid ""
"B<getpgid>() returns the PGID of the process specified by I<pid>. If "
"I<pid> is zero, the process ID of the calling process is used. (Retrieving "
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:151
+#: build/C/man2/setpgid.2:153
msgid ""
"The System V-style B<setpgrp>(), which takes no arguments, is equivalent to "
"I<setpgid(0,\\ 0)>."
#. to be set to arbitrary values, rather than being restricted to
#. PGIDs in the same session.
#. type: Plain text
-#: build/C/man2/setpgid.2:163
+#: build/C/man2/setpgid.2:165
msgid ""
"The BSD-specific B<setpgrp>() call, which takes arguments I<pid> and "
"I<pgid>, is equivalent to I<setpgid(pid, pgid)>."
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:170
+#: build/C/man2/setpgid.2:172
msgid ""
"The BSD-specific B<getpgrp>() call, which takes a single I<pid> argument, "
"is equivalent to I<getpgid(pid)>."
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:179
+#: build/C/man2/setpgid.2:181
msgid ""
"On success, B<setpgid>() and B<setpgrp>() return zero. On error, -1 is "
"returned, and I<errno> is set appropriately."
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:183
+#: build/C/man2/setpgid.2:185
msgid "The POSIX.1 B<getpgrp>() always returns the PGID of the caller."
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:191
+#: build/C/man2/setpgid.2:193
msgid ""
"B<getpgid>(), and the BSD-specific B<getpgrp>() return a process group on "
"success. On error, -1 is returned, and I<errno> is set appropriately."
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:200
+#: build/C/man2/setpgid.2:202
msgid ""
"An attempt was made to change the process group ID of one of the children of "
"the calling process and the child had already performed an B<execve>(2) "
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:206
+#: build/C/man2/setpgid.2:208
msgid "I<pgid> is less than 0 (B<setpgid>(), B<setpgrp>())."
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:215
+#: build/C/man2/setpgid.2:217
msgid ""
"An attempt was made to move a process into a process group in a different "
"session, or to change the process group ID of one of the children of the "
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:225
+#: build/C/man2/setpgid.2:227
msgid ""
"For B<getpgid>(): I<pid> does not match any process. For B<setpgid>(): "
"I<pid> is not the calling process and not a child of the calling process."
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:231
+#: build/C/man2/setpgid.2:233
msgid ""
"B<setpgid>() and the version of B<getpgrp>() with no arguments conform to "
"POSIX.1-2001."
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:240
+#: build/C/man2/setpgid.2:242
msgid ""
"POSIX.1-2001 also specifies B<getpgid>() and the version of B<setpgrp>() "
"that takes no arguments. (POSIX.1-2008 marks this B<setpgrp>() "
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:247
+#: build/C/man2/setpgid.2:249
msgid ""
"The version of B<getpgrp>() with one argument and the version of "
"B<setpgrp>() that takes two arguments derive from 4.2BSD, and are not "
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:253
+#: build/C/man2/setpgid.2:255
msgid ""
"A child created via B<fork>(2) inherits its parent's process group ID. The "
"PGID is preserved across an B<execve>(2)."
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:256
+#: build/C/man2/setpgid.2:258
msgid ""
"Each process group is a member of a session and each process is a member of "
"the session of which its process group is a member."
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:283
+#: build/C/man2/setpgid.2:285
msgid ""
"A session can have a controlling terminal. At any time, one (and only one) "
"of the process groups in the session can be the foreground process group for "
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:291
+#: build/C/man2/setpgid.2:293
msgid ""
"The B<setpgid>() and B<getpgrp>() calls are used by programs such as "
"B<bash>(1) to create process groups in order to implement shell job "
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:301
+#: build/C/man2/setpgid.2:303
msgid ""
"If a session has a controlling terminal, and the B<CLOCAL> flag for that "
"terminal is not set, and a terminal hangup occurs, then the session leader "
#. exit.3 refers to the following text:
#. type: Plain text
-#: build/C/man2/setpgid.2:315
+#: build/C/man2/setpgid.2:317
msgid ""
"If the exit of the process causes a process group to become orphaned, and if "
"any member of the newly orphaned process group is stopped, then a B<SIGHUP> "
msgstr ""
#. type: Plain text
-#: build/C/man2/setpgid.2:322
+#: build/C/man2/setpgid.2:324
msgid ""
"B<getuid>(2), B<setsid>(2), B<tcgetpgrp>(3), B<tcsetpgrp>(3), B<termios>(3), "
"B<credentials>(7)"
msgstr ""
#. type: TP
-#: build/C/man2/setresuid.2:70 build/C/man2/setuid.2:74
+#: build/C/man2/setresuid.2:70 build/C/man2/setuid.2:76
#, no-wrap
msgid "B<EAGAIN>"
msgstr ""
msgstr ""
#. type: TH
-#: build/C/man2/setreuid.2:43
+#: build/C/man2/setreuid.2:45
#, no-wrap
msgid "SETREUID"
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:46
+#: build/C/man2/setreuid.2:48
msgid "setreuid, setregid - set real and/or effective user or group ID"
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:52
+#: build/C/man2/setreuid.2:54
msgid "B<int setreuid(uid_t >I<ruid>B<, uid_t >I<euid>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:54
+#: build/C/man2/setreuid.2:56
msgid "B<int setregid(gid_t >I<rgid>B<, gid_t >I<egid>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:62
+#: build/C/man2/setreuid.2:64
msgid "B<setreuid>(), B<setregid>():"
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:66
+#: build/C/man2/setreuid.2:68
msgid ""
"_BSD_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || _XOPEN_SOURCE\\ &&\\ "
"_XOPEN_SOURCE_EXTENDED"
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:71
+#: build/C/man2/setreuid.2:73
msgid "B<setreuid>() sets real and effective user IDs of the calling process."
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:74
+#: build/C/man2/setreuid.2:76
msgid ""
"Supplying a value of -1 for either the real or effective user ID forces the "
"system to leave that ID unchanged."
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:77
+#: build/C/man2/setreuid.2:79
msgid ""
"Unprivileged processes may only set the effective user ID to the real user "
"ID, the effective user ID, or the saved set-user-ID."
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:80
+#: build/C/man2/setreuid.2:82
msgid ""
"Unprivileged users may only set the real user ID to the real user ID or the "
"effective user ID."
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:84
+#: build/C/man2/setreuid.2:86
msgid ""
"If the real user ID is set or the effective user ID is set to a value not "
"equal to the previous real user ID, the saved set-user-ID will be set to the "
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:89
+#: build/C/man2/setreuid.2:91
msgid ""
"Completely analogously, B<setregid>() sets real and effective group ID's of "
"the calling process, and all of the above holds with \"group\" instead of "
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:111
+#: build/C/man2/setreuid.2:113
msgid ""
"The calling process is not privileged (Linux: does not have the "
"B<CAP_SETUID> capability in the case of B<setreuid>(), or the B<CAP_SETGID> "
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:117
+#: build/C/man2/setreuid.2:119
msgid ""
"POSIX.1-2001, 4.3BSD (the B<setreuid>() and B<setregid>() function calls "
"first appeared in 4.2BSD)."
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:121
+#: build/C/man2/setreuid.2:123
msgid ""
"Setting the effective user (group) ID to the saved set-user-ID (saved "
"set-group-ID) is possible since Linux 1.1.37 (1.1.38)."
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:138
+#: build/C/man2/setreuid.2:140
msgid ""
"POSIX.1 does not specify all of possible ID changes that are permitted on "
"Linux for an unprivileged process. For B<setreuid>(), the effective user ID "
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:141
+#: build/C/man2/setreuid.2:143
msgid ""
"POSIX.1 makes no specification about the effect of these calls on the saved "
"set-user-ID and saved set-group-ID."
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:157
+#: build/C/man2/setreuid.2:159
msgid ""
"The original Linux B<setreuid>() and B<setregid>() system calls supported "
"only 16-bit user and group IDs. Subsequently, Linux 2.4 added "
msgstr ""
#. type: Plain text
-#: build/C/man2/setreuid.2:165
+#: build/C/man2/setreuid.2:167
msgid ""
"B<getgid>(2), B<getuid>(2), B<seteuid>(2), B<setgid>(2), B<setresuid>(2), "
"B<setuid>(2), B<capabilities>(7)"
msgstr ""
#. type: TH
-#: build/C/man2/setsid.2:29
+#: build/C/man2/setsid.2:30
#, no-wrap
msgid "SETSID"
msgstr ""
-#. type: TH
-#: build/C/man2/setsid.2:29
-#, no-wrap
-msgid "2008-12-03"
-msgstr ""
-
#. type: Plain text
-#: build/C/man2/setsid.2:32
+#: build/C/man2/setsid.2:33
msgid "setsid - creates a session and sets the process group ID"
msgstr ""
#. type: Plain text
-#: build/C/man2/setsid.2:37
+#: build/C/man2/setsid.2:38
msgid "B<pid_t setsid(void);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/setsid.2:50
+#: build/C/man2/setsid.2:51
msgid ""
"B<setsid>() creates a new session if the calling process is not a process "
"group leader. The calling process is the leader of the new session, the "
-"process group leader of the new process group, and has no controlling tty. "
-"The process group ID and session ID of the calling process are set to the "
-"PID of the calling process. The calling process will be the only process in "
-"this new process group and in this new session."
+"process group leader of the new process group, and has no controlling "
+"terminal. The process group ID and session ID of the calling process are "
+"set to the PID of the calling process. The calling process will be the only "
+"process in this new process group and in this new session."
msgstr ""
#. type: Plain text
-#: build/C/man2/setsid.2:57
+#: build/C/man2/setsid.2:58
msgid ""
"On success, the (new) session ID of the calling process is returned. On "
"error, I<(pid_t)\\ -1> is returned, and I<errno> is set to indicate the "
msgstr ""
#. type: Plain text
-#: build/C/man2/setsid.2:64
+#: build/C/man2/setsid.2:65
msgid ""
"The process group ID of any process equals the PID of the calling process. "
"Thus, in particular, B<setsid>() fails if the calling process is already a "
msgstr ""
#. type: Plain text
-#: build/C/man2/setsid.2:72
+#: build/C/man2/setsid.2:73
msgid ""
"A child created via B<fork>(2) inherits its parent's session ID. The "
"session ID is preserved across an B<execve>(2)."
msgstr ""
#. type: Plain text
-#: build/C/man2/setsid.2:83
+#: build/C/man2/setsid.2:84
msgid ""
"A process group leader is a process with process group ID equal to its PID. "
"In order to be sure that B<setsid>() will succeed, B<fork>(2) and "
msgstr ""
#. type: Plain text
-#: build/C/man2/setsid.2:89
+#: build/C/man2/setsid.2:91
msgid ""
-"B<getsid>(2), B<setpgid>(2), B<setpgrp>(2), B<tcgetsid>(3), "
+"B<setsid>(1), B<getsid>(2), B<setpgid>(2), B<setpgrp>(2), B<tcgetsid>(3), "
"B<credentials>(7)"
msgstr ""
#. type: TH
-#: build/C/man2/setuid.2:28
+#: build/C/man2/setuid.2:30
#, no-wrap
msgid "SETUID"
msgstr ""
#. type: Plain text
-#: build/C/man2/setuid.2:31
+#: build/C/man2/setuid.2:33
msgid "setuid - set user identity"
msgstr ""
#. type: Plain text
-#: build/C/man2/setuid.2:37
+#: build/C/man2/setuid.2:39
msgid "B<int setuid(uid_t >I<uid>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man2/setuid.2:42
+#: build/C/man2/setuid.2:44
msgid ""
"B<setuid>() sets the effective user ID of the calling process. If the "
"effective UID of the caller is root, the real UID and saved set-user-ID are "
msgstr ""
#. type: Plain text
-#: build/C/man2/setuid.2:51
+#: build/C/man2/setuid.2:53
msgid ""
"Under Linux, B<setuid>() is implemented like the POSIX version with the "
"B<_POSIX_SAVED_IDS> feature. This allows a set-user-ID (other than root) "
msgstr ""
#. type: Plain text
-#: build/C/man2/setuid.2:61
+#: build/C/man2/setuid.2:63
msgid ""
"If the user is root or the program is set-user-ID-root, special care must be "
"taken. The B<setuid>() function checks the effective user ID of the caller "
msgstr ""
#. type: Plain text
-#: build/C/man2/setuid.2:68
+#: build/C/man2/setuid.2:70
msgid ""
"Thus, a set-user-ID-root program wishing to temporarily drop root "
"privileges, assume the identity of an unprivileged user, and then regain "
msgstr ""
#. type: Plain text
-#: build/C/man2/setuid.2:83
+#: build/C/man2/setuid.2:85
msgid ""
"The I<uid> does not match the current uid and I<uid> brings process over its "
"B<RLIMIT_NPROC> resource limit."
msgstr ""
#. type: Plain text
-#: build/C/man2/setuid.2:90
+#: build/C/man2/setuid.2:92
msgid ""
"The user is not privileged (Linux: does not have the B<CAP_SETUID> "
"capability) and I<uid> does not match the real UID or saved set-user-ID of "
#. SVr4 documents an additional EINVAL error condition.
#. type: Plain text
-#: build/C/man2/setuid.2:95
+#: build/C/man2/setuid.2:97
msgid ""
"SVr4, POSIX.1-2001. Not quite compatible with the 4.4BSD call, which sets "
"all of the real, saved, and effective user IDs."
msgstr ""
#. type: Plain text
-#: build/C/man2/setuid.2:103
+#: build/C/man2/setuid.2:105
msgid ""
"Linux has the concept of the file system user ID, normally equal to the "
"effective user ID. The B<setuid>() call also sets the file system user ID "
msgstr ""
#. type: Plain text
-#: build/C/man2/setuid.2:108
+#: build/C/man2/setuid.2:110
msgid ""
"If I<uid> is different from the old effective UID, the process will be "
"forbidden from leaving core dumps."
msgstr ""
#. type: Plain text
-#: build/C/man2/setuid.2:118
+#: build/C/man2/setuid.2:120
msgid ""
"The original Linux B<setuid>() system call supported only 16-bit user IDs. "
"Subsequently, Linux 2.4 added B<setuid32>() supporting 32-bit IDs. The "
msgstr ""
#. type: Plain text
-#: build/C/man2/setuid.2:125
+#: build/C/man2/setuid.2:127
msgid ""
"B<getuid>(2), B<seteuid>(2), B<setfsuid>(2), B<setreuid>(2), "
"B<capabilities>(7), B<credentials>(7)"
msgstr ""
#. type: TH
-#: build/C/man7/svipc.7:25
+#: build/C/man7/svipc.7:27
#, no-wrap
msgid "SVIPC"
msgstr ""
-#. type: TH
-#: build/C/man7/svipc.7:25
-#, no-wrap
-msgid "2009-01-26"
-msgstr ""
-
#. type: Plain text
-#: build/C/man7/svipc.7:28
+#: build/C/man7/svipc.7:30
msgid "svipc - System V interprocess communication mechanisms"
msgstr ""
#: build/C/man7/svipc.7:35
#, no-wrap
msgid ""
-"B<#include E<lt>sys/types.hE<gt>>\n"
-"B<#include E<lt>sys/ipc.hE<gt>>\n"
"B<#include E<lt>sys/msg.hE<gt>>\n"
"B<#include E<lt>sys/sem.hE<gt>>\n"
"B<#include E<lt>sys/shm.hE<gt>>\n"
#. type: SS
#: build/C/man7/svipc.7:43
#, no-wrap
-msgid "Resource Access Permissions"
+msgid "Resource access permissions"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:53
+#: build/C/man7/svipc.7:51
msgid ""
"For each resource, the system uses a common structure of type I<struct "
"ipc_perm> to store information needed in determining permissions to perform "
-"an IPC operation. The I<ipc_perm> structure, defined by the "
-"I<E<lt>sys/ipc.hE<gt>> system header file, includes the following members:"
+"an IPC operation. The I<ipc_perm> structure includes the following members:"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:63
+#: build/C/man7/svipc.7:61
#, no-wrap
msgid ""
"struct ipc_perm {\n"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:73
+#: build/C/man7/svipc.7:71
msgid ""
"The I<mode> member of the I<ipc_perm> structure defines, with its lower 9 "
"bits, the access permissions to the resource for a process executing an IPC "
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:77
+#: build/C/man7/svipc.7:75
#, no-wrap
msgid ""
" 0400 Read by user.\n"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:80
+#: build/C/man7/svipc.7:78
#, no-wrap
msgid ""
" 0040 Read by group.\n"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:83
+#: build/C/man7/svipc.7:81
#, no-wrap
msgid ""
" 0004 Read by others.\n"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:91
+#: build/C/man7/svipc.7:89
msgid ""
"Bits 0100, 0010, and 0001 (the execute bits) are unused by the system. "
"Furthermore, \"write\" effectively means \"alter\" for a semaphore set."
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:94
+#: build/C/man7/svipc.7:92
msgid "The same system header file also defines the following symbolic constants:"
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:94
+#: build/C/man7/svipc.7:92
#, no-wrap
msgid "B<IPC_CREAT>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:97
+#: build/C/man7/svipc.7:95
msgid "Create entry if key doesn't exist."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:97
+#: build/C/man7/svipc.7:95
#, no-wrap
msgid "B<IPC_EXCL>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:100
+#: build/C/man7/svipc.7:98
msgid "Fail if key exists."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:100
+#: build/C/man7/svipc.7:98
#, no-wrap
msgid "B<IPC_NOWAIT>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:103
+#: build/C/man7/svipc.7:101
msgid "Error if request must wait."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:103
+#: build/C/man7/svipc.7:101
#, no-wrap
msgid "B<IPC_PRIVATE>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:106
+#: build/C/man7/svipc.7:104
msgid "Private key."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:106
+#: build/C/man7/svipc.7:104
#, no-wrap
msgid "B<IPC_RMID>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:109
+#: build/C/man7/svipc.7:107
msgid "Remove resource."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:109
+#: build/C/man7/svipc.7:107
#, no-wrap
msgid "B<IPC_SET>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:112
+#: build/C/man7/svipc.7:110
msgid "Set resource options."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:112
+#: build/C/man7/svipc.7:110
#, no-wrap
msgid "B<IPC_STAT>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:115
+#: build/C/man7/svipc.7:113
msgid "Get resource options."
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:124
+#: build/C/man7/svipc.7:122
msgid ""
"Note that B<IPC_PRIVATE> is a I<key_t> type, while all the other symbolic "
"constants are flag fields and can be OR'ed into an I<int> type variable."
msgstr ""
#. type: SS
-#: build/C/man7/svipc.7:124
+#: build/C/man7/svipc.7:122
#, no-wrap
-msgid "Message Queues"
+msgid "Message queues"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:132
+#: build/C/man7/svipc.7:130
msgid ""
"A message queue is uniquely identified by a positive integer (its I<msqid>) "
"and has an associated data structure of type I<struct msqid_ds>, defined in "
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:145
+#: build/C/man7/svipc.7:143
#, no-wrap
msgid ""
"struct msqid_ds {\n"
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:147
+#: build/C/man7/svipc.7:145
#, no-wrap
msgid "I<msg_perm>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:152
+#: build/C/man7/svipc.7:150
msgid ""
"I<ipc_perm> structure that specifies the access permissions on the message "
"queue."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:152
+#: build/C/man7/svipc.7:150
#, no-wrap
msgid "I<msg_qnum>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:155
+#: build/C/man7/svipc.7:153
msgid "Number of messages currently on the message queue."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:155
+#: build/C/man7/svipc.7:153
#, no-wrap
msgid "I<msg_qbytes>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:159
+#: build/C/man7/svipc.7:157
msgid "Maximum number of bytes of message text allowed on the message queue."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:159
+#: build/C/man7/svipc.7:157
#, no-wrap
msgid "I<msg_lspid>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:164
+#: build/C/man7/svipc.7:162
msgid "ID of the process that performed the last B<msgsnd>(2) system call."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:164
+#: build/C/man7/svipc.7:162
#, no-wrap
msgid "I<msg_lrpid>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:169
+#: build/C/man7/svipc.7:167
msgid "ID of the process that performed the last B<msgrcv>(2) system call."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:169
+#: build/C/man7/svipc.7:167
#, no-wrap
msgid "I<msg_stime>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:174
+#: build/C/man7/svipc.7:172
msgid "Time of the last B<msgsnd>(2) system call."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:174
+#: build/C/man7/svipc.7:172
#, no-wrap
msgid "I<msg_rtime>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:179
+#: build/C/man7/svipc.7:177
msgid "Time of the last B<msgrcv>(2) system call."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:179
+#: build/C/man7/svipc.7:177
#, no-wrap
msgid "I<msg_ctime>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:185
+#: build/C/man7/svipc.7:183
msgid ""
"Time of the last system call that changed a member of the I<msqid_ds> "
"structure."
msgstr ""
#. type: SS
-#: build/C/man7/svipc.7:185
+#: build/C/man7/svipc.7:183
#, no-wrap
-msgid "Semaphore Sets"
+msgid "Semaphore sets"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:193
+#: build/C/man7/svipc.7:191
msgid ""
"A semaphore set is uniquely identified by a positive integer (its I<semid>) "
"and has an associated data structure of type I<struct semid_ds>, defined in "
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:202
+#: build/C/man7/svipc.7:200
#, no-wrap
msgid ""
"struct semid_ds {\n"
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:204
+#: build/C/man7/svipc.7:202
#, no-wrap
msgid "I<sem_perm>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:209
+#: build/C/man7/svipc.7:207
msgid ""
"I<ipc_perm> structure that specifies the access permissions on the semaphore "
"set."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:209
+#: build/C/man7/svipc.7:207
#, no-wrap
msgid "I<sem_otime>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:214
+#: build/C/man7/svipc.7:212
msgid "Time of last B<semop>(2) system call."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:214
+#: build/C/man7/svipc.7:212
#, no-wrap
msgid "I<sem_ctime>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:220
+#: build/C/man7/svipc.7:218
msgid ""
"Time of last B<semctl>(2) system call that changed a member of the above "
"structure or of one semaphore belonging to the set."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:220
+#: build/C/man7/svipc.7:218
#, no-wrap
msgid "I<sem_nsems>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:228
+#: build/C/man7/svipc.7:226
msgid ""
"Number of semaphores in the set. Each semaphore of the set is referenced by "
"a nonnegative integer ranging from B<0> to I<sem_nsems-1>."
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:232
+#: build/C/man7/svipc.7:230
msgid ""
"A semaphore is a data structure of type I<struct sem> containing the "
"following members:"
#. unsigned short semncnt; /* nr awaiting semval to increase */
#. unsigned short semzcnt; /* nr awaiting semval = 0 */
#. type: Plain text
-#: build/C/man7/svipc.7:241
+#: build/C/man7/svipc.7:239
#, no-wrap
msgid ""
"struct sem {\n"
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:243
+#: build/C/man7/svipc.7:241
#, no-wrap
msgid "I<semval>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:246
+#: build/C/man7/svipc.7:244
msgid "Semaphore value: a nonnegative integer."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:246
+#: build/C/man7/svipc.7:244
#, no-wrap
msgid "I<sempid>"
msgstr ""
#. .I semval
#. to become zero.
#. type: Plain text
-#: build/C/man7/svipc.7:260
+#: build/C/man7/svipc.7:258
msgid ""
"ID of the last process that performed a semaphore operation on this "
"semaphore."
msgstr ""
#. type: SS
-#: build/C/man7/svipc.7:260
+#: build/C/man7/svipc.7:258
#, no-wrap
-msgid "Shared Memory Segments"
+msgid "Shared memory segments"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:268
+#: build/C/man7/svipc.7:266
msgid ""
"A shared memory segment is uniquely identified by a positive integer (its "
"I<shmid>) and has an associated data structure of type I<struct shmid_ds>, "
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:281
+#: build/C/man7/svipc.7:279
#, no-wrap
msgid ""
"struct shmid_ds {\n"
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:283
+#: build/C/man7/svipc.7:281
#, no-wrap
msgid "I<shm_perm>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:288
+#: build/C/man7/svipc.7:286
msgid ""
"I<ipc_perm> structure that specifies the access permissions on the shared "
"memory segment."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:288
+#: build/C/man7/svipc.7:286
#, no-wrap
msgid "I<shm_segsz>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:291
+#: build/C/man7/svipc.7:289
msgid "Size in bytes of the shared memory segment."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:291
+#: build/C/man7/svipc.7:289
#, no-wrap
msgid "I<shm_cpid>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:294
+#: build/C/man7/svipc.7:292
msgid "ID of the process that created the shared memory segment."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:294
+#: build/C/man7/svipc.7:292
#, no-wrap
msgid "I<shm_lpid>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:301
+#: build/C/man7/svipc.7:299
msgid ""
"ID of the last process that executed a B<shmat>(2) or B<shmdt>(2) system "
"call."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:301
+#: build/C/man7/svipc.7:299
#, no-wrap
msgid "I<shm_nattch>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:304
+#: build/C/man7/svipc.7:302
msgid "Number of current alive attaches for this shared memory segment."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:304
+#: build/C/man7/svipc.7:302
#, no-wrap
msgid "I<shm_atime>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:309
+#: build/C/man7/svipc.7:307
msgid "Time of the last B<shmat>(2) system call."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:309
+#: build/C/man7/svipc.7:307
#, no-wrap
msgid "I<shm_dtime>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:314
+#: build/C/man7/svipc.7:312
msgid "Time of the last B<shmdt>(2) system call."
msgstr ""
#. type: TP
-#: build/C/man7/svipc.7:314
+#: build/C/man7/svipc.7:312
#, no-wrap
msgid "I<shm_ctime>"
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:320
+#: build/C/man7/svipc.7:318
msgid "Time of the last B<shmctl>(2) system call that changed I<shmid_ds>."
msgstr ""
#. type: Plain text
-#: build/C/man7/svipc.7:334
+#: build/C/man7/svipc.7:335
msgid ""
-"B<ipc>(2), B<msgctl>(2), B<msgget>(2), B<msgrcv>(2), B<msgsnd>(2), "
-"B<semctl>(2), B<semget>(2), B<semop>(2), B<shmat>(2), B<shmctl>(2), "
-"B<shmdt>(2), B<shmget>(2), B<ftok>(3)"
+"B<ipcmk>(1), B<ipcrm>(1), B<ipcs>(1), B<ipc>(2), B<msgctl>(2), B<msgget>(2), "
+"B<msgrcv>(2), B<msgsnd>(2), B<semctl>(2), B<semget>(2), B<semop>(2), "
+"B<shmat>(2), B<shmctl>(2), B<shmdt>(2), B<shmget>(2), B<ftok>(3)"
msgstr ""
#. type: TH