[Queue-developers] new intermediate development Queue version
Brought to you by:
wkrebs
From: QingLong <Qin...@us...> - 2001-02-26 21:48:30
|
Hello! There is a new queue-development version at sourceforge CVS. ChangeLog excerpt: --- Put config.h stuff in usual #ifndef wrapper to allow multiple inclusion of the header file. (see acconfig.h) --- Added <search.h> to AC_CHECK_HEADERS list for remque() and insque() prototypes in Linux. Added `#include <search.h>' where necessary. --- Created number of header files for holding type definitions, prototypes and macros from/for corresponding C files for clean and clear code structure and files layout. The layout also allows providing finer and more complete source portions dependance information in makefile. Began moving relevant stuff to appropriate locations. --- Made queue and queued run under (having effective uid.gid set to) user's real uid.gid and only elevate privileges to root level on demand, e.g. to bind privileged TCP port or (de)allocate pty. --- Made queued create more proper/informative utmp entry: write down real username instead of always putting "root". --- Added a few extra parameters to functions in wakeup.c to eliminate need in having queue_verbose and queue_debug global variables both in queue and queued (where they are irrelevant). If there is a bunch of common code in client and daemon portions of the system we should probably arrange it as a library. --- Did some code cleaning to avoid ambiguites and make gcc more happy (decrease number of warnings). --- Added a few library functions return status checking/handling to ensure successfull socket creation, port bindings, etc. I have not yet committed changes to derived stuff like configure and Makefile.in, so please issue automake --add-missing autoheader autoconf prior to running ./configure. I hope you already have automake and autoconf already installed on your systems. As the changes made (namely the one dealing with privileges) touch a few critical parts of code the version do need excessive testing. Please give it try and send feedback to the mailing list. Thank you. QingLong. |