summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-24 10:51:38 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-31 13:18:51 +0100
commit1bc275660de2cf962de42ab478cd48062970564f (patch)
tree8df7af4ae30faba01f094b7a68936a8b682177db
parentMove malloc defines to <sys/malloc.h> (diff)
downloadrtems-libbsd-1bc275660de2cf962de42ab478cd48062970564f.tar.bz2
Add TODO item
-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)
{