]> git.proxmox.com Git - mirror_lxcfs.git/commitdiff
pam: non-functional changes
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 15 May 2017 23:06:24 +0000 (01:06 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 15 May 2017 23:06:24 +0000 (01:06 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
pam/pam_cgfs.c

index 4c163db9b7fa26f48b0e6f40c8e2aaf0a3132661..899e9658e61616cfd011dbfc048d8d3769060b98 100644 (file)
@@ -1511,8 +1511,7 @@ static bool cgv2_enter(const char *cgroup)
        if (!v2->create_rw_cgroup || v2->systemd_user_slice)
                return true;
 
-       path = must_make_path(v2->mountpoint, v2->base_cgroup, cgroup,
-                             "/cgroup.procs", NULL);
+       path = must_make_path(v2->mountpoint, v2->base_cgroup, cgroup, "/cgroup.procs", NULL);
        lxcfs_debug("Attempting to enter cgroupfs v2 hierarchy in cgroup \"%s\".\n", path);
        entered = write_int(path, (int)getpid());
        if (!entered) {
@@ -2267,7 +2266,7 @@ static bool cgv2_create(const char *cgroup, uid_t uid, gid_t gid, bool *existed)
                                v2->systemd_user_slice))
                return true;
 
-       /* We need to make sure that we do not create an endless chaing of
+       /* We need to make sure that we do not create an endless chain of
         * sub-cgroups. So we check if we have already logged in somehow (sudo
         * -i, su, etc.) and have created a /user/PAM_user/idx cgroup. If so, we
         * skip that part.