summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-03-14 12:53:37 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-03-14 12:53:37 +0000
commit9974c42a29d60e6d1364c7d39f8c952604d41012 (patch)
treeb850abf55ae4990d34eb34adba12d451a314204c /TODO
parentf8762715215df9f3f81d1d29b1ed25e1e8e9554d (diff)
downloadlibguestfs-9974c42a29d60e6d1364c7d39f8c952604d41012.tar.gz
libguestfs-9974c42a29d60e6d1364c7d39f8c952604d41012.tar.xz
libguestfs-9974c42a29d60e6d1364c7d39f8c952604d41012.zip
todo: Document ongoing code cleanups.
Diffstat (limited to 'TODO')
-rw-r--r--TODO16
1 files changed, 16 insertions, 0 deletions
diff --git a/TODO b/TODO
index 499c3454..72a00b7d 100644
--- a/TODO
+++ b/TODO
@@ -595,3 +595,19 @@ to do a kind of migration of guests by simply recreating the guest
from the description on the target machine.
It would be ideal to integrate this and/or use inspection to do this.
+
+Ongoing code cleanups
+---------------------
+
+Examine every use of 'int' in C code for signed overflow problems.
+
+All file descriptors in the library and daemon should normally be
+opened with O_CLOEXEC. Therefore we need to examine every call to:
+
+ - open, openat
+ - creat
+ - pipe (see also: pipe2)
+ - dup, dup2 (see also: dup3)
+ - socket, socketpair
+ - accept
+ - signalfd, timerfd, epoll_create