€•CDŒsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”(hhŒparent”hubaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ'/translations/zh_CN/admin-guide/highuid”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”(hhhh2ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/zh_TW/admin-guide/highuid”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”(hhhhFubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/it_IT/admin-guide/highuid”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”(hhhhZubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/ja_JP/admin-guide/highuid”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”(hhhhnubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/ko_KR/admin-guide/highuid”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”(hhhh‚ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/sp_SP/admin-guide/highuid”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ3Notes on the change from 16-bit UIDs to 32-bit UIDs”h]”hŒ3Notes on the change from 16-bit UIDs to 32-bit UIDs”…””}”(hhªhh¨hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hh£hžhhŸŒA/var/lib/git/docbuild/linux/Documentation/admin-guide/highuid.rst”h KubhŒ field_list”“”)”}”(hhh]”(hŒfield”“”)”}”(hhh]”(hŒ field_name”“”)”}”(hŒAuthor”h]”hŒAuthor”…””}”(hhÅhhÃhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÁhh¾hŸh¶h KubhŒ field_body”“”)”}”(hŒChris Wing ”h]”hŒ paragraph”“”)”}”(hhÕh]”(hŒ Chris Wing <”…””}”(hŒ Chris Wing <”hhÙhžhhŸNh NubhŒ reference”“”)”}”(hŒwingc@umich.edu”h]”hŒwingc@umich.edu”…””}”(hhhhãhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:wingc@umich.edu”uh1háhhÙubhŒ>”…””}”(hŒ>”hhÙhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h KhhÓubah}”(h]”h ]”h"]”h$]”h&]”uh1hÑhh¾ubeh}”(h]”h ]”h"]”h$]”h&]”uh1h¼hŸh¶h Khh¹hžhubh½)”}”(hhh]”(hÂ)”}”(hŒ Last updated”h]”hŒ Last updated”…””}”(hjhj hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÁhj hŸh¶h KubhÒ)”}”(hŒJanuary 11, 2000 ”h]”hØ)”}”(hŒJanuary 11, 2000”h]”hŒJanuary 11, 2000”…””}”(hj!hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1hÑhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1h¼hŸh¶h Khh¹hžhubeh}”(h]”h ]”h"]”h$]”h&]”uh1h·hh£hžhhŸh¶h KubhŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒ—kernel code MUST take into account __kernel_uid_t and __kernel_uid32_t when communicating between user and kernel space in an ioctl or data structure. ”h]”hØ)”}”(hŒ–kernel code MUST take into account __kernel_uid_t and __kernel_uid32_t when communicating between user and kernel space in an ioctl or data structure.”h]”hŒ–kernel code MUST take into account __kernel_uid_t and __kernel_uid32_t when communicating between user and kernel space in an ioctl or data structure.”…””}”(hjLhjJhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h KhjFubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjAhžhhŸh¶h NubjE)”}”(hŒNkernel code should use uid_t and gid_t in kernel-private structures and code. ”h]”hØ)”}”(hŒMkernel code should use uid_t and gid_t in kernel-private structures and code.”h]”hŒMkernel code should use uid_t and gid_t in kernel-private structures and code.”…””}”(hjdhjbhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K hj^ubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjAhžhhŸh¶h Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1j?hŸh¶h Khh£hžhubhØ)”}”(hŒBWhat's left to be done for 32-bit UIDs on all Linux architectures:”h]”hŒDWhat’s left to be done for 32-bit UIDs on all Linux architectures:”…””}”(hj€hj~hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h Khh£hžhubj@)”}”(hhh]”(jE)”}”(hX«Disk quotas have an interesting limitation that is not related to the maximum UID/GID. They are limited by the maximum file size on the underlying filesystem, because quota records are written at offsets corresponding to the UID in question. Further investigation is needed to see if the quota system can cope properly with huge UIDs. If it can deal with 64-bit file offsets on all architectures, this should not be a problem. ”h]”hØ)”}”(hXªDisk quotas have an interesting limitation that is not related to the maximum UID/GID. They are limited by the maximum file size on the underlying filesystem, because quota records are written at offsets corresponding to the UID in question. Further investigation is needed to see if the quota system can cope properly with huge UIDs. If it can deal with 64-bit file offsets on all architectures, this should not be a problem.”h]”hXªDisk quotas have an interesting limitation that is not related to the maximum UID/GID. They are limited by the maximum file size on the underlying filesystem, because quota records are written at offsets corresponding to the UID in question. Further investigation is needed to see if the quota system can cope properly with huge UIDs. If it can deal with 64-bit file offsets on all architectures, this should not be a problem.”…””}”(hj•hj“hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjŒhžhhŸh¶h NubjE)”}”(hXDecide whether or not to keep backwards compatibility with the system accounting file, or if we should break it as the comments suggest (currently, the old 16-bit UID and GID are still written to disk, and part of the former pad space is used to store separate 32-bit UID and GID) ”h]”hØ)”}”(hXDecide whether or not to keep backwards compatibility with the system accounting file, or if we should break it as the comments suggest (currently, the old 16-bit UID and GID are still written to disk, and part of the former pad space is used to store separate 32-bit UID and GID)”h]”hXDecide whether or not to keep backwards compatibility with the system accounting file, or if we should break it as the comments suggest (currently, the old 16-bit UID and GID are still written to disk, and part of the former pad space is used to store separate 32-bit UID and GID)”…””}”(hj­hj«hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h Khj§ubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjŒhžhhŸh¶h NubjE)”}”(hXdNeed to validate that OS emulation calls the 16-bit UID compatibility syscalls, if the OS being emulated used 16-bit UIDs, or uses the 32-bit UID system calls properly otherwise. This affects at least: - iBCS on Intel - sparc32 emulation on sparc64 (need to support whatever new 32-bit UID system calls are added to sparc32) ”h]”(hØ)”}”(hŒ²Need to validate that OS emulation calls the 16-bit UID compatibility syscalls, if the OS being emulated used 16-bit UIDs, or uses the 32-bit UID system calls properly otherwise.”h]”hŒ²Need to validate that OS emulation calls the 16-bit UID compatibility syscalls, if the OS being emulated used 16-bit UIDs, or uses the 32-bit UID system calls properly otherwise.”…””}”(hjÅhjÃhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h Khj¿ubhØ)”}”(hŒThis affects at least:”h]”hŒThis affects at least:”…””}”(hjÓhjÑhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K#hj¿ubhŒ block_quote”“”)”}”(hhh]”j@)”}”(hhh]”(jE)”}”(hŒiBCS on Intel ”h]”hØ)”}”(hŒ iBCS on Intel”h]”hŒ iBCS on Intel”…””}”(hjíhjëhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K%hjçubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjäubjE)”}”(hŒisparc32 emulation on sparc64 (need to support whatever new 32-bit UID system calls are added to sparc32) ”h]”hØ)”}”(hŒhsparc32 emulation on sparc64 (need to support whatever new 32-bit UID system calls are added to sparc32)”h]”hŒhsparc32 emulation on sparc64 (need to support whatever new 32-bit UID system calls are added to sparc32)”…””}”(hjhjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K'hjÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjäubeh}”(h]”h ]”h"]”h$]”h&]”j|j}uh1j?hŸh¶h K%hjáubah}”(h]”h ]”h"]”h$]”h&]”uh1jßhj¿ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jDhjŒhžhhŸh¶h NubjE)”}”(hX‚Validate that all filesystems behave properly. At present, 32-bit UIDs _should_ work for: - ext2 - ufs - isofs - nfs - coda - udf Ioctl() fixups have been made for: - ncpfs - smbfs Filesystems with simple fixups to prevent 16-bit UID wraparound: - minix - sysv - qnx4 Other filesystems have not been checked yet. ”h]”(hØ)”}”(hŒ.Validate that all filesystems behave properly.”h]”hŒ.Validate that all filesystems behave properly.”…””}”(hj/hj-hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K+hj)ubhØ)”}”(hŒ*At present, 32-bit UIDs _should_ work for:”h]”hŒ*At present, 32-bit UIDs _should_ work for:”…””}”(hj=hj;hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K-hj)ubjà)”}”(hhh]”j@)”}”(hhh]”(jE)”}”(hŒext2”h]”hØ)”}”(hjQh]”hŒext2”…””}”(hjQhjShžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K/hjOubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjLubjE)”}”(hŒufs”h]”hØ)”}”(hjhh]”hŒufs”…””}”(hjhhjjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K0hjfubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjLubjE)”}”(hŒisofs”h]”hØ)”}”(hjh]”hŒisofs”…””}”(hjhjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K1hj}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjLubjE)”}”(hŒnfs”h]”hØ)”}”(hj–h]”hŒnfs”…””}”(hj–hj˜hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K2hj”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjLubjE)”}”(hŒcoda”h]”hØ)”}”(hj­h]”hŒcoda”…””}”(hj­hj¯hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K3hj«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjLubjE)”}”(hŒudf ”h]”hØ)”}”(hŒudf”h]”hŒudf”…””}”(hjÈhjÆhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K4hjÂubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjLubeh}”(h]”h ]”h"]”h$]”h&]”j|j}uh1j?hŸh¶h K/hjIubah}”(h]”h ]”h"]”h$]”h&]”uh1jßhj)ubhØ)”}”(hŒ"Ioctl() fixups have been made for:”h]”hŒ"Ioctl() fixups have been made for:”…””}”(hjèhjæhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K6hj)ubjà)”}”(hhh]”j@)”}”(hhh]”(jE)”}”(hŒncpfs”h]”hØ)”}”(hjüh]”hŒncpfs”…””}”(hjühjþhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K8hjúubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhj÷ubjE)”}”(hŒsmbfs ”h]”hØ)”}”(hŒsmbfs”h]”hŒsmbfs”…””}”(hjhjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K9hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhj÷ubeh}”(h]”h ]”h"]”h$]”h&]”j|j}uh1j?hŸh¶h K8hjôubah}”(h]”h ]”h"]”h$]”h&]”uh1jßhj)ubhØ)”}”(hŒ@Filesystems with simple fixups to prevent 16-bit UID wraparound:”h]”hŒ@Filesystems with simple fixups to prevent 16-bit UID wraparound:”…””}”(hj7hj5hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K;hj)ubjà)”}”(hhh]”j@)”}”(hhh]”(jE)”}”(hŒminix”h]”hØ)”}”(hjKh]”hŒminix”…””}”(hjKhjMhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K=hjIubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjFubjE)”}”(hŒsysv”h]”hØ)”}”(hjbh]”hŒsysv”…””}”(hjbhjdhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K>hj`ubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjFubjE)”}”(hŒqnx4 ”h]”hØ)”}”(hŒqnx4”h]”hŒqnx4”…””}”(hj}hj{hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h K?hjwubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjFubeh}”(h]”h ]”h"]”h$]”h&]”j|j}uh1j?hŸh¶h K=hjCubah}”(h]”h ]”h"]”h$]”h&]”uh1jßhj)ubhØ)”}”(hŒ,Other filesystems have not been checked yet.”h]”hŒ,Other filesystems have not been checked yet.”…””}”(hjhj›hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h KAhj)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jDhjŒhžhhŸh¶h NubjE)”}”(hŒÊThe ncpfs and smpfs filesystems cannot presently use 32-bit UIDs in all ioctl()s. Some new ioctl()s have been added with 32-bit UIDs, but more are needed. (as well as new user<->kernel data structures) ”h]”hØ)”}”(hŒÉThe ncpfs and smpfs filesystems cannot presently use 32-bit UIDs in all ioctl()s. Some new ioctl()s have been added with 32-bit UIDs, but more are needed. (as well as new user<->kernel data structures)”h]”hŒÉThe ncpfs and smpfs filesystems cannot presently use 32-bit UIDs in all ioctl()s. Some new ioctl()s have been added with 32-bit UIDs, but more are needed. (as well as new user<->kernel data structures)”…””}”(hjµhj³hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h KChj¯ubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjŒhžhhŸh¶h NubjE)”}”(hŒ°The ELF core dump format only supports 16-bit UIDs on arm, i386, m68k, sh, and sparc32. Fixing this is probably not that important, but would require adding a new ELF section. ”h]”hØ)”}”(hŒ¯The ELF core dump format only supports 16-bit UIDs on arm, i386, m68k, sh, and sparc32. Fixing this is probably not that important, but would require adding a new ELF section.”h]”hŒ¯The ELF core dump format only supports 16-bit UIDs on arm, i386, m68k, sh, and sparc32. Fixing this is probably not that important, but would require adding a new ELF section.”…””}”(hjÍhjËhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h KGhjÇubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjŒhžhhŸh¶h NubjE)”}”(hŒtThe ioctl()s used to control the in-kernel NFS server only support 16-bit UIDs on arm, i386, m68k, sh, and sparc32. ”h]”hØ)”}”(hŒsThe ioctl()s used to control the in-kernel NFS server only support 16-bit UIDs on arm, i386, m68k, sh, and sparc32.”h]”hŒsThe ioctl()s used to control the in-kernel NFS server only support 16-bit UIDs on arm, i386, m68k, sh, and sparc32.”…””}”(hjåhjãhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h KKhjßubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjŒhžhhŸh¶h NubjE)”}”(hŒ­make sure that the UID mapping feature of AX25 networking works properly (it should be safe because it's always used a 32-bit integer to communicate between user and kernel)”h]”hØ)”}”(hŒ­make sure that the UID mapping feature of AX25 networking works properly (it should be safe because it's always used a 32-bit integer to communicate between user and kernel)”h]”hŒ¯make sure that the UID mapping feature of AX25 networking works properly (it should be safe because it’s always used a 32-bit integer to communicate between user and kernel)”…””}”(hjýhjûhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh¶h KNhj÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1jDhjŒhžhhŸh¶h Nubeh}”(h]”h ]”h"]”h$]”h&]”j|j}uh1j?hŸh¶h Khh£hžhubeh}”(h]”Œ3notes-on-the-change-from-16-bit-uids-to-32-bit-uids”ah ]”h"]”Œ3notes on the change from 16-bit uids to 32-bit uids”ah$]”h&]”uh1h¡hhhžhhŸh¶h Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”h¶uh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(h¦NŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j@Œerror_encoding”ŒUTF-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”h¶Œ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œ embed_images”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”jjsŒ nametypes”}”jNsh}”jh£sŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nhžhub.