pacman/lib/libalpm
Andrew Gregory a724235b61 make alpm_unlock and trans_interrupt async safe
RET_ERR calls _alpm_log which includes calls that are not safe for use
in asynchronous signal handlers (see signal(7)).  Replace it in
functions called from our signal handlers with a new macro
RET_ERR_ASYNC_SAFE which is identical except that it lacks the call to
_alpm_log.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
2016-02-23 12:41:36 +10:00
..
po Update translations 2016-01-30 10:13:55 +10:00
.gitignore libalpm: add pkg-config file 2012-04-25 20:02:36 -04:00
Makefile.am run hooks during trans_commit 2015-10-18 10:59:23 +10:00
add.c do not rely on localdb for hook matching 2016-02-23 12:15:43 +10:00
add.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
alpm.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
alpm.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
alpm_list.c add alpm_list_append 2016-01-15 14:47:36 +10:00
alpm_list.h add alpm_list_append 2016-01-15 14:47:36 +10:00
backup.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
backup.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
base64.c base64.c: comment out unused variable 2014-01-15 15:54:56 +10:00
base64.h base64: don't compile base64_encode() function 2011-10-17 12:03:02 -05:00
be_local.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
be_package.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
be_sync.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
conflict.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
conflict.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
db.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
db.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
delta.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
delta.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
deps.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
deps.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
diskspace.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
diskspace.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
dload.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
dload.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
error.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
filelist.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
filelist.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
graph.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
graph.h Make alpm_graph state signedness explicit 2016-01-04 13:59:19 +10:00
group.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
group.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
handle.c make alpm_unlock and trans_interrupt async safe 2016-02-23 12:41:36 +10:00
handle.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
hook.c do not rely on localdb for hook matching 2016-02-23 12:15:43 +10:00
hook.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
ini.c run hooks during trans_commit 2015-10-18 10:59:23 +10:00
ini.h run hooks during trans_commit 2015-10-18 10:59:23 +10:00
libalpm.pc.in Add large file support CFLAGS to pkgconfig file 2015-12-04 11:06:49 +10:00
libarchive-compat.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
log.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
log.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
md5.c Use 32-bit wide integer type in PolarSSL code 2012-01-07 11:27:41 -06:00
md5.h Update MD5 routines with changes from PolarSSL 2011-08-11 20:17:21 -05:00
package.c do not rely on localdb for hook matching 2016-02-23 12:15:43 +10:00
package.h do not rely on localdb for hook matching 2016-02-23 12:15:43 +10:00
pkghash.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
pkghash.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
rawstr.c Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
remove.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
remove.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
sha2.c Use 32-bit wide integer type in PolarSSL code 2012-01-07 11:27:41 -06:00
sha2.h Add sha2 (sha256) routines from PolarSSL 2011-08-15 07:07:13 -05:00
signing.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00
signing.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
sync.c do not rely on localdb for hook matching 2016-02-23 12:15:43 +10:00
sync.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
trans.c make alpm_unlock and trans_interrupt async safe 2016-02-23 12:41:36 +10:00
trans.h Update copyright years for 2016 2016-01-04 13:27:08 +10:00
util-common.c Split common utility functions for libalpm and pacman 2013-01-04 21:49:37 +10:00
util-common.h Split common utility functions for libalpm and pacman 2013-01-04 21:49:37 +10:00
util.c alpm_run_chroot: always connect parent2child pipe 2016-02-23 12:33:04 +10:00
util.h make alpm_unlock and trans_interrupt async safe 2016-02-23 12:41:36 +10:00
version.c Update copyright years for 2016 2016-01-04 13:27:08 +10:00