summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-10-07 16:08:48 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2010-10-07 16:08:48 +0200
commit4b0b36eb31c74383409609f2567e71bc5de3dacd (patch)
tree7fe757104132c8e931a440f7a6102d4e5e1688ab /inc
parent24e8bb2c9e6473889a33eebf85585f59aa91f738 (diff)
downloadabrt-4b0b36eb31c74383409609f2567e71bc5de3dacd.tar.gz
abrt-4b0b36eb31c74383409609f2567e71bc5de3dacd.tar.xz
abrt-4b0b36eb31c74383409609f2567e71bc5de3dacd.zip
add a bit more logging in places. fix typos
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'inc')
-rw-r--r--inc/abrtlib.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/abrtlib.h b/inc/abrtlib.h
index 2daf6005..0aae4a00 100644
--- a/inc/abrtlib.h
+++ b/inc/abrtlib.h
@@ -116,12 +116,21 @@ unsigned long long monotonic_us(void);
unsigned monotonic_sec(void);
enum {
+ /* on return, pipefds[1] is fd to which parent may write
+ * and deliver data to child's stdin: */
EXECFLG_INPUT = 1 << 0,
+ /* on return, pipefds[0] is fd from which parent may read
+ * child's stdout: */
EXECFLG_OUTPUT = 1 << 1,
+ /* open child's stdin to /dev/null: */
EXECFLG_INPUT_NUL = 1 << 2,
+ /* open child's stdout to /dev/null: */
EXECFLG_OUTPUT_NUL = 1 << 3,
+ /* redirect child's stderr to stdout: */
EXECFLG_ERR2OUT = 1 << 4,
+ /* open child's stderr to /dev/null: */
EXECFLG_ERR_NUL = 1 << 5,
+ /* suppress perror_msg("Can't execute 'foo'") if exec fails */
EXECFLG_QUIET = 1 << 6,
EXECFLG_SETGUID = 1 << 7,
EXECFLG_SETSID = 1 << 8,