lib/lockfile.c

Branch


Log

Author Commit Date CI Message
Stefan Sperling e7ae0baf 2021-12-31T09:11:22 add O_CLOEXEC (close-on-exec) to openat(2) calls suggested by millert ok thomas_adam
Stefan Sperling 8bd0cdad 2021-12-31T09:11:21 add O_CLOEXEC (close-on-exec) flag to open(2) calls suggested by millert ok thomas_adam
Stefan Sperling 5345b4c7 2021-07-06T07:39:36 allow lockfiles to be used in cases where we have a dir_fd and a relative path
Stefan Sperling 08578a35 2021-01-22T11:05:05 make close(2) failure checks consistent; check 'close() == -1' everywhere ok millert, naddy
Stefan Sperling 638f9024 2019-05-13T12:40:57 rename got_error_prefix_errno() to got_error_from_errno()
joshua stein 230a42bd 2019-05-11T13:04:38 got_error_from_errno -> got_error_prefix_errno also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)
Stefan Sperling 324d37e7 2019-05-11T09:14:30 make got path APIs available to library consumers
Stefan Sperling 3eb93f3c 2019-04-11T13:39:11 inline open(2) flags in got_lockfile_lock()
Stefan Sperling 47112f60 2019-03-11T19:32:21 fix allocation size bug in got_lockfile_lock()
Stefan Sperling c789dbac 2019-03-11T16:26:28 fix bug in got_lockfile_lock() where it never succeeded
Stefan Sperling 01b7ba6b 2019-03-11T11:36:40 add a lockfile API