CVS commit: src/sys/ufs/ext2fs

2024-03-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Mar 10 17:36:33 UTC 2024 Modified Files: src/sys/ufs/ext2fs: ext2fs_dir.h Log Message: PR/58018: Damir Holovati: ext2fs readdir (d_type conversion error) To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

CVS commit: src/sys/ufs/ext2fs

2024-03-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Mar 10 17:36:33 UTC 2024 Modified Files: src/sys/ufs/ext2fs: ext2fs_dir.h Log Message: PR/58018: Damir Holovati: ext2fs readdir (d_type conversion error) To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

CVS commit: src/sys/ufs/lfs

2024-02-17 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 17 09:08:21 UTC 2024 Modified Files: src/sys/ufs/lfs: ulfs_inode.h Log Message: Whitespace. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/ufs/lfs/ulfs_inode.h Please note that diffs are not

CVS commit: src/sys/ufs/lfs

2024-02-17 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 17 09:08:21 UTC 2024 Modified Files: src/sys/ufs/lfs: ulfs_inode.h Log Message: Whitespace. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/ufs/lfs/ulfs_inode.h Please note that diffs are not

CVS commit: src/sys/ufs/ffs

2023-09-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Sep 8 23:21:55 UTC 2023 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: ffs_sync: Avoid unlocked access to v_numoutput/v_dirtyblkhd. Found by lockdoc. PR kern/57606 To generate a diff of this commit: cvs

CVS commit: src/sys/ufs/ffs

2023-09-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Sep 8 23:21:55 UTC 2023 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: ffs_sync: Avoid unlocked access to v_numoutput/v_dirtyblkhd. Found by lockdoc. PR kern/57606 To generate a diff of this commit: cvs

CVS commit: src/sys/ufs/ext2fs

2023-08-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Aug 27 16:35:51 UTC 2023 Modified Files: src/sys/ufs/ext2fs: ext2fs.h ext2fs_vfsops.c Log Message: - fix cgload/cgsave inconsistencies - add a constant for the rev 0 group descriptor size To generate a diff of this

CVS commit: src/sys/ufs/ext2fs

2023-08-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Aug 27 16:35:51 UTC 2023 Modified Files: src/sys/ufs/ext2fs: ext2fs.h ext2fs_vfsops.c Log Message: - fix cgload/cgsave inconsistencies - add a constant for the rev 0 group descriptor size To generate a diff of this

CVS commit: src/sys/ufs/ext2fs

2023-08-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 26 22:08:22 UTC 2023 Modified Files: src/sys/ufs/ext2fs: ext2fs_alloc.c Log Message: fix incorrect test To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/ufs/ext2fs/ext2fs_alloc.c Please note that

CVS commit: src/sys/ufs/ext2fs

2023-08-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 26 22:08:22 UTC 2023 Modified Files: src/sys/ufs/ext2fs: ext2fs_alloc.c Log Message: fix incorrect test To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/ufs/ext2fs/ext2fs_alloc.c Please note that

CVS commit: src/sys/ufs/ext2fs

2023-08-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 26 21:56:23 UTC 2023 Modified Files: src/sys/ufs/ext2fs: ext2fs_vfsops.c Log Message: fix kmem_free size for e2fs_gd To generate a diff of this commit: cvs rdiff -u -r1.223 -r1.224 src/sys/ufs/ext2fs/ext2fs_vfsops.c

CVS commit: src/sys/ufs/ext2fs

2023-08-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 26 21:56:23 UTC 2023 Modified Files: src/sys/ufs/ext2fs: ext2fs_vfsops.c Log Message: fix kmem_free size for e2fs_gd To generate a diff of this commit: cvs rdiff -u -r1.223 -r1.224 src/sys/ufs/ext2fs/ext2fs_vfsops.c

CVS commit: src/sys/ufs/ext2fs

2023-08-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 26 21:37:28 UTC 2023 Modified Files: src/sys/ufs/ext2fs: ext2fs_alloc.c Log Message: Fix metadata_cksum (Vladimir Serbinenko) Current code always assumes that CG uses crc16. Yet when metadata_cksum is enabled then it

CVS commit: src/sys/ufs/ext2fs

2023-08-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 26 21:37:28 UTC 2023 Modified Files: src/sys/ufs/ext2fs: ext2fs_alloc.c Log Message: Fix metadata_cksum (Vladimir Serbinenko) Current code always assumes that CG uses crc16. Yet when metadata_cksum is enabled then it

CVS commit: src/sys/ufs/ext2fs

2023-08-25 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 26 05:22:50 UTC 2023 Modified Files: src/sys/ufs/ext2fs: ext2fs.h ext2fs_alloc.c ext2fs_bmap.c ext2fs_bswap.c ext2fs_extents.h ext2fs_extern.h ext2fs_htree.c ext2fs_inode.c ext2fs_lookup.c

CVS commit: src/sys/ufs/ext2fs

2023-08-25 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 26 05:22:50 UTC 2023 Modified Files: src/sys/ufs/ext2fs: ext2fs.h ext2fs_alloc.c ext2fs_bmap.c ext2fs_bswap.c ext2fs_extents.h ext2fs_extern.h ext2fs_htree.c ext2fs_inode.c ext2fs_lookup.c

CVS commit: src/sys/ufs/ext2fs

2023-08-25 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 26 05:18:17 UTC 2023 Modified Files: src/sys/ufs/ext2fs: ext2fs.h Log Message: ext2fs.h: Restore e2fs_cgload/cgsave for libsa and userland use. Stop-gap until they can be taught to handle the new version that was

CVS commit: src/sys/ufs/ext2fs

2023-08-25 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 26 05:18:17 UTC 2023 Modified Files: src/sys/ufs/ext2fs: ext2fs.h Log Message: ext2fs.h: Restore e2fs_cgload/cgsave for libsa and userland use. Stop-gap until they can be taught to handle the new version that was

CVS commit: src/sys/ufs/ext2fs

2023-08-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Aug 25 16:50:23 UTC 2023 Modified Files: src/sys/ufs/ext2fs: ext2fs.h ext2fs_alloc.c ext2fs_vfsops.c Log Message: Support INCOMPAT_64BIT on ext4 (Vladimir 'phcoder' Serbinenko) To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/ufs/ext2fs

2023-08-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Aug 25 16:50:23 UTC 2023 Modified Files: src/sys/ufs/ext2fs: ext2fs.h ext2fs_alloc.c ext2fs_vfsops.c Log Message: Support INCOMPAT_64BIT on ext4 (Vladimir 'phcoder' Serbinenko) To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/ufs

2023-08-24 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Thu Aug 24 14:56:03 UTC 2023 Modified Files: src/sys/ufs/lfs: ulfs_quota2_subr.c src/sys/ufs/ufs: quota2_subr.c Log Message: s/defaut/default/ in comments. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/ufs

2023-08-24 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Thu Aug 24 14:56:03 UTC 2023 Modified Files: src/sys/ufs/lfs: ulfs_quota2_subr.c src/sys/ufs/ufs: quota2_subr.c Log Message: s/defaut/default/ in comments. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/ufs/ffs

2023-06-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jun 5 04:59:46 UTC 2023 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: Make DEBUG_FFS_MOUNT compile again (with 64-bit ino_t). To generate a diff of this commit: cvs rdiff -u -r1.379 -r1.380

CVS commit: src/sys/ufs/ffs

2023-06-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jun 5 04:59:46 UTC 2023 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: Make DEBUG_FFS_MOUNT compile again (with 64-bit ino_t). To generate a diff of this commit: cvs rdiff -u -r1.379 -r1.380

CVS commit: src/sys/ufs/ffs

2023-05-11 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Thu May 11 23:11:25 UTC 2023 Modified Files: src/sys/ufs/ffs: ffs_snapshot.c Log Message: ffs: apply the remaining ffs_snapshot.c part of this FreeBSD commit: commit 364ed814e7285c8216d8a201d3ab3674eb34ce29 Author: Kirk

CVS commit: src/sys/ufs/ffs

