A million and one thanks + tax. Jon Smith
On Sat, 15 May 1999, Andrew Gordon wrote: > Some while ago, Jon Smith wrote: > > > > Has anyone successfully gotten Star Office 5.0 to run multi-user? > > > > I have just solved this. The problem is that StarOffice accesses the > command line arguments (and hence the "/net" flag needed to install > multi-user) using the vile /proc/xxx/cmdline mechanism. The FreeBSD > implementation of this is a hack that only returns argv[0] and therefore > discards any command line arguments. > > The attached patch is still a hack, but is one step closer to the right > answer: it now returns the right answer if the current process reads its > own /proc/xxx/cmdline, but still returns only argv[0] if a process > attempts to read another process' cmdline. This is enough to solve the > StarOffice problem. > > The reason I haven't done the job properly is that I don't know how to > read an address in user-space for a process other than curproc. From the > implementation of /proc/xxx/mem, this seems difficult to do. > > > -- "Everywhere I go, there's Jon Smith!" -- Leah Dunlevy "Cars don't kill people.... People kill people." Jonathan Smith <jonsm...@physics.purdue.edu> To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message