Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!swrinde!ucsd!rutgers!hsdndev!cmcl2!kramden.acf.nyu.edu!brnstnd From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Newsgroups: comp.unix.wizards Subject: Re: Writing portable code that reads /dev/kmem Message-ID: <12098:May2521:41:2791@kramden.acf.nyu.edu> Date: 25 May 91 21:41:27 GMT References: <76560@brunix.UUCP> Organization: IR Lines: 17 In article <76560@brunix.UUCP> cgy@cs.brown.edu (Curtis Yarvin) writes: > >I've heard rumors that there exists a kmem-access library for BSD4.3. > It should never have had to exist in the first place; but there is. -lkvm > will link with it. -lkvm is a Sun-ism. You can get almost all the same functions out of the much more portable kmem and getuser libraries inside my kstuff package. > But bear in > mind that when we say "symbol," we're talking about internal kernel > variables. This stuff is by definition unportable. The main point of kstuff is to provide higher-level, portable interfaces to most of the useful kernel symbols. ---Dan