[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/9] cp: -Z: spelling fixes
From: |
Pádraig Brady |
Subject: |
[PATCH 3/9] cp: -Z: spelling fixes |
Date: |
Wed, 28 Nov 2012 01:43:13 +0000 |
from ispell
---
src/selinux.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/selinux.c b/src/selinux.c
index 4e1e2f5..73fdef2 100644
--- a/src/selinux.c
+++ b/src/selinux.c
@@ -1,4 +1,4 @@
-/* selinux - core functions for maintaining SELinux labelking
+/* selinux - core functions for maintaining SELinux labeling
Copyright (C) 2012 Red Hat, Inc.
This program is free software: you can redistribute it and/or modify
@@ -69,7 +69,7 @@ mode_to_security_class (mode_t m)
of the path object would be if the current process label created it.
it then returns the label.
- Returns -1 on failure. errno will be set approptiately.
+ Returns -1 on failure. errno will be set appropriately.
*/
static int
@@ -100,13 +100,13 @@ quit:
}
/*
- This function takes a path and a mode, it asks calls computecon to get the
+ This function takes a path and a mode, it calls computecon to get the
label of the path object if the current process created it, then it calls
matchpathcon to get the default type for the object. It substitutes the
default type into label. It tells the SELinux Kernel to label all new file
system objects created by the current process with this label.
- Returns -1 on failure. errno will be set approptiately.
+ Returns -1 on failure. errno will be set appropriately.
*/
int
defaultcon (char const *path, mode_t mode)
@@ -153,7 +153,7 @@ quit:
default label should be, extracts the type field and then modifies the file
system object.
- Returns -1 on failure. errno will be set approptiately.
+ Returns -1 on failure. errno will be set appropriately.
*/
static int
restorecon_private (char const *path, bool preserve)
@@ -238,13 +238,13 @@ quit:
Path of an existing file system object.
A boolean indicating whether it should call restorecon_private recursively
or not.
- A boolean that indicates whether the function should preserve the objects
+ A boolean that indicates whether the function should preserve the object's
label or generate a new label using matchpathcon.
If Recurse is selected and the file system object is a directory, restorecon
calls restorecon_private on every file system object in the directory.
- Returns false on failure. errno will be set approptiately.
+ Returns false on failure. errno will be set appropriately.
*/
bool
restorecon (char const *path, bool recurse, bool preserve)
--
1.7.6.4
- Re: Make mv work better with SELinux., Daniel J Walsh, 2012/11/08
- Re: Make mv work better with SELinux., Pádraig Brady, 2012/11/08
- Re: Make mv work better with SELinux., Pádraig Brady, 2012/11/27
- [PATCH 4/9] cp: -Z: s/fprintf/error/, Pádraig Brady, 2012/11/27
- [PATCH 6/9] cp: -Z: add selinux.c to POTFILES.in, Pádraig Brady, 2012/11/27
- [PATCH 3/9] cp: -Z: spelling fixes,
Pádraig Brady <=
- [PATCH 7/9] cp: -Z: remove redundant includes from selinux.[ch], Pádraig Brady, 2012/11/27
- [PATCH 5/9] cp: -Z: wrap/clarify/isolate --help messages, Pádraig Brady, 2012/11/27
- [PATCH 2/9] cp: -Z: formatting cleanups, Pádraig Brady, 2012/11/27
- [PATCH 8/9] cp: -Z: fix a logic error due to incorrect braces in mkfifo, Pádraig Brady, 2012/11/27
- [PATCH 1/9] cp: -Z: adjust utils to run restorecon with -Z, Pádraig Brady, 2012/11/27
- [PATCH 9/9] cp: -Z: adjust an existing selinux test to the new scheme, Pádraig Brady, 2012/11/27
- [PATCH] cp: -Z: fix memory leak edge case, Pádraig Brady, 2012/11/28
- Re: Make mv work better with SELinux., Jim Meyering, 2012/11/29