NetBSD/sys
chs f298a94b73 ufs: fixed signed/unsigned bugs affecting large file systems
Apply these commits from FreeBSD:

  commit e870d1e6f97cc73308c11c40684b775bcfa906a2
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Wed Feb 10 20:10:35 2010 +0000

    This fix corrects a problem in the file system that treats large
    inode numbers as negative rather than unsigned. For a default
    (16K block) file system, this bug began to show up at a file system
    size above about 16Tb.

    To fully handle this problem, newfs must be updated to ensure that
    it will never create a filesystem with more than 2^32 inodes. That
    patch will be forthcoming soon.

    Reported by: Scott Burns, John Kilburg, Bruce Evans
    Followup by: Jeff Roberson
    PR:          133980
    MFC after:   2 weeks

  commit 81479e688b0f643ffacd3f335b4b4bba460b769d
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Thu Feb 11 18:14:53 2010 +0000

    One last pass to get all the unsigned comparisons correct.


In additional to the changes from FreeBSD, this commit includes quite a few
related changes to appease -Wsign-compare.
2023-01-07 19:41:29 +00:00
..
altq Make ifq_drops in struct ifqueue and struct ifaltq 64 bit. 2022-10-24 08:11:24 +00:00
arch Explicitly set -z noseparate-code because the default is about to change 2023-01-06 15:35:05 +00:00
coda s/auxillary/auxiliary/ in comments. 2022-05-20 19:34:22 +00:00
compat s/reqest/request/, s/requst/request/ and s/reuqest/request/ in comments. 2022-12-24 15:23:02 +00:00
conf Welcome to 2023. Wrap lines so the years fit in to 80 columns with 2023-01-01 00:09:52 +00:00
crypto Make aes and chacha prints debug only. 2022-11-05 17:36:33 +00:00
ddb ddb(4): Declare extern db_active if _KMEMUSER too, not just DDB. 2022-10-27 20:00:24 +00:00
dev igpio: Update pin definitions. 2023-01-07 11:15:00 +00:00
dist/pf inpcb: rename functions to in6pcb_* 2022-11-04 09:01:53 +00:00
dtb use sort -u 2022-09-11 12:46:41 +00:00
external remove the PPP HDLC ioctls from more copies of sanitizers. 2022-12-26 22:22:22 +00:00
fs Use genfs_pathconf for VOP_PATHCONF. 2022-12-11 11:31:55 +00:00
gdbscripts
kern Add new "kern.mbuf.nmbclusters_limit" sysctl. 2022-12-16 08:42:55 +00:00
lib fix clang build 2022-12-01 18:06:09 +00:00
miscfs Harden layered file systems usage of field "mnt_lower" against 2022-12-09 10:33:18 +00:00
modules Create compat_100 module infrastructure now that we have branched 2022-12-19 23:19:51 +00:00
net tap: link up an interface cloned from /dev/tap 2023-01-06 01:54:22 +00:00
net80211 ieee80211_input.c: Fix a few debug messages 2022-11-19 07:57:51 +00:00
netatalk Garbage-collect the remaining vestiges of netisr. 2022-09-03 02:47:59 +00:00
netbt s/Reqest/Request/ and adding apostrophe for don't and didn't in comments. 2022-12-24 22:33:12 +00:00
netcan inpcb: rename functions to inpcb_* 2022-11-04 09:00:58 +00:00
netinet Need larger fat pointers for 128bit cache lines. 2022-12-11 08:09:20 +00:00
netinet6 Fix typo in comment (s/mut be/msut be/). No functional change. 2022-12-22 02:52:35 +00:00
netipsec Fix: sp->lastused should be updated by time_uptime, and refactor a little. 2022-12-08 08:07:07 +00:00
netmpls Convert MPLS from a legacy netisr to pktqueue. 2022-09-03 02:24:59 +00:00
nfs s/reqest/request/ in comment. 2022-12-24 15:37:50 +00:00
opencrypto fix misspellings of 'available' and nearby typos 2022-09-10 12:14:17 +00:00
rump rump: don't touch p_nlwps without holding p_lock 2022-11-02 09:01:42 +00:00
secmodel wg(4): Allow non-root to retrieve information other than the private 2023-01-05 18:29:45 +00:00
stand efiboot: Handle 9.99.100 by taking four, not two, digits. 2022-09-21 14:30:01 +00:00
sys wg(4): Allow non-root to retrieve information other than the private 2023-01-05 18:29:45 +00:00
ufs ufs: fixed signed/unsigned bugs affecting large file systems 2023-01-07 19:41:29 +00:00
uvm Rename pmap_md_pdetab_destroy to pmap_md_pdetab_fini to match 2022-12-21 11:39:45 +00:00
Makefile