From: Zoran V. <vas...@us...> - 2005-02-26 17:19:09
|
Update of /cvsroot/naviserver/naviserver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28914 Modified Files: ChangeLog Log Message: See file Index: ChangeLog =================================================================== RCS file: /cvsroot/naviserver/naviserver/ChangeLog,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ChangeLog 26 Feb 2005 15:44:18 -0000 1.6 --- ChangeLog 26 Feb 2005 17:18:33 -0000 1.7 *************** *** 1,11 **** 2005-02-26 Zoran Vasiljevic <vas...@us...> ! * generic/unix.c: * include/ns.h: added Ns_GetNameForUid(), Ns_GetNameForGid() ! * generic/nsmain.c: allows server to be started as uid == 0 if both of the following are true: o. the caller process is running as root (getuid() == 0) ! o "-u root" or "-u 0" was given on the command line Also, improved and tightented verification of passed user and/or group information. --- 1,36 ---- 2005-02-26 Zoran Vasiljevic <vas...@us...> ! * nsd/tclobjv.c: New file with objv argument parsing code ! ! * nsd/Makefile: Added compliation directive for nsd/tclobjv.c ! ! * include/ns.h: Added declarations... ! for following structs: ! o. Ns_ObjvSpec ! o. Ns_ObjvTable ! and following calls: ! o. Ns_ParseObjv ! o. Ns_ObjvBool ! o. Ns_ObjvInt ! o. Ns_ObjvLong ! o. Ns_ObjvWideInt ! o. Ns_ObjvDouble ! o. Ns_ObjvString ! o. Ns_ObjvObj ! o. Ns_ObjvIndex ! o. Ns_ObjvFlags ! o. Ns_ObjvBreak ! o. Ns_ObjvArgs ! This all implements new argument parsing code from Stephen. ! ! 2005-02-26 Zoran Vasiljevic <vas...@us...> ! ! * nsd/unix.c: * include/ns.h: added Ns_GetNameForUid(), Ns_GetNameForGid() ! * nsd/nsmain.c: allows server to be started as uid == 0 if both of the following are true: o. the caller process is running as root (getuid() == 0) ! o. "-u root" or "-u 0" was given on the command line Also, improved and tightented verification of passed user and/or group information. |