diff options
Diffstat (limited to 'man7')
| -rw-r--r-- | man7/cgroup_namespaces.7 | 2 | ||||
| -rw-r--r-- | man7/cgroups.7 | 2 | ||||
| -rw-r--r-- | man7/cpuset.7 | 2 | ||||
| -rw-r--r-- | man7/fanotify.7 | 4 | ||||
| -rw-r--r-- | man7/inotify.7 | 6 | ||||
| -rw-r--r-- | man7/mount_namespaces.7 | 2 | ||||
| -rw-r--r-- | man7/sock_diag.7 | 4 | ||||
| -rw-r--r-- | man7/user_namespaces.7 | 6 |
8 files changed, 14 insertions, 14 deletions
diff --git a/man7/cgroup_namespaces.7 b/man7/cgroup_namespaces.7 index 1acb82febf..73dea3167f 100644 --- a/man7/cgroup_namespaces.7 +++ b/man7/cgroup_namespaces.7 @@ -171,7 +171,7 @@ new cgroup namespace), after which we see the expected results: .PP .in +4n .EX -sh2# \fBmount \-\-make\-rslave /\fP # Don't propagate mount events +sh2# \fBmount \-\-make\-rslave /\fP # Don\(aqt propagate mount events # to other namespaces sh2# \fBumount /sys/fs/cgroup/freezer\fP sh2# \fBmount \-t cgroup \-o freezer freezer /sys/fs/cgroup/freezer\fP diff --git a/man7/cgroups.7 b/man7/cgroups.7 index f189c7a874..31be771dce 100644 --- a/man7/cgroups.7 +++ b/man7/cgroups.7 @@ -791,7 +791,7 @@ or '\-' (to disable a controller), as in the following example: .IP .in +4n .EX -echo '+pids \-memory' > x/y/cgroup.subtree_control +echo \(aq+pids \-memory\(aq > x/y/cgroup.subtree_control .EE .in .IP diff --git a/man7/cpuset.7 b/man7/cpuset.7 index 98027e0386..cbc6cf76d1 100644 --- a/man7/cpuset.7 +++ b/man7/cpuset.7 @@ -1398,7 +1398,7 @@ and then attach the current shell to that cpuset. .RB "$" " /bin/echo 1 > cpuset.mems" .RB "$" " /bin/echo $$ > tasks" # The current shell is now running in cpuset Charlie -# The next line should display '/Charlie' +# The next line should display \(aq/Charlie\(aq .RB "$" " cat /proc/self/cpuset" .EE .in diff --git a/man7/fanotify.7 b/man7/fanotify.7 index 0f63d906ae..70477dc410 100644 --- a/man7/fanotify.7 +++ b/man7/fanotify.7 @@ -1017,7 +1017,7 @@ been processed. Listening for events. FAN_CREATE (file created): Directory /home/user has been modified. - Entry 'testfile.txt' is not a subdirectory. + Entry \(aqtestfile.txt\(aq is not a subdirectory. All events processed successfully. Program exiting. $ \fBtouch /home/user/testfile.txt\fP # In another terminal @@ -1040,7 +1040,7 @@ flag set and with the created directory name. Listening for events. FAN_CREATE | FAN_ONDIR (subdirectory created): Directory /home/user has been modified. - Entry 'testdir' is a subdirectory. + Entry \(aqtestdir\(aq is a subdirectory. All events processed successfully. Program exiting. $ \fBmkdir \-p /home/user/testdir\fP # In another terminal diff --git a/man7/inotify.7 b/man7/inotify.7 index 2414409457..f1578ad7f2 100644 --- a/man7/inotify.7 +++ b/man7/inotify.7 @@ -924,7 +924,7 @@ Listening for events stopped. #include <unistd.h> #include <string.h> -/* Read all available inotify events from the file descriptor 'fd'. +/* Read all available inotify events from the file descriptor \(aqfd\(aq. wd is the table of watch descriptors for the directories in argv. argc is the length of wd and argv. argv is the list of watched directories. @@ -1043,7 +1043,7 @@ main(int argc, char* argv[]) wd[i] = inotify_add_watch(fd, argv[i], IN_OPEN | IN_CLOSE); if (wd[i] == \-1) { - fprintf(stderr, "Cannot watch '%s': %s\en", + fprintf(stderr, "Cannot watch \(aq%s\(aq: %s\en", argv[i], strerror(errno)); exit(EXIT_FAILURE); } @@ -1081,7 +1081,7 @@ main(int argc, char* argv[]) /* Console input is available. Empty stdin and quit */ - while (read(STDIN_FILENO, &buf, 1) > 0 && buf != '\en') + while (read(STDIN_FILENO, &buf, 1) > 0 && buf != \(aq\en\(aq) continue; break; } diff --git a/man7/mount_namespaces.7 b/man7/mount_namespaces.7 index 12a3be38ee..bdc4c27c6c 100644 --- a/man7/mount_namespaces.7 +++ b/man7/mount_namespaces.7 @@ -524,7 +524,7 @@ in the first shell: .EX sh1# \fBmkdir /mntY/c\fP sh1# \fBmount /dev/sda1 /mntY/c\fP -sh1# \fBcat /proc/self/mountinfo | grep '/mnt' | sed 's/ \- .*//'\fP +sh1# \fBcat /proc/self/mountinfo | grep \(aq/mnt\(aq | sed \(aqs/ \- .*//\(aq\fP 132 83 8:23 / /mntX rw,relatime shared:1 133 83 8:22 / /mntY rw,relatime shared:2 174 132 8:3 / /mntX/a rw,relatime shared:3 diff --git a/man7/sock_diag.7 b/man7/sock_diag.7 index a1a2fe7b42..b887647c7e 100644 --- a/man7/sock_diag.7 +++ b/man7/sock_diag.7 @@ -725,7 +725,7 @@ print_diag(const struct unix_diag_msg *diag, unsigned int len) if (path_len > sizeof(path) \- 1) path_len = sizeof(path) \- 1; memcpy(path, RTA_DATA(attr), path_len); - path[path_len] = '\e0'; + path[path_len] = \(aq\e0\(aq; } break; @@ -745,7 +745,7 @@ print_diag(const struct unix_diag_msg *diag, unsigned int len) printf(", name=%s%s", *path ? "" : "@", *path ? path : path + 1); - putchar('\en'); + putchar(\(aq\en\(aq); return 0; } diff --git a/man7/user_namespaces.7 b/man7/user_namespaces.7 index 4edfe4602e..dfe53db492 100644 --- a/man7/user_namespaces.7 +++ b/man7/user_namespaces.7 @@ -1018,7 +1018,7 @@ and group ID .PP .in +4n .EX -$ \fB./userns_child_exec \-p \-m \-U \-M '0 1000 1' \-G '0 1000 1' bash\fP +$ \fB./userns_child_exec \-p \-m \-U \-M \(aq0 1000 1\(aq \-G \(aq0 1000 1\(aq bash\fP .EE .in .PP @@ -1053,10 +1053,10 @@ and a full set of permitted and effective capabilities: .PP .in +4n .EX -bash$ \fBcat /proc/$$/status | egrep '\(ha[UG]id'\fP +bash$ \fBcat /proc/$$/status | egrep \(aq\(ha[UG]id\(aq\fP Uid: 0 0 0 0 Gid: 0 0 0 0 -bash$ \fBcat /proc/$$/status | egrep '\(haCap(Prm|Inh|Eff)'\fP +bash$ \fBcat /proc/$$/status | egrep \(aq\(haCap(Prm|Inh|Eff)\(aq\fP CapInh: 0000000000000000 CapPrm: 0000001fffffffff CapEff: 0000001fffffffff |
