You can do this from C by linking with the kopenafs library and calling the k_setpag() function. Using that approach I've also created python and perl XS wrappers to allow calling from those languages.
Stephen Quinney On 26 August 2013 07:21, shuaijie wang <[email protected]> wrote: > Hi all, > > We know that aklog -setpag can setup a new pag for the calling process, > but how to do it programingly? Is there some API to accomplish this? > Thanks very much. >