2023-05-11 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Thu May 11 23:11:25 UTC 2023 Modified Files: src/sys/ufs/ffs: ffs_snapshot.c Log Message: ffs: apply the remaining ffs_snapshot.c part of this FreeBSD commit: commit 364ed814e7285c8216d8a201d3ab3674eb34ce29 Author: Kirk

CVS commit: src/sys/ufs/lfs

2023-04-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Apr 11 14:50:47 UTC 2023 Modified Files: src/sys/ufs/lfs: lfs_pages.c Log Message: lfs: Assert page identity doesn't change. Forgot what I was debugging when I inserted a relookup in my local tree months or years ago, but

CVS commit: src/sys/ufs/lfs

2023-04-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Apr 11 14:50:47 UTC 2023 Modified Files: src/sys/ufs/lfs: lfs_pages.c Log Message: lfs: Assert page identity doesn't change. Forgot what I was debugging when I inserted a relookup in my local tree months or years ago, but

CVS commit: src/sys/ufs/ufs

2023-02-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Feb 22 21:49:45 UTC 2023 Modified Files: src/sys/ufs/ufs: quota1_subr.c quota2.h quota2_subr.c ufs_acl.c ufs_extattr.c ufs_lookup.c ufs_quota.c ufs_quota1.c ufs_quota2.c ufs_vfsops.c Log Message:

CVS commit: src/sys/ufs/ufs

2023-02-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Feb 22 21:49:45 UTC 2023 Modified Files: src/sys/ufs/ufs: quota1_subr.c quota2.h quota2_subr.c ufs_acl.c ufs_extattr.c ufs_lookup.c ufs_quota.c ufs_quota1.c ufs_quota2.c ufs_vfsops.c Log Message:

CVS commit: src/sys/ufs/ufs

2023-01-30 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Jan 30 13:45:26 UTC 2023 Modified Files: src/sys/ufs/ufs: README.acls Log Message: s/isses/issues/ To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/ufs/ufs/README.acls Please note that diffs are not

CVS commit: src/sys/ufs/ufs

2023-01-30 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Jan 30 13:45:26 UTC 2023 Modified Files: src/sys/ufs/ufs: README.acls Log Message: s/isses/issues/ To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/ufs/ufs/README.acls Please note that diffs are not

CVS commit: src/sys/ufs/ffs

2022-12-21 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Dec 21 18:58:25 UTC 2022 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: ffs: fail mounts requesting ACLs for non-ea UFS2 file systems For non-ea UFS2 file system, fail mounts that request ACLs rather than letting

CVS commit: src/sys/ufs/ffs

2022-12-21 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Wed Dec 21 18:58:25 UTC 2022 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: ffs: fail mounts requesting ACLs for non-ea UFS2 file systems For non-ea UFS2 file system, fail mounts that request ACLs rather than letting

CVS commit: src/sys/ufs

2022-11-27 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Nov 28 04:52:04 UTC 2022 Modified Files: src/sys/ufs: files.ufs src/sys/ufs/ffs: ffs_extattr.c ffs_extern.h Log Message: the UFS_EXTATTR option was supposed to affect only UFS1 file systems, but when the UFS2 extattr

CVS commit: src/sys/ufs

2022-11-27 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Nov 28 04:52:04 UTC 2022 Modified Files: src/sys/ufs: files.ufs src/sys/ufs/ffs: ffs_extattr.c ffs_extern.h Log Message: the UFS_EXTATTR option was supposed to affect only UFS1 file systems, but when the UFS2 extattr

CVS commit: src/sys/ufs/ffs

2022-11-10 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Nov 10 10:53:29 UTC 2022 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: Some changes to "fs->fs_fmod" and "fs->fs_clean": - clear "fs->fs_fmod" after reading the super block. - assert we don't write a super block

CVS commit: src/sys/ufs/ffs

2022-11-10 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Nov 10 10:53:29 UTC 2022 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: Some changes to "fs->fs_fmod" and "fs->fs_clean": - clear "fs->fs_fmod" after reading the super block. - assert we don't write a super block

CVS commit: src/sys/ufs

