Hacker News new | ask | show | jobs
by pilif 4133 days ago
It's a feature that makes the kernel to lie to old userspace programs that insist on only supporting Linux 2.6.

By calling personality(2) with PER_LINUX | UNAME26, uname(2) will from then on pretend that you're actually running linux 2.6.something.

This is meant as a workaround for software you don't have the source code to and which does some crazy checks for the version, assuming it doesn't support anything but 2.6.

Here's the source of a little wrapper utility you can use to invoke such broken software with:

http://mirror.linux.org.au/linux/kernel/people/ak/uname26/un...