Skip to content

Commit 79e3452

Browse files
committed
update the link
Signed-off-by: Shiming Zhang <[email protected]>
1 parent 1acca8b commit 79e3452

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/apparmor/apparmor_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var (
3636
// check for apparmor_parser to be present, or if we're running docker-in-docker.
3737
func hostSupports() bool {
3838
checkAppArmor.Do(func() {
39-
// see https://github.com/docker/docker/commit/de191e86321f7d3136ff42ff75826b8107399497
39+
// see https://github.com/opencontainers/runc/blob/0d49470392206f40eaab3b2190a57fe7bb3df458/libcontainer/apparmor/apparmor_linux.go
4040
if _, err := os.Stat("/sys/kernel/security/apparmor"); err == nil && os.Getenv("container") == "" {
4141
buf, err := ioutil.ReadFile("/sys/module/apparmor/parameters/enabled")
4242
appArmorSupported = err == nil && len(buf) > 1 && buf[0] == 'Y'

0 commit comments

Comments
 (0)