mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
eaeb33abd4
lvm has a default umask value in the config file that defaults to 0077 which lvm changes to during normal operation. This causes a problem when the code is used as a library with liblvm as it is changing the umask for the process. This patch saves off the current umask, sets to what is specified in the config file and restores it what it was on library function call exit. The user is now free to change the umask in their application at anytime including between library calls. This fix address BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1012113 Tested by setting umask to 0777 and running the python unit test and verifying that umask is still same value as expected at the test completion and with a successful run. Signed-off-by: Tony Asleson <tasleson@redhat.com> |
||
---|---|---|
.. | ||
.exported_symbols | ||
Doxyfile | ||
liblvm2app.pc.in | ||
lvm2app.h | ||
lvm_base.c | ||
lvm_lv.c | ||
lvm_misc.c | ||
lvm_misc.h | ||
lvm_prop_fields.h | ||
lvm_prop.c | ||
lvm_prop.h | ||
lvm_pv.c | ||
lvm_vg.c | ||
Makefile.in |