mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 10:36:38 -04:00
Releases notes at <https://www.schedmd.com/news.php>. Remark: MySQL is no more an option. Security: CVE-2023-49933 through CVE-2023-49938 Differential Revision: <https://reviews.freebsd.org/D42764>
18 lines
571 B
C
18 lines
571 B
C
--- src/interfaces/cgroup.c.orig 2023-11-21 22:33:29 UTC
|
|
+++ src/interfaces/cgroup.c
|
|
@@ -419,6 +419,7 @@ extern char *autodetect_cgroup_version(void)
|
|
struct statfs fs;
|
|
int cgroup_ver = -1;
|
|
|
|
+#ifndef __FreeBSD__
|
|
if (statfs("/sys/fs/cgroup/", &fs) < 0) {
|
|
error("cgroup filesystem not mounted in /sys/fs/cgroup/");
|
|
return NULL;
|
|
@@ -451,6 +452,7 @@ extern char *autodetect_cgroup_version(void)
|
|
error("Unknown filesystem type mounted on /sys/fs/cgroup");
|
|
return NULL;
|
|
}
|
|
+#endif
|
|
|
|
log_flag(CGROUP, "%s: using cgroup version %d", __func__, cgroup_ver);
|
|
|