Re: [PATCH 59/60] microblaze_v4: syscall_table.S and unistd.h

From: H. Peter Anvin
Date: Thu Jun 26 2008 - 14:21:52 EST


Arnd Bergmann wrote:

You still set __NR_fork. There is no point defining the number if you
can't actually call the syscall in the first place.


Worse, it is actively *harmful* to set the number; klibc or anything that uses similar kinds of scripts for portability will see the symbol and think the system call is available.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/