Thank you for the help. security/min_addr.c does not exist, however I was able to fix it:
It looks like mm/mmap.c is the one to edit, export the symbol: /* amount of vm to protect from userspace access */ unsigned long mmap_min_addr = CONFIG_DEFAULT_MMAP_MIN_ADDR; EXPORT_SYMBOL(mmap_min_addr); I compiled the kernel and tested Aufs, it works. Note: Hmmm, I notice that I have got CONFIG_DEFAULT_MMAP_MIN_ADDR set to 4096, according to kernel docs that's a bit low. Regards, Barry Kauler On 6/6/10, [email protected] <[email protected]> wrote: > > Barry Kauler: >> I got Aufs2 out of version control yesterday, and downloaded the >> 2.6.27.47 source. I applied Squashfs4 and Aufs patches, and it >> compiled, but right at the end gave this error: >> >> Error: "mmap_min_addr" [fs/aufs/aufs.ko] undefined! > > You need to EXPORT it in security/min_addr.c, because > security_file_mmap() was modified in v2.6.27.27. > > > J. R. Okajima > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo
