diff --git a/man/newgidmap.1.xml b/man/newgidmap.1.xml index 9d5e3526..864bad14 100644 --- a/man/newgidmap.1.xml +++ b/man/newgidmap.1.xml @@ -80,7 +80,7 @@ DESCRIPTION - The newgidmap sets /proc/[pid]/gid_map based on it's + The newgidmap sets /proc/[pid]/gid_map based on its command line arguments and the gids allowed in /etc/subgid. Note that the root user is not exempted from the requirement for a valid /etc/subgid entry. @@ -101,7 +101,7 @@ lowergid - Begining of the range of GIDs outside the user namespace. + Beginning of the range of GIDs outside the user namespace. @@ -145,7 +145,7 @@ /etc/subgid - List of users subordinate group IDs. + List of user's subordinate group IDs. diff --git a/man/newuidmap.1.xml b/man/newuidmap.1.xml index e07414f1..a97b7f94 100644 --- a/man/newuidmap.1.xml +++ b/man/newuidmap.1.xml @@ -80,7 +80,7 @@ DESCRIPTION - The newuidmap sets /proc/[pid]/uid_map based on it's + The newuidmap sets /proc/[pid]/uid_map based on its command line arguments and the uids allowed in /etc/subuid. Note that the root user is not exempted from the requirement for a valid /etc/subuid entry. @@ -93,7 +93,7 @@ uid - Begining of the range of UIDs inside the user namespace. + Beginning of the range of UIDs inside the user namespace. @@ -101,7 +101,7 @@ loweruid - Begining of the range of UIDs outside the user namespace. + Beginning of the range of UIDs outside the user namespace. @@ -144,7 +144,7 @@ /etc/subuid - List of users subordinate user IDs. + List of user's subordinate user IDs. diff --git a/src/newgidmap.c b/src/newgidmap.c index 451c6a64..b1e33513 100644 --- a/src/newgidmap.c +++ b/src/newgidmap.c @@ -56,7 +56,7 @@ static bool verify_range(struct passwd *pw, struct map_range *range) if (have_sub_gids(pw->pw_name, range->lower, range->count)) return true; - /* Allow a process to map it's own gid */ + /* Allow a process to map its own gid */ if ((range->count == 1) && (pw->pw_gid == range->lower)) return true; @@ -113,7 +113,7 @@ int main(int argc, char **argv) if (argc < 2) usage(); - /* Find the process that needs it's user namespace + /* Find the process that needs its user namespace * gid mapping set. */ target_str = argv[1]; diff --git a/src/newuidmap.c b/src/newuidmap.c index 9c8bc1ba..1ba25e7a 100644 --- a/src/newuidmap.c +++ b/src/newuidmap.c @@ -56,7 +56,7 @@ static bool verify_range(struct passwd *pw, struct map_range *range) if (have_sub_uids(pw->pw_name, range->lower, range->count)) return true; - /* Allow a process to map it's own uid */ + /* Allow a process to map its own uid */ if ((range->count == 1) && (pw->pw_uid == range->lower)) return true; @@ -113,7 +113,7 @@ int main(int argc, char **argv) if (argc < 2) usage(); - /* Find the process that needs it's user namespace + /* Find the process that needs its user namespace * uid mapping set. */ target_str = argv[1];