• Adrian Reber's avatar
    Fix RPC configuration file handling · b1c9e7fa
    Adrian Reber authored
    While writing runc test cases to verify that runc correctly uses RPC
    configuration files it became clear that some things were not working as
    they are supposed to. Looking closer at the code to set log files
    via RPC configuration files I discovered that the code seems wrong (at
    least I did not understand it any more (or the intentions behind it)).
    
    This code tries to simplify that logic a bit and add more comments to
    make clear what the intentions of the RPC configuration file code is.
    
    v2:
      - fix existing test case to test better (more correct)
      - make changes requested by Andrei
    v3:
      - more changes as requested by Andrei
    Signed-off-by: 's avatarAdrian Reber <areber@redhat.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@gmail.com>
    b1c9e7fa
Name
Last commit
Last update
Documentation Loading commit data...
compel Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.compel Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...