Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!amdcad!ames!mailrus!nrl-cmf!ukma!tut.cis.ohio-state.edu!allosaur.cis.ohio-state.edu!bob From: bob@allosaur.cis.ohio-state.edu (Bob Sutterfield) Newsgroups: comp.windows.x Subject: making xload(1) susceptible to kill(1) by the invoker Message-ID: <23067@tut.cis.ohio-state.edu> Date: 30 Sep 88 15:55:43 GMT Sender: news@tut.cis.ohio-state.edu Organization: The Ohio State University Dept of Computer & Information Science Lines: 17 *** X.V11R2/lib/Xaw/Load.c~ Wed Aug 17 13:54:26 1988 --- X.V11R2/lib/Xaw/Load.c Fri Sep 30 11:20:18 1988 *************** *** 401,406 **** --- 401,407 ---- loadavg_seek = namelist[LOADAV].n_value; kmem = open(KMEM_FILE, O_RDONLY); if (kmem < 0) xload_error("cannot open", KMEM_FILE); + setuid(getuid()); init = 1; } -=- Zippy sez, --Bob Our father who art in heaven.. I sincerely pray that SOMEBODY at this table will PAY for my SHREDDED WHAT and ENGLISH MUFFIN.. and also leave a GENEROUS TIP...