Merge pull request #691 from crosbymichael/seccomp-log
Remove log from seccomp package
This commit is contained in:
commit
40f4e7873d
|
@ -5,7 +5,6 @@ package seccomp
|
||||||
import (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
@ -167,7 +166,6 @@ func matchCall(filter *libseccomp.ScmpFilter, call *configs.Syscall) error {
|
||||||
// Ignore it, don't error out
|
// Ignore it, don't error out
|
||||||
callNum, err := libseccomp.GetSyscallFromName(call.Name)
|
callNum, err := libseccomp.GetSyscallFromName(call.Name)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("Error resolving syscall name %s: %s - ignoring syscall.", call.Name, err)
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue