git-annex/Remote/Helper
Joey Hess 092041fab0 Ensure that all lock fds are close-on-exec, fixing various problems with them being inherited by child processes such as git commands.
(With the exception of daemon pid locking.)

This fixes at part of #758630. I reproduced the assistant locking eg, a
removable drive's annex journal lock file and forking a long-running
git-cat-file process that inherited that lock.

This did not affect Windows.

Considered doing a portable Utility.LockFile layer, but git-annex uses
posix locks in several special ways that have no direct Windows equivilant,
and it seems like it would mostly be a complication.

This commit was sponsored by Protonet.
2014-08-20 11:37:02 -04:00
..
Chunked better exception display 2014-07-26 23:01:44 -04:00
AWS.hs plumb creds from webapp to initremote 2014-02-11 14:07:56 -04:00
Chunked.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
Encryptable.hs S3, Glacier, WebDAV: Fix bug that prevented accessing the creds when the repository was configured with encryption=shared embedcreds=yes. 2014-08-12 15:35:29 -04:00
Git.hs fix checkPresent error handling for non-present local git repos 2014-08-08 19:18:08 -04:00
Hooks.hs Ensure that all lock fds are close-on-exec, fixing various problems with them being inherited by child processes such as git commands. 2014-08-20 11:37:02 -04:00
Http.hs check for 200 response 2014-08-08 17:17:36 -04:00
Messages.hs run Preparer to get Remover and CheckPresent actions 2014-08-06 14:28:36 -04:00
ReadOnly.hs Remotes can now be made read-only, by setting remote.<name>.annex-readonly 2014-01-02 13:12:32 -04:00
Special.hs unify exception handling into Utility.Exception 2014-08-07 22:03:29 -04:00
Ssh.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00