From 5103283629018e7a9e3ebf56b3114a7ba905f925 Mon Sep 17 00:00:00 2001
From: Yuri Chornoivan <yurchor@ukr.net>
Date: Sat, 30 Jun 2018 13:51:24 +0300
Subject: [PATCH] Fix minor typos
Signed-off-by: Yuri Chornoivan <yurchor@ukr.net>
---
gui/html_util.py | 2 +-
libselinux/include/selinux/restorecon.h | 4 ++--
libselinux/man/man3/selinux_policy_root.3 | 2 +-
libselinux/man/man5/virtual_domain_context.5 | 2 +-
libselinux/man/man5/virtual_image_context.5 | 2 +-
libselinux/src/selinux_restorecon.c | 2 +-
libsemanage/man/man3/semanage_count.3 | 2 +-
libsemanage/man/man3/semanage_list.3 | 2 +-
libsepol/src/node_record.c | 2 +-
mcstrans/man/man8/setrans.conf.8 | 2 +-
python/semanage/seobject.py | 2 +-
python/sepolicy/sepolicy-interface.8 | 2 +-
python/sepolicy/sepolicy/help/system_boot_mode.txt | 2 +-
python/sepolicy/sepolicy/manpage.py | 2 +-
sandbox/seunshare.8 | 2 +-
15 files changed, 16 insertions(+), 16 deletions(-)
@@ -145,7 +145,7 @@ def html_to_text(html, maxcol=80):
def html_document(*body_components):
'''Wrap the body components in a HTML document structure with a valid header.
- Accepts a variable number of arguments of of which canb be:
+ Accepts a variable number of arguments of which can be:
* string
* a sequences of strings (tuple or list).
* a callable object taking no parameters and returning a string or sequence of strings.
@@ -36,8 +36,8 @@ extern int selinux_restorecon(const char *pathname,
*/
#define SELINUX_RESTORECON_NOCHANGE 0x0002
/*
- * If set set change file label to that in spec file.
- * If not only change type component to that in spec file.
+ * If set, change file label to that in spec file.
+ * If not, only change type component to that in spec file.
*/
#define SELINUX_RESTORECON_SET_SPECFILE_CTX 0x0004
/*
@@ -18,7 +18,7 @@ reads the contents of the
file to determine which policy files should be used for this machine.
.
.BR selinux_set_policy_root ()
-sets up all all policy paths based on the alternate root
+sets up all policy paths based on the alternate root
.I /etc/selinux/config
file to determine which policy files should be used for this machine.
@@ -5,7 +5,7 @@ virtual_domain_context \- The SELinux virtual machine domain context configurati
.SH "DESCRIPTION"
The
.I virtual_domain_context
-file contains a list of domain contexts that are available for use by the SELinux-aware virtulization API libvirt (see \fBlibvirtd\fR(8)).
+file contains a list of domain contexts that are available for use by the SELinux-aware virtualization API libvirt (see \fBlibvirtd\fR(8)).
.sp
.BR selinux_virtual_domain_context_path "(3) "
will return the active policy path to this file. The default virtual domain context file is:
@@ -5,7 +5,7 @@ virtual_image_context \- The SELinux virtual machine image context configuration
.SH "DESCRIPTION"
The
.I virtual_image_context
-file contains a list of image contexts for use by the SELinux-aware virtulization API libvirt (see \fBlibvirtd\fR(8)).
+file contains a list of image contexts for use by the SELinux-aware virtualization API libvirt (see \fBlibvirtd\fR(8)).
.sp
.BR selinux_virtual_image_context_path "(3) "
will return the active policy path to this file. The default virtual image context file is:
@@ -116,7 +116,7 @@ static pthread_once_t fc_once = PTHREAD_ONCE_INIT;
*
* check_excluded() - Check if directory/fs is to be excluded when relabeling.
*
- * file_system_count() - Calculates the the number of files to be processed.
+ * file_system_count() - Calculates the number of files to be processed.
* The count is only used if SELINUX_RESTORECON_PROGRESS
* is set and a mass relabel is requested.
*
@@ -23,7 +23,7 @@ The count function will return the number of all objects in the selected locatio
.B Parameters:
The
.I handle
-is used to track persistent state across semanage calls, and for error reporting. The number of objects will be stored at the location poined by
+is used to track persistent state across semanage calls, and for error reporting. The number of objects will be stored at the location pointed by
.I response.
.TP
@@ -25,7 +25,7 @@ The list function will return an array of all the objects in the selected locati
.B Parameters:
The
.I handle
-is used to track persistent state across semanage calls, and for error reporting. The function will allocate and populate the the array of objects, and store it at the location pointed by
+is used to track persistent state across semanage calls, and for error reporting. The function will allocate and populate the array of objects, and store it at the location pointed by
.I objects.
It will write the number of objects at the location pointed by
.I count.
@@ -83,7 +83,7 @@ static int node_parse_addr(sepol_handle_t * handle,
}
/* Allocates a sufficiently large buffer (addr, addr_sz)
- * according the the protocol */
+ * according to the protocol */
static int node_alloc_addr(sepol_handle_t * handle,
int proto, char **addr, size_t * addr_sz)
@@ -59,7 +59,7 @@ defines a translation of s15:c0.c1023 to SystemHigh. c0.c1023 is shorthand for a
.TP
s0\-s15:c0.c1023=SystemLow\-SystemHigh\fR
-defines a range translation of of s0\-s15:c0.c1023 to SystemLow\-SystemHigh. The two range components are separated by a dash.
+defines a range translation of s0\-s15:c0.c1023 to SystemLow\-SystemHigh. The two range components are separated by a dash.
.TP
s0:c0=PatientRecord\fR
@@ -2291,7 +2291,7 @@ class fcontextRecords(semanageRecords):
raise ValueError(_("Target %s is not valid. Target is not allowed to end with '/'") % target)
if substitute != "/" and substitute[-1] == "/":
- raise ValueError(_("Substiture %s is not valid. Substitute is not allowed to end with '/'") % substitute)
+ raise ValueError(_("Substitute %s is not valid. Substitute is not allowed to end with '/'") % substitute)
if target in self.equiv.keys():
raise ValueError(_("Equivalence class for %s already exists") % target)
@@ -31,7 +31,7 @@ List all interfaces
List all domains with SELinux user role interface
.TP
.I \-v, \-\-verbose
-Display extended information about the interface including parameters and desctiprion if available.
+Display extended information about the interface including parameters and description if available.
.SH "AUTHOR"
This man page was written by Daniel Walsh <dwalsh@redhat.com>
@@ -10,4 +10,4 @@ SELinux Systems can boot in three different modes.
You can use this screen to change the enforcing mode.
-Note if you disable SELinux, you will need to to reboot, to turn it off. Also the next time you turn SELinux on, a full system relabel will be performed.
+Note if you disable SELinux, you will need to reboot, to turn it off. Also the next time you turn SELinux on, a full system relabel will be performed.
@@ -1283,7 +1283,7 @@ USERNAME ALL=(ALL) ROLE=%(user)s_r TYPE=%(user)s_t COMMAND
.br
sudo will run COMMAND as staff_u:%(user)s_r:%(user)s_t:LEVEL
-When using a a non login role, you need to setup SELinux so that your SELinux user can reach %(user)s_r role.
+When using a non login role, you need to setup SELinux so that your SELinux user can reach %(user)s_r role.
Execute the following to see all of the assigned SELinux roles:
@@ -16,7 +16,7 @@ within the specified context, using the alternate home directory and /tmp direct
Alternate homedir to be used by the application. Homedir must be owned by the user.
.TP
\fB\-t\ tmpdir
-Use alternate tempory directory to mount on /tmp. tmpdir must be owned by the user.
+Use alternate temporary directory to mount on /tmp. tmpdir must be owned by the user.
.TP
\fB\-C --capabilities\fR
Allow apps executed within the namespace to use capabilities. Default is no capabilities.
--
2.13.7