summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libbsd.txt2
-rw-r--r--rtemsbsd/include/machine/cpu.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/libbsd.txt b/libbsd.txt
index 4ade7400..65714eb4 100644
--- a/libbsd.txt
+++ b/libbsd.txt
@@ -89,6 +89,8 @@ the current Git submodule commit is this
* IFCONFIG(8): IEEE80211 support is disabled. This module depends on a XML
parser and mmap().
+* get_cyclecount(): The implementation is a security problem.
+
[listing]
----
/* sysinit section? */
diff --git a/rtemsbsd/include/machine/cpu.h b/rtemsbsd/include/machine/cpu.h
index eafeca93..d63ac715 100644
--- a/rtemsbsd/include/machine/cpu.h
+++ b/rtemsbsd/include/machine/cpu.h
@@ -22,6 +22,7 @@
#error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif
+/* FIXME: This implementation is a security problem */
static __inline uint64_t
get_cyclecount(void)
{