Review Request 1512: Account: Race conditions fixes (like: bz#1061150)
by Stephen Gallagher
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/1512/
-----------------------------------------------------------
Review request for OpenLMI Developers.
Repository: openlmi-providers
Description
-------
This patch solves:
* Avoid race conditions with shadow-utils.
* Avoid race condition with libuser: uid/gid "sharing" amoung users/groups.
* Fix deadlock in lock.c code.
This patch introduces giant lock which is held for all write operations.
Diffs
-----
src/account/LMI_AccountManagementServiceProvider.c d4e51d55e259c582c4e145fcd45191aec6e484b1
src/account/LMI_AccountProvider.c fa2e3165f79844d4fac908ce344a69d735f6150d
src/account/LMI_GroupProvider.c efdbad53c57c102a9c6e760da968773e9aa2bf60
src/account/lock.h ab5827bb543ad35e4ab25e7e3edc84f5c416e1fc
src/account/lock.c b18b87dd11c42923699d53e409460aeb7b4a996a
Diff: http://reviewboard-openlmi.rhcloud.com/r/1512/diff/
Testing
-------
Thanks,
Robin Hack
9 years, 11 months
Review Request 1684: Move dangling functions to common.UserOps
by Stephen Gallagher
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/1684/
-----------------------------------------------------------
Review request for OpenLMI Developers.
Repository: openlmi-providers
Description
-------
Since they have much in common, I am moving them under UserOps
static class. This allows for better flexibility and readability.
Diffs
-----
src/account/test/TestAccount.py 31c3a96a2e31262904afec092baa30a839340776
src/account/test/TestAccountRaceConditions.py cd13d6179125f4f73ff87198743c6d59af517ef9
src/account/test/TestGroup.py 4a7fc6d1e3b2fb4ce966d08d462f08b0b86c9d8e
src/account/test/TestIndications.py 7861eede69433662c4b178671ff53b2e2346a54e
src/account/test/TestMemberOfGroup.py 0c74dff7f2e85da553b879971f8e44c1079766d0
src/account/test/TestService.py f62d1cf0c850c60f5d12a9b0a2acc4cbffddb1d1
src/account/test/common.py 639fb6113991a6c9e37e3985da335345ce5b313f
src/account/test/methods.py 9659d4f91f69a38194ebdf1dd367ae36c64e96a7
Diff: http://reviewboard-openlmi.rhcloud.com/r/1684/diff/
Testing
-------
Thanks,
Alois Mahdal
9 years, 11 months