2022-08-06 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sun Aug 7 02:33:47 UTC 2022 Modified Files: src/sys/ufs/lfs: ulfs_dirhash.c src/sys/ufs/ufs: ufs_dirhash.c Log Message: If UFS or LFS dirhash is enabled in the kernel, set the dirhash cache size dependant on memory size.

CVS commit: src/sys/ufs

2022-08-06 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sun Aug 7 02:33:47 UTC 2022 Modified Files: src/sys/ufs/lfs: ulfs_dirhash.c src/sys/ufs/ufs: ufs_dirhash.c Log Message: If UFS or LFS dirhash is enabled in the kernel, set the dirhash cache size dependant on memory size.

CVS commit: src/sys/ufs/ffs

2022-05-13 Thread Reinoud Zandijk
Module Name:src Committed By: reinoud Date: Fri May 13 15:02:34 UTC 2022 Modified Files: src/sys/ufs/ffs: ffs_wapbl.c Log Message: Fix typo dallocate -> deallocate To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/ufs/ffs/ffs_wapbl.c Please note

CVS commit: src/sys/ufs/ffs

2022-05-13 Thread Reinoud Zandijk
Module Name:src Committed By: reinoud Date: Fri May 13 15:02:34 UTC 2022 Modified Files: src/sys/ufs/ffs: ffs_wapbl.c Log Message: Fix typo dallocate -> deallocate To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/ufs/ffs/ffs_wapbl.c Please note

CVS commit: src/sys/ufs/ext2fs

2022-05-04 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Wed May 4 07:34:29 UTC 2022 Modified Files: src/sys/ufs/ext2fs: ext2fs_htree.c Log Message: s/entires/entries/ in local variable definition. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sys/ufs/ext2fs

2022-05-04 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Wed May 4 07:34:29 UTC 2022 Modified Files: src/sys/ufs/ext2fs: ext2fs_htree.c Log Message: s/entires/entries/ in local variable definition. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sys/ufs/ufs

2022-04-26 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Apr 26 15:37:25 UTC 2022 Modified Files: src/sys/ufs/ufs: ufs_quota1.c Log Message: Keep flag "UFS_QUOTA" set until the last quota is closed. Prevents a live lock when dqrele() finds a struct with "dq_cnt == 1" and flag

CVS commit: src/sys/ufs/ufs

2022-04-26 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Apr 26 15:37:25 UTC 2022 Modified Files: src/sys/ufs/ufs: ufs_quota1.c Log Message: Keep flag "UFS_QUOTA" set until the last quota is closed. Prevents a live lock when dqrele() finds a struct with "dq_cnt == 1" and flag

CVS commit: src/sys/ufs/lfs

2022-04-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 24 20:32:44 UTC 2022 Modified Files: src/sys/ufs/lfs: lfs_accessors.h Log Message: lfs: fix lint warning about empty declaration To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51

CVS commit: src/sys/ufs/lfs

2022-04-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 24 20:32:44 UTC 2022 Modified Files: src/sys/ufs/lfs: lfs_accessors.h Log Message: lfs: fix lint warning about empty declaration To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51

CVS commit: src/sys/ufs/ffs

2022-04-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Apr 16 08:00:55 UTC 2022 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: Unlock vnode for VOP_IOCTL() and wapbl_flush(). To generate a diff of this commit: cvs rdiff -u -r1.375 -r1.376

CVS commit: src/sys/ufs/ffs

2022-04-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Apr 16 08:00:55 UTC 2022 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: Unlock vnode for VOP_IOCTL() and wapbl_flush(). To generate a diff of this commit: cvs rdiff -u -r1.375 -r1.376

CVS commit: src/sys/ufs/ffs

2022-04-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Apr 16 07:59:46 UTC 2022 Modified Files: src/sys/ufs/ffs: ffs_snapshot.c Log Message: Take the link count from the inode. To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154 src/sys/ufs/ffs/ffs_snapshot.c

CVS commit: src/sys/ufs/ffs

2022-04-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Apr 16 07:59:46 UTC 2022 Modified Files: src/sys/ufs/ffs: ffs_snapshot.c Log Message: Take the link count from the inode. To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154 src/sys/ufs/ffs/ffs_snapshot.c

