Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!necntc!ames!styx!twg-ap!narayan From: narayan@twg-ap.UUCP Newsgroups: comp.unix.wizards Subject: Re: copyin Message-ID: <157@twg-ap.UUCP> Date: Tue, 10-Mar-87 19:26:54 EST Article-I.D.: twg-ap.157 Posted: Tue Mar 10 19:26:54 1987 Date-Received: Wed, 11-Mar-87 20:42:13 EST References: <4838@brl-adm.ARPA> Organization: The Wollongong Group Inc., Palo Alto, CA Lines: 32 Summary: copyin not done In article <4838@brl-adm.ARPA>, Conley%csvax.cs.ukans.edu@RELAY.CS.NET writes: > system: 780, 4.3 > > "Gotta do a copyin". > > Dispensing with what we do ( and don't! ) know about the u area, kernel > .... > > Would anyone care to shed some light on this? This would work on a VAX where the kernel address space begins with the high order bit turned on. But if you go to some other machine where it is not possible to distinguish between kernel space and user space, then this string will be treated to be in the kernel area. They you may crash and burn. You really need to to do a uchar(I think) not a copy in to load the string in (after setting u.u_xxx). -- Narayan Mohanram Phone: 415-962 7170 ARPANET twg-ap!narayan@lll-tis-b.ARPA Usenet {attunix, ihnp4}!amdahl!twg-ap!narayan USnail The Wollongong Group 1129 San Antonio Road Palo Alto, CA 94303. USA ========================================================= || If you can't lick it, try some whipped cream || =========================================================