Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make logging (lib.c) and privileges (privs.c) pthread safe | paulo | 2009-11-30 | 1 | -6/+22 |
| | | | | | | | | | | | lib.c: use a mutex to protect all public methods. Replaced code in command.c etc that modified zlog_default directly with interlocked getters and setters. Requires that vty_log in vty.c handles its own pthread safety TBA. privs.c: use a mutex to protect all public methods. Counts RAISE and LOWER so that privilege stays RAISED until all pthreads have lowered. Improved messages in test-privs.c | ||||
* | 2005-10-11 Paul Jakma <paul.jakma@sun.com> | paul | 2005-10-11 | 1 | -0/+152 |
* test-privs.c: Privileges unit test. * Makefile.am: build testprivs * aspath_test.c: fix a few sign warnings |