CVS commit: src/sys/ufs/mfs

2022-03-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Mar 19 13:48:42 UTC 2022 Modified Files: src/sys/ufs/mfs: mfs_vfsops.c mfs_vnops.c Log Message: Switch MFS device node to real vnode locking, VV_LOCKSWORK now. To generate a diff of this commit: cvs rdiff -u -r1.114

CVS commit: src/sys/ufs/mfs

2022-03-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Mar 19 13:48:42 UTC 2022 Modified Files: src/sys/ufs/mfs: mfs_vfsops.c mfs_vnops.c Log Message: Switch MFS device node to real vnode locking, VV_LOCKSWORK now. To generate a diff of this commit: cvs rdiff -u -r1.114

CVS commit: src/sys/ufs/ffs

2022-03-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Mar 12 15:36:53 UTC 2022 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: ffs: Fix 64-bit inode integer truncation. Reported-by: syzbot+1ae93e092d532582b...@syzkaller.appspotmail.com To generate a diff of this

CVS commit: src/sys/ufs/ffs

2022-03-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Mar 12 15:36:53 UTC 2022 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: ffs: Fix 64-bit inode integer truncation. Reported-by: syzbot+1ae93e092d532582b...@syzkaller.appspotmail.com To generate a diff of this

CVS commit: src/sys/ufs/ufs

