NetBSD/sys/miscfs
jmcneill e656d3b0f6 PR# kern/45021: Please support /emul/linux/proc/version
Add /proc/version for procfs with -o linux. The version reported depends
on the emulation type of the calling process:

$ cat /proc/version
NetBSD version 5.99.55 (netbsd@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) NetBSD 5.99.55 (GENERIC) #39: Sun Sep  4 09:10:05 EDT 2011

$ /emul/linux/bin/cat /proc/version
Linux version 2.6.18 (linux@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010

$ /emul/linux32/bin/cat /proc/version
Linux version 2.6.18 (linux32@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
2011-09-04 17:32:10 +00:00
..
deadfs Welcome to 5.99.53! Merge rmind-uvmplock branch: 2011-06-12 03:35:36 +00:00
fdesc Welcome to 5.99.53! Merge rmind-uvmplock branch: 2011-06-12 03:35:36 +00:00
fifofs NULL does not need a cast 2011-08-31 18:31:02 +00:00
genfs Use the new UVM_KMF_COLORMATCH flag to get a congruent mappings of the user 2011-09-01 16:55:08 +00:00
kernfs Welcome to 5.99.53! Merge rmind-uvmplock branch: 2011-06-12 03:35:36 +00:00
nullfs Change VOP_BWRITE() to take a vnode as its first argument like all other 2011-07-11 08:27:37 +00:00
overlay Change VOP_BWRITE() to take a vnode as its first argument like all other 2011-07-11 08:27:37 +00:00
procfs PR# kern/45021: Please support /emul/linux/proc/version 2011-09-04 17:32:10 +00:00
specfs Welcome to 5.99.53! Merge rmind-uvmplock branch: 2011-06-12 03:35:36 +00:00
syncfs Welcome to 5.99.53! Merge rmind-uvmplock branch: 2011-06-12 03:35:36 +00:00
umapfs Change VOP_BWRITE() to take a vnode as its first argument like all other 2011-07-11 08:27:37 +00:00
Makefile