linux/Documentation/highuid.txt
<<
>>
Prefs
   1Notes on the change from 16-bit UIDs to 32-bit UIDs:
   2
   3- kernel code MUST take into account __kernel_uid_t and __kernel_uid32_t
   4  when communicating between user and kernel space in an ioctl or data
   5  structure.
   6
   7- kernel code should use uid_t and gid_t in kernel-private structures and
   8  code.
   9
  10What<;s led.txt#L6" id="L6" class="4xt#L6" id="L6" class="4xt#L6" id="L6" cla2/ hre   
 class="lineumenall Ltati "filiteass="l" name="L2">   2
  10What<;s led.tation/hi1ghuid.txt#L3" id="L3" c1lass=12te strDisk quotas have"L5" 0fc="lef="Dli" iWntaaghus not rel="Ld" cltate" name="L10">  10What<;s led.t take in1to account __kernel_uid1_t an13lass="maximum"lin/GID. They "feDli" iLd"byntatimaximum"c509 sizeumentate" name="L10">  10What<;s led.tng betwe1en user and kernel spac1e in 1n ioctlunderlyf="Dc509system,la2ca="Doquota records "feDwritfc5 aghoffsetse" name="L10">  10What<;s led.tef="Docu1mentation/highuid.txt#L16" id15lass="lir="lponts" " cltat"linhuidqu"lefon" name="L9">   9
Wnus needLd" clse idfltat"quota system cn/hiopte" name="L10">  10What<;s led.tld use u1id_t and gid_t in kerne1l-pri17lass="proptrly with hugt"lins. If s="cn/hdeal with 64ass="c509 offsetsumenall e" name="L10">  10What<;s led.tocumenta1tion/highuid.txt#L9" id1="L9"1class=""filiteass="l, >
	 
   9
  10What<;s led.2xt#L6" i2="L6" class="4xt#L6" id2"L6" 20te strDecind
 ortatrh 
 not  clkeep backwards atap  10What<;s led.2e from 126-bit UIDs to 32-bit UI2Ds:
<21lass=""ation/f="Dc509,h 
 dflwd
  10What<;s led.2ation/higghuid.txt#L3" id="L3" cllass=22lass="(cur="ntly, tatiorefxt#L2" id=tatioGd=tarL8" ill writfc5  cldisk,ine" name="L8">   8  code.
   8  code.
   8  code.
  10What<;s led.2ation/hi2ghuid.txt#L7" id="L7" c2lass=26te strNeDd" cldivid="L8taaghOS emulWncalls tatixt#L2" id=e" name="L10">  10What<;s led.2ld use u2id_t and gid_t in kerne2l-pri27lass="liap  10What<;s led.2ocumenta2tion/highuid.txt#L9" id2="L9"2class="="Ds taticlass="linisystem cnlls proptrly otatrwise" name="L9">   9
  10What<;s led.3xt#L6" i3="L6" class="4xt#L6" id3"L6" 30lass="T
	 
affeass aghleast" name="L2">   2
   2
   3- kernel code MUST  take intto account __kernel_uid__t an33lass="""""""#L5rc32 emulWn>Wn#L5rc64 name="L3">   3- kernel code MUST ng betwe3en user and kernel spac3e in 34lass="""""""(neDd" clsupporghwaagevtrhnewiclass="linisystem cnlls arL8addLd" c name="L3">   3- kernel code MUST ef="Docu3mentation/highuid.txt#L36" id35lass="""""""#L5rc32) name="L8">   8  code.
   7- kernel code shou3ld use u3id_t and gid_t in kerne3l-pri3ate strVivid="L8taaghall c509systems behave"proptrly" name="L9">   9
   7- kernel code shou3ation/hi3ghuid.txt#L10" id="L10"3 clas39lass="At"pres   2
   2
  10What<;s led.4ation/hi4ghuid.txt#L3" id="L3" c4lass=42lass="""""""isofse" name="L10">  10What<;s led.4 take in4to account __kernel_uid4_t an43lass="""""""nfse" name="L10">  10What<;s led.4ng betweeen user and kernel spacee in 44lass="""""""cod" name="L5">   5  structure.
   5  structure.
   7- kernel code shou4ld use u4id_t and gid_t in kerne4l-pri47lass="Iclas() c5xups have"bentamadei  
" name="L2">   2
  10What<;s led.4ation/hi4ghuid.txt#L10" id="L10"4 clas49lass="""""""#mbfse" name="L10">  10What<;s led.5xt#L6" i5="L6" class="4xt#L6" id5"L6" 50ine" name="L7">   7- kernel code shou5e from 156-bit UIDs to 32-bit UI5Ds:
<51lass="F509systems with simp09 c5xups  clprev   2
   2
   2
   3- kernel code MUST5ef="Docummentation/highuid.txt#L66" id55"line" name="L10">  10What<;s led.5ation/hi5ghuid.txt#L7" id="L7" c5lass=56lass="Otatrhc509systems have"not a2r daheckLd"yet" name="L9">   9
  10What<;s led.5ocumenta5tion/highuid.txt#L9" id5="L9"58te strTatincpfstatiosmpfstc509systems cannot pres  10What<;s led.5ation/hi5ghuid.txt#L10" id="L10"5 clas59lass="all iclas()s. Somehnewiiclas()s have"bentaaddLd"with class="line, buee" name="L10">  10What<;s led.6xt#L6" i6="L6" class="4xt#L6" id6"L6" 60lass="morL8arL8needLd. (as well ashnewition<-ion=ucturesine"8" class="l) name="L8">   8  code.
  10What<;s led.6ation/hi6ghuid.txt#L3" id="L3" c6lass=62te strTatiELF"lire dumpi  
 aghonly supporgstxt#L2" id="Lmenarm,id386, m68k,e" name="L10">  10What<;s led.6 take in6to account __kernel_uid6_t an63lass="sh,tatiosL5rc32."F5xs" " 
	 
is probably not  aaghumporga/a, bue wohree" name="L10">  10What<;s led.6ng betwe6en user and kernel spac6e in 64lass="requirL8adds" "ahnewiELF"secefon" name="L9">   9
  10What<;s led.6ation/higghuid.txt#L7" id="L7" cllass=66te strTatiiclas()s ="Dd" cl940frol tatiin-ucturesNFS"servtrhonly supporge" name="L10">  10What<;s led.6ld use u6id_t and gid_t in kerne6l-pri67lass="xt#L2" id="Lmenarm,id386, m68k,"sh,tatiosL5rc32.e" name="L10">  10What<;s led.6ocumenta6tion/highuid.txt#L9" id6="L9"68ine" name="L7">   7- kernel code shou6ation/hi6ghuid.txt#L10" id="L10"6 clas69te strm="Doss="  aaghtat"linhmappf="Dceass="hof AX25hnetworkf="Dworks proptrly name="L7">   7- kernel code shoulxt#L6" i7="L6" class="4xt#L6" id7"L6" 70lass="(2"    3- kernel code MUST7e from 176-bit UIDs to 32-bit UI7Ds:
<71lass="lia
   8  code.
   3- kernel code MUST7 take in7to account __kernel_uid7_t an73ine" name="L3">   3- kernel code MUST7ng betwe7en user and kernel spac7e in 74lassChris Wf=" name="L3">   3- kernel code MUST7ef="Docu7mentation/highuid.txt#L76" id75"linwf="c@umich.edu name="L3">   3- kernel code MUST7ation/hi7ghuid.txt#L7" id="L7" c7lass=7line" name="L7">   7- kernel code shoulld use uiid_t and gid_t in kernell-pri77lass ant upd="Ld: January 11, 2000 name="L7">   7- kernel code shoulocumenta7tion/highuid.txt#L9" id7="L9"78ine"
Tatioriginal LXR softwarL8byntatiname="L7"http://source  
ge.net/projeass/lxr">LXR lia

	 
exptri7l vtrsa>Wnbynname="L7"mailto:lxr@stati.no">lxr@stati.noine".
ss="don" id=n/highusubfooter">
lxr.stati.no kf=dly hosiLd"bynname="L7"http://www.redpill-stapro.no">Redpill Ltapro ASine", providtrhof Ltati cookul/f="Dhighoptr>- kes"services"since 1995.
ss="done"/bodyon"/html_r