2022-02-21 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Feb 21 17:07:45 UTC 2022 Modified Files: src/sys/ufs/ufs: ufs_readwrite.c Log Message: Fix wrong assertion, the negatiopn of "a && b" is "!a || !b" so we need "DIP(ip, blocks) != 0" here. Should fix PR kern/56725 (Panic

CVS commit: src/sys/ufs/ufs

2022-02-21 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Feb 21 17:07:45 UTC 2022 Modified Files: src/sys/ufs/ufs: ufs_readwrite.c Log Message: Fix wrong assertion, the negatiopn of "a && b" is "!a || !b" so we need "DIP(ip, blocks) != 0" here. Should fix PR kern/56725 (Panic

CVS commit: src/sys/ufs/ffs

2021-12-14 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Dec 14 11:06:50 UTC 2021 Modified Files: src/sys/ufs/ffs: ffs_extattr.c Log Message: ffs: fix the creation of device nodes on file systems with ACLs enabled. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/sys/ufs/ffs

2021-12-14 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Dec 14 11:06:50 UTC 2021 Modified Files: src/sys/ufs/ffs: ffs_extattr.c Log Message: ffs: fix the creation of device nodes on file systems with ACLs enabled. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/sys/ufs/ffs

2021-12-14 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Dec 14 11:06:12 UTC 2021 Modified Files: src/sys/ufs/ffs: ffs_vnops.c Log Message: ffs: support extattrs (and thus ACLs) on fifos. To generate a diff of this commit: cvs rdiff -u -r1.137 -r1.138 src/sys/ufs/ffs/ffs_vnops.c

CVS commit: src/sys/ufs/ffs

2021-12-14 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Dec 14 11:06:12 UTC 2021 Modified Files: src/sys/ufs/ffs: ffs_vnops.c Log Message: ffs: support extattrs (and thus ACLs) on fifos. To generate a diff of this commit: cvs rdiff -u -r1.137 -r1.138 src/sys/ufs/ffs/ffs_vnops.c

CVS commit: src/sys/ufs/ufs

2021-11-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Nov 26 17:35:12 UTC 2021 Modified Files: src/sys/ufs/ufs: ufs_acl.c ufs_vnops.c Log Message: use MNT_NFS4ACLS instead of MNT_ACLS (which was changed before to mean MNT_POSIX1EACLS) To generate a diff of this commit: cvs

CVS commit: src/sys/ufs/ufs

2021-11-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Nov 26 17:35:12 UTC 2021 Modified Files: src/sys/ufs/ufs: ufs_acl.c ufs_vnops.c Log Message: use MNT_NFS4ACLS instead of MNT_ACLS (which was changed before to mean MNT_POSIX1EACLS) To generate a diff of this commit: cvs

CVS commit: src/sys/ufs/ufs

2021-10-10 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Oct 10 23:02:10 UTC 2021 Modified Files: src/sys/ufs/ufs: ufs_acl.c Log Message: Use VN_KNOTE() to send our NOTE_ATTRIB and NOTE_REVOKE events. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/ufs/ufs

2021-10-10 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Oct 10 23:02:10 UTC 2021 Modified Files: src/sys/ufs/ufs: ufs_acl.c Log Message: Use VN_KNOTE() to send our NOTE_ATTRIB and NOTE_REVOKE events. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

Re: CVS commit: src/sys/ufs/ufs

2020-03-11 Thread Maxime Villard
Le 27/02/2020 à 01:36, Simon Burge a écrit : > "Maxime Villard" wrote: > >> Module Name: src >> Committed By:maxv >> Date:Wed Feb 26 18:00:12 UTC 2020 >> >> Modified Files: >> >> src/sys/ufs/ufs: ufs_vnops.c >> >> Log Message: >> >> Zero out the padding in 'd_namlen',

Re: CVS commit: src/sys/ufs/ufs

2020-02-26 Thread Simon Burge
"Maxime Villard" wrote: > Module Name: src > Committed By: maxv > Date: Wed Feb 26 18:00:12 UTC 2020 > > Modified Files: > > src/sys/ufs/ufs: ufs_vnops.c > > Log Message: > > Zero out the padding in 'd_namlen', to prevent info leaks. Same logic as > ufs_makedirentry(). Is it

CVS commit: src/sys/ufs/chfs

2019-09-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Sep 18 18:46:00 UTC 2019 Modified Files: src/sys/ufs/chfs: chfs_vnode.c Log Message: fix compilation To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/ufs/chfs/chfs_vnode.c Please note that diffs are

CVS commit: src/sys/ufs/chfs

2019-09-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Sep 18 18:46:00 UTC 2019 Modified Files: src/sys/ufs/chfs: chfs_vnode.c Log Message: fix compilation To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/ufs/chfs/chfs_vnode.c Please note that diffs are

CVS commit: src/sys/ufs/ufs

2019-08-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 19 14:09:12 UTC 2019 Modified Files: src/sys/ufs/ufs: ufs_extattr.c Log Message: - KNF more - print the full path in error messages To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

CVS commit: src/sys/ufs/ufs

2019-08-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 19 14:09:12 UTC 2019 Modified Files: src/sys/ufs/ufs: ufs_extattr.c Log Message: - KNF more - print the full path in error messages To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

CVS commit: src/sys/ufs/ufs

2019-08-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 19 09:30:30 UTC 2019 Modified Files: src/sys/ufs/ufs: ufs_extattr.c Log Message: - return (foo) -> return foo - normalize all error messages to use __func__ - add more messages for startup failure (should perhaps

CVS commit: src/sys/ufs/ufs

2019-08-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 19 09:30:30 UTC 2019 Modified Files: src/sys/ufs/ufs: ufs_extattr.c Log Message: - return (foo) -> return foo - normalize all error messages to use __func__ - add more messages for startup failure (should perhaps

CVS commit: src/sys/ufs/ufs

2019-06-30 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Jul 1 00:57:06 UTC 2019 Modified Files: src/sys/ufs/ufs: ufs_vnops.c Log Message: Lay down some comments related to the previous few revisions of ufs_vnops.c. To generate a diff of this commit: cvs rdiff -u -r1.246

CVS commit: src/sys/ufs/ufs

2019-06-30 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Jul 1 00:57:06 UTC 2019 Modified Files: src/sys/ufs/ufs: ufs_vnops.c Log Message: Lay down some comments related to the previous few revisions of ufs_vnops.c. To generate a diff of this commit: cvs rdiff -u -r1.246

CVS commit: src/sys/ufs/ufs

2019-06-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jun 20 00:52:05 UTC 2019 Modified Files: src/sys/ufs/ufs: ufs_readwrite.c Log Message: unifdef -ULFS_READWRITE ufs_readwrite.c To generate a diff of this commit: cvs rdiff -u -r1.123 -r1.124

CVS commit: src/sys/ufs/ufs

2019-06-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jun 20 00:52:05 UTC 2019 Modified Files: src/sys/ufs/ufs: ufs_readwrite.c Log Message: unifdef -ULFS_READWRITE ufs_readwrite.c To generate a diff of this commit: cvs rdiff -u -r1.123 -r1.124

CVS commit: src/sys/ufs/lfs

2019-06-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jun 20 00:49:12 UTC 2019 Modified Files: src/sys/ufs/lfs: lfs_vnops.c ulfs_readwrite.c Log Message: unifdef -DLFS_READWRITE ulfs_readwrite.c To generate a diff of this commit: cvs rdiff -u -r1.323 -r1.324

CVS commit: src/sys/ufs/lfs

2019-06-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jun 20 00:49:12 UTC 2019 Modified Files: src/sys/ufs/lfs: lfs_vnops.c ulfs_readwrite.c Log Message: unifdef -DLFS_READWRITE ulfs_readwrite.c To generate a diff of this commit: cvs rdiff -u -r1.323 -r1.324

CVS commit: src/sys/ufs/chfs

2019-06-17 Thread Ryo ONODERA
Module Name:src Committed By: ryoon Date: Mon Jun 17 17:14:56 UTC 2019 Modified Files: src/sys/ufs/chfs: chfs_malloc.c chfs_pool.c chfs_scan.c chfs_vnops.c Log Message: Fix build without DIAGNOSTIC To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/sys/ufs/chfs

2019-06-17 Thread Ryo ONODERA
Module Name:src Committed By: ryoon Date: Mon Jun 17 17:14:56 UTC 2019 Modified Files: src/sys/ufs/chfs: chfs_malloc.c chfs_pool.c chfs_scan.c chfs_vnops.c Log Message: Fix build without DIAGNOSTIC To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

Re: CVS commit: src/sys/ufs

2019-06-17 Thread Paul Goyette
On Sun, 16 Jun 2019, Christos Zoulas wrote: No, there is still an issue. The change adds those files in the kernel when there are no filesystems present. Otherwise I just built a MODULAR kernel with FFS disabled and I get: Don't you get the same? Or don't you have quotas or extended attributes

Re: CVS commit: src/sys/ufs

2019-06-16 Thread Christos Zoulas
I did not rearrange where things live (or I don't understand what you mean by that). I just uncommented the no filesystem FFS from MODULAR, and tried to compile. Does it compile for you without my changes? christos > On Jun 16, 2019, at 8:10 PM, Paul Goyette wrote: > >

CVS commit: src/sys/ufs

2019-06-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 17 03:32:58 UTC 2019 Modified Files: src/sys/ufs: files.ufs Log Message: Don't include any of the ufs code if all the dependent filesystems are missing. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45

CVS commit: src/sys/ufs

2019-06-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 17 03:32:58 UTC 2019 Modified Files: src/sys/ufs: files.ufs Log Message: Don't include any of the ufs code if all the dependent filesystems are missing. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45

Re: CVS commit: src/sys/ufs

2019-06-16 Thread Christos Zoulas
No, there is still an issue. The change adds those files in the kernel when there are no filesystems present. Otherwise I just built a MODULAR kernel with FFS disabled and I get: Don't you get the same? Or don't you have quotas or extended attributes on in your kernel? christos ld:

Re: CVS commit: src/sys/ufs

2019-06-16 Thread Paul Goyette
On Sun, 16 Jun 2019, Paul Goyette wrote: If I'm understanding your changes correctly, a kernel will have a copy of ufs_quota.c built-in, whether or not the ffs code is built-in. So if you have a kernel with no ffs, that kernel will still have the quota code, and loading the ffs module will

Re: CVS commit: src/sys/ufs

2019-06-16 Thread Paul Goyette
On Sun, 16 Jun 2019, Christos Zoulas wrote: I did not rearrange where things live (or I don't understand what you mean by that). I just uncommented the no filesystem FFS from MODULAR, and tried to compile. The various sys/modules/*/Makefiles also specifically include the same files in the

Re: CVS commit: src/sys/ufs

2019-06-16 Thread Paul Goyette
On Sun, 16 Jun 2019, Paul Goyette wrote: Hmmm, I wonder why this is needed? I have NO built-in filesystems in my custom kernel, and it has not had any linkage problems in many years. # modstat | grep vfs ffs vfs boot -0 - wapbl kernfs vfs

Re: CVS commit: src/sys/ufs

2019-06-16 Thread Paul Goyette
Hmmm, I wonder why this is needed? I have NO built-in filesystems in my custom kernel, and it has not had any linkage problems in many years. # modstat | grep vfs ffs vfs boot -0 - wapbl kernfs vfs filesys a0 - - null

CVS commit: src/sys/ufs

2019-06-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jun 16 22:43:33 UTC 2019 Modified Files: src/sys/ufs: files.ufs Log Message: Include the fs scaffolding when none of the ffs/mfs/ext2fs/chfs is included so a MODULAR kernel links. To generate a diff of this commit: cvs

CVS commit: src/sys/ufs

2019-06-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jun 16 22:43:33 UTC 2019 Modified Files: src/sys/ufs: files.ufs Log Message: Include the fs scaffolding when none of the ffs/mfs/ext2fs/chfs is included so a MODULAR kernel links. To generate a diff of this commit: cvs

CVS commit: src/sys/ufs/ffs

2019-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 03:53:29 UTC 2019 Modified Files: src/sys/ufs/ffs: ffs_subr.c Log Message: Avoid unportable shift base -1 in ffs_subr.c Cast the start variable before the modulo opration to unsigned int. Detected with kUBSan. To

CVS commit: src/sys/ufs/ffs

2019-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 03:53:29 UTC 2019 Modified Files: src/sys/ufs/ffs: ffs_subr.c Log Message: Avoid unportable shift base -1 in ffs_subr.c Cast the start variable before the modulo opration to unsigned int. Detected with kUBSan. To

Re: CVS commit: src/sys/ufs/ufs

2019-02-24 Thread Michael van Elst
On Sun, Feb 24, 2019 at 10:13:40PM +0100, Tobias Nygren wrote: > On Sun, 24 Feb 2019 19:06:40 + > Michael van Elst wrote: > > > To generate a diff of this commit: > > cvs rdiff -u -r1.242 -r1.243 src/sys/ufs/ufs/ufs_vnops.c > > > + rawbuf -= dropend; > > I guess this should be

Re: CVS commit: src/sys/ufs/ufs

2019-02-24 Thread David Holland
On Mon, Feb 25, 2019 at 06:07:23AM +, David Holland wrote: > that one doesn't set dropend correctly for small buffers, outsmarted > myself while writing it. Better change (still against 1.242) that makes the logic much simpler. Will test this overnight... Index: ufs_vnops.c

Re: CVS commit: src/sys/ufs/ufs

2019-02-24 Thread David Holland
On Mon, Feb 25, 2019 at 05:50:08AM +, David Holland wrote: > Furthermore, this: > > > + rawbuf -= dropend; > > is entirely wrong (it needs to be "rawbufmax") and without that bound > on rawbufmax the code is unsafe... I repaired this bit just now, so it's not an overt hazard

Re: CVS commit: src/sys/ufs/ufs

2019-02-24 Thread David Holland
On Sun, Feb 24, 2019 at 07:51:24PM -0500, Christos Zoulas wrote: > Module Name: src > Committed By:christos > Date:Mon Feb 25 00:51:24 UTC 2019 > > Modified Files: > src/sys/ufs/ufs: ufs_vnops.c > > Log Message: > drop unused dropping this logic is wrong...

Re: CVS commit: src/sys/ufs/ufs

2019-02-24 Thread Tobias Nygren
On Sun, 24 Feb 2019 19:06:40 + Michael van Elst wrote: > To generate a diff of this commit: > cvs rdiff -u -r1.242 -r1.243 src/sys/ufs/ufs/ufs_vnops.c > + rawbuf -= dropend; I guess this should be rawbufmax, not rawbuf.

  1   2   >