[SSSD] [PATCH] Add config_from_fd() to ini_config

Stephen Gallagher sgallagh at redhat.com
Mon Sep 28 13:38:50 UTC 2009


The SSSD needs a config_from_fd() variant of the config_from_file() call
so that we can preopen a config file and perform some verification on it
before parsing it. The config_from_fd() call is used to avoid race
conditions between testing the file and reading it in.

Note: the *_from_fd() functions still require the config file name for
internal information. This does not imply that it is used to open the file.

-- 
Stephen Gallagher
RHCE 804006346421761

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Add-config_from_fd-to-ini_config.patch
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20090928/bce6b84d/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20090928/bce6b84d/attachment.sig>


More information about the sssd-devel mailing list