From 0021c29f7f25a5020091182c690407a753f933e4 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Mon, 19 Oct 2015 14:46:24 -0400 Subject: fixed join/shutdown problem, moving browsers and mail clients to a --shell=none default in profile files --- src/lib/pid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/pid.c') diff --git a/src/lib/pid.c b/src/lib/pid.c index 1a1797ce2..720d4eeb6 100644 --- a/src/lib/pid.c +++ b/src/lib/pid.c @@ -137,7 +137,7 @@ char *pid_get_user_name(uid_t uid) { uid_t pid_get_uid(pid_t pid) { uid_t rv = 0; - // open stat file + // open statua file char *file; if (asprintf(&file, "/proc/%u/status", pid) == -1) { perror("asprintf"); @@ -149,7 +149,7 @@ uid_t pid_get_uid(pid_t pid) { return 0; } - // look for firejail executable name + // extract uid char buf[PIDS_BUFLEN]; while (fgets(buf, PIDS_BUFLEN - 1, fp)) { if (strncmp(buf, "Uid:", 4) == 0) { -- cgit v1.2.3-70-g09d2