diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-24 10:51:38 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-31 13:18:51 +0100 |
commit | 1bc275660de2cf962de42ab478cd48062970564f (patch) | |
tree | 8df7af4ae30faba01f094b7a68936a8b682177db | |
parent | Move malloc defines to <sys/malloc.h> (diff) | |
download | rtems-libbsd-1bc275660de2cf962de42ab478cd48062970564f.tar.bz2 |
Add TODO item
-rw-r--r-- | libbsd.txt | 2 | ||||
-rw-r--r-- | rtemsbsd/include/machine/cpu.h | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -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) { |