diff options
author | Roger Leigh <rleigh@debian.org> | 2009-09-27 22:52:44 +0100 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2009-09-27 22:54:57 +0100 |
commit | 11ea9932e8d90e4e0681f3062f26b494842e675d (patch) | |
tree | 6802941901a37d93cce059b2e5256b5ad001ba22 /TODO | |
parent | 6fe0df0c4cb22e81e3850384fd3b208b8848bbe7 (diff) | |
download | schroot-11ea9932e8d90e4e0681f3062f26b494842e675d.tar.gz |
sbuild: Add reentrant passwd and group wrappers
In order to make the library thread-safe, use the reentrant
getpw*_r and getgr*_r functions in place of the older unsafe
functions which use static buffers. The passwd and group
structures are inherited by C++ classes of the same name which
allow handling of dynamic memory allocation while at the same
time allowing use of RAII and passing to C functions.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -28,10 +28,6 @@ and test for particular permissions. POTENTIAL --------- -* Use of passwd/group databases should be thread-safe - - - Use the _r variants of getpw*, getgr*. - * Add tests for ** Auth |