OK, so we can do the same. The kernel can read the serial number(s) when it
boots, then disable it.
We can then make it available as a sysctl, and preferably changeable...
# echo "0xdeadbeefdeadbeef 0xdeadbeefdeadbeef" > /proc/sys/kernel/cpuid
The system admin can then remove world-readable permission from the file in
/proc if he so desires, and it should be possible to log each time a process
reads it.
We can also implement gethostid(), which can return the serial number of the
boot processor.
---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/