Add option to use file-based locking for libkpod state
Signed-off-by: Matthew Heon <mheon@redhat.com>
This commit is contained in:
parent
fa6e2d81f9
commit
9529f565b2
5 changed files with 35 additions and 4 deletions
|
@ -502,6 +502,7 @@ func New(config *Config) (*Server, error) {
|
|||
appArmorEnabled: apparmor.IsEnabled(),
|
||||
appArmorProfile: config.ApparmorProfile,
|
||||
}
|
||||
|
||||
if s.seccompEnabled {
|
||||
seccompProfile, fileErr := ioutil.ReadFile(config.SeccompProfile)
|
||||
if fileErr != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue