Path: utzoo!attcan!uunet!cs.utexas.edu!uwm.edu!uakari.primate.wisc.edu!brutus.cs.uiuc.edu!apple!voder!wlbr!wlv!sms From: sms@wlv.imsd.contel.com (Steven M. Schultz) Newsgroups: comp.bugs.2bsd Subject: u adb script missing a line Message-ID: <45458@wlbr.IMSD.CONTEL.COM> Date: 1 Feb 90 18:26:59 GMT Sender: news@wlbr.IMSD.CONTEL.COM Reply-To: sms@wlv.imsd.contel.com (Steven M. Schultz) Organization: Contel Federal Systems Lines: 29 Subject: u adb script missing a line Index: lib/adb/u 2.10BSD Description: The /usr/lib/adb/u script produces misaligned output for user structure members from u_quota on. Repeat-By: Use adb to pretty print a u struct. Note the values for u_base, and so on are off by one word. Fix: Apply the patch below to /usr/lib/adb/u. The u_quota member is present even if quotas are not included in the system (same as in 4.3BSD) so that programs dealing with u structs do not have to be recompiled if quotas are present or not. *** u.old Thu Aug 20 11:18:01 1987 --- u Wed Jan 31 21:58:51 1990 *************** *** 30,35 **** --- 30,36 ---- +/"start"nYn +/"acflag"nbn9+ +/"rlimits"n12D + +/"quota"non +/"u_base"8t"u_count"8t"u_offset"16t"u_segflg"nouDbn+ +/"nc_prevoff"16t"nc_inum"8t"minor"8t"major"nDubbn +/"ni_endoff"16t"u_dirp"nDon