New class pf::FileLocker
Cherry picked
Removed unused function
Unlock call directly _doRealLock
Remove unused fuction
Remove the onfilereloadonce option
Remove cached_pf_default_config as a global variable
Update the control files before reload attempting to reload the config file
Remove onfilereloadonce
Remove onfilereloadonce
Ensure permissions are correct for lock files
Remove unused functions
Do not remove callbacks during expire_if
Deal with the case of an non existent file
Rename ReadConfig to ReloadConfig to avoid calling callbacks twice
Remove duplicated use statement
Added new option -nocache
New method isWriteLocked
New attribute lockAcquired to keep track if the lock was acquired
Disconnect all cached connections