Charles.Forsyth20080118-16211d9c05218 years agoHistory
49 lines · 914 B · Text
RawDownload
.TH NEWNS 2.SH NAMENewns: newns, newuser \- build a new name space from a description file.SH SYNOPSIS.EXinclude "newns.m";ns := load Newns Newns->PATH; newns:   fn(user: string, nsfile: string): string;newuser: fn(user: string, cap: string, nsfile: string): string;.EE.SH DESCRIPTION.B Newnsreads file.I nsfileand builds a new name space based on the commands it contains.The file has the format defined by.IR namespace (6).If.I nsfileis.B nilor empty, then.B newnsattempts to read file the file.BR namespace ..PP.B Newuseruses a capability.I capsuitable for.IR cap (3)to change the current process's user name to.IR user ,and uses.B newnsand.I nsfileto build it a new name space.The capability is typically obtained via.IR factotum (4)..SH SOURCE.B /appl/lib/newns.b.SH SEE ALSO.IR sys-bind (2),.IR sys-chdir (2),.IR sys-pctl (2),.IR factotum (4),.IR namespace (6)