Merge pull request #561 from rajasec/kcore-link

Change softlink name to /dev/core
This commit is contained in:
Michael Crosby 2016-02-16 11:03:37 -08:00
commit 4f33b03703
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ func setupDevSymlinks(rootfs string) error {
// kcore support can be toggled with CONFIG_PROC_KCORE; only create a symlink
// in /dev if it exists in /proc.
if _, err := os.Stat("/proc/kcore"); err == nil {
links = append(links, [2]string{"/proc/kcore", "/dev/kcore"})
links = append(links, [2]string{"/proc/kcore", "/dev/core"})
}
for _, link := range links {
var (