aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/common.h
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2022-06-08 12:12:04 +0200
committerLibravatar smitsohu <smitsohu@gmail.com>2022-06-08 12:12:04 +0200
commit27cde3d7d1e4e16d4190932347c7151dc2a84c50 (patch)
tree0da23ef1269411abd2621847e55392712b7e2cf8 /src/include/common.h
parentRELNOTES: add feature/bugfix (diff)
downloadfirejail-27cde3d7d1e4e16d4190932347c7151dc2a84c50.tar.gz
firejail-27cde3d7d1e4e16d4190932347c7151dc2a84c50.tar.zst
firejail-27cde3d7d1e4e16d4190932347c7151dc2a84c50.zip
fixing CVE-2022-31214
Diffstat (limited to 'src/include/common.h')
-rw-r--r--src/include/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/common.h b/src/include/common.h
index c9640435a..ed6560701 100644
--- a/src/include/common.h
+++ b/src/include/common.h
@@ -134,7 +134,8 @@ static inline int mac_not_zero(const unsigned char mac[6]) {
134 134
135void timetrace_start(void); 135void timetrace_start(void);
136float timetrace_end(void); 136float timetrace_end(void);
137int join_namespace(pid_t pid, char *type); 137int join_namespace_by_fd(int dirfd, char *typestr);
138int join_namespace(pid_t pid, char *typestr);
138int name2pid(const char *name, pid_t *pid); 139int name2pid(const char *name, pid_t *pid);
139char *pid_proc_comm(const pid_t pid); 140char *pid_proc_comm(const pid_t pid);
140char *pid_proc_cmdline(const pid_t pid); 141char *pid_proc_cmdline(const pid_t pid);