X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_journal_open.xml;h=bb3703d015d62bae8342cf40db6a67a4cd6dd6a3;hp=eae851e731586f267ad687c518602b93ff0ae0c5;hb=ea021cc3ea7082786e764734bb344eebbd6f2caa;hpb=1e158d273bb63883566358cbb886cd4167421df6 diff --git a/man/sd_journal_open.xml b/man/sd_journal_open.xml index eae851e73..bb3703d01 100644 --- a/man/sd_journal_open.xml +++ b/man/sd_journal_open.xml @@ -131,6 +131,13 @@ can be rotated at any moment, and the opening of specific files is inherently racy. + sd_journal objects cannot be + used in the child after a fork. Functions which take a + journal object as an argument + (sd_journal_next() and others) + will return -ECHILD after a fork. + + sd_journal_close() will close the journal context allocated with sd_journal_open() or @@ -139,7 +146,7 @@ When opening the journal only journal files accessible to the calling user will be opened. If - journal files are not accessible to the caller this + journal files are not accessible to the caller, this will be silently ignored. See