• No replies
14 Posts

Pinned topic From kernel extension what AIX release is running?

‏2013-07-03T19:17:48Z |

Can a kernel extension determine which release of AIX is running?  This particular extension compiles on AIX 5 and runs on AIX 7 so I'm looking for a run-time interface.  I know I could pass in that information when loading but I don't want to change any of the interfaces.  It looks like the uname system call is only available to kernel processes (not user processes running in the kernel) and the utsname kernel global doesn't seem to be exported to kernel extensions.  Anything "official" I can use?