From: <da...@us...> - 2002-09-21 14:38:32
|
Update of /cvsroot/cerber/cerb-ng In directory usw-pr-cvs1:/tmp/cvs-serv32679 Modified Files: README.pl Log Message: - Added sysctl() operation. With this operation You can change/read sysctls while You're travling through rules. Added decsription for this operation to README.pl. - Added two files: cerb_addons.[ch]. Here should goes useful functions. - Added some useful funtions to store memory zones allocated only when syscall is executed. Now we can free them when exiting from syscall. This has remove all actual memory leaks. - We don't have to alloc memory for fcb_malloc() comments. - Changed 'cerb-ng' -> 'CerbNG' in logs. - Fixed typo: 'if (nvals == 1)' -> 'if (nvals == 2)'. - Some style changes: 'sizeof(val)' -> 'sizeof val' or 'sizeof (val)'. - 'return' is not needed on end of void functions (style(9)). Index: README.pl =================================================================== RCS file: /cvsroot/cerber/cerb-ng/README.pl,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** README.pl 20 Sep 2002 07:17:11 -0000 1.10 --- README.pl 21 Sep 2002 14:38:27 -0000 1.11 *************** *** 431,434 **** --- 431,441 ---- jest otwarty lub proces nie istnieje + sysctl(<name,>[val]) + opis: podaje warto¶æ sysctl'a o nazwie ,,name'' lub zwraca tylko jego + warto¶æ je¶li nie podano ,,val''. + zwracana warto¶æ: stara warto¶æ sysctl'a (je¶li podano ,,val'') + lub aktualna (je¶li nie podano ,,val'') + dokumentacja: sysctl(3), sysctl(8) + rmenv(<match>) opis: kasuje zmienne ¶rodowiskowe, które pasuj± do podanego wyra¿enia |