containers / udica

This repository contains a tool for generating SELinux security profiles for containers
GNU General Public License v3.0
488 stars 47 forks source link

Restore working directory #14

Closed janzarsky closed 5 years ago

janzarsky commented 5 years ago

In load_policy(), when the '-l' option is not set, working directory is not restored back after setting it to TEMPLATES_STORE. Fix this by calling chdir().

wrabcak commented 5 years ago

Good catch! LGTM.