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/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/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/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/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/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/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/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/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/ffs

2017-08-20 Thread coypu
On Sun, Aug 20, 2017 at 12:51:39PM +, Maya Rashish wrote: > - panic("%s: dup alloc ino=%" PRId64 " on %s: mode %x/%x " > + panic("%s: dup alloc ino=%" PRId64 " on %s: mode %o/%o " Can I do this in a panic message btw?

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

2016-05-07 Thread Alistair Crooks
pea (Please Expand Acronyms) Thx, agc On 7 May 2016 at 04:59, Maxime Villard wrote: > Module Name:src > Committed By: maxv > Date: Sat May 7 11:59:09 UTC 2016 > > Modified Files: > src/sys/ufs/ffs: ffs_subr.c > > Log Message: > uaf > > > To generate a

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

2015-02-24 Thread David Holland
On Mon, Feb 23, 2015 at 01:38:54PM +, Maxime Villard wrote: Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: Small changes: - instead of always calling DPRINTF with __func__, put __func__ directly in the macro - ffs_mountfs(): rename fsblockloc -

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

2015-02-15 Thread Maxime Villard
Le 14/02/2015 20:21, David Holland a écrit : On Sat, Feb 14, 2015 at 08:07:39AM +, Maxime Villard wrote: Modified Files: src/sys/ufs/ffs: ffs_appleufs.c Log Message: ffs_appleufs_validate(): - remove superfluous printfs - ensure ul_namelen!=0, otherwise the kernel

re: CVS commit: src/sys/ufs/ffs

2015-02-15 Thread matthew green
Also, I think you might want to keep the print when the checksum is wrong. If we keep this print, then we keep a lot of other prints. So we don't keep it. i don't follow. usually these messages are the only real indication of what is actually wrong, and they aren't log spew problems.

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

2015-02-15 Thread Christos Zoulas
In article 26607.1424011...@splode.eterna.com.au, matthew green m...@eterna.com.au wrote: Also, I think you might want to keep the print when the checksum is wrong. If we keep this print, then we keep a lot of other prints. So we don't keep it. i don't follow. usually these messages are

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

2015-02-14 Thread David Holland
On Sat, Feb 14, 2015 at 08:07:39AM +, Maxime Villard wrote: Modified Files: src/sys/ufs/ffs: ffs_appleufs.c Log Message: ffs_appleufs_validate(): - remove superfluous printfs - ensure ul_namelen!=0, otherwise the kernel accesses ul_name[-1] and overwrites the

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

2014-07-11 Thread David Holland
On Thu, Jul 10, 2014 at 11:15:54AM -0400, Christos Zoulas wrote: Modified Files: src/sys/ufs/ffs: ffs_wapbl.c Log Message: CID 975226: hande error from UFS_WAPBL_BEGIN That won't work; AFAICT, if that UFS_WAPBL_BEGIN fails you need to do fs-fs_flags |= FS_DOWAPBL before calling

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

2014-07-11 Thread David Holland
On Fri, Jul 11, 2014 at 12:17:29PM -0400, Christos Zoulas wrote: Modified Files: src/sys/ufs/ffs: ffs_wapbl.c Log Message: move the flag setting higher to avoid KASSERT (dholland) unfortunately... I don't think that's right either. I'm not sure what might happen if it sets the

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

2011-04-23 Thread Erik Fair
On Apr 23, 2011, at 00:36, Juergen Hannken-Illjes wrote: Module Name: src Committed By: hannken Date: Sat Apr 23 07:36:02 UTC 2011 Modified Files: src/sys/ufs/ffs: ffs_balloc.c Log Message: Try to keep snapshot indirect blocks contiguous. This speeds up snapshot

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

2010-08-09 Thread Christoph Egger
Module Name: src Committed By: pooka Date: Mon Aug 9 15:50:13 UTC 2010 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: Return error if we try to mount a file system with block size MAXBSIZE. Note: there is a billion ways to make the kernel panic by trying

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

2010-08-09 Thread Antti Kantee
On Mon Aug 09 2010 at 17:59:08 +0200, Christoph Egger wrote: Tested by compiling sys/rump with CPPFLAGS+=-DMAXPHYS=32768 (all tests in tests/fs still pass). I don't know how we're going to translate this into an easy regression test, though. Maybe with a hacked newfs? No. What you

CVS commit: src/sys/ufs/ffs

2010-02-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Feb 23 20:41:41 UTC 2010 Modified Files: src/sys/ufs/ffs: ffs_wapbl.c Log Message: Replace individual queries for partition information with new helper function. Use this information to query physical sector sizes for WAPBL

CVS commit: src/sys/ufs/ffs

2010-02-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Feb 21 13:55:58 UTC 2010 Modified Files: src/sys/ufs/ffs: ffs_alloc.c Log Message: For the UVM_PAGE_TRKOWN test do not require that the relevant pages must exist. To generate a diff of this commit: cvs rdiff -u -r1.124

CVS commit: src/sys/ufs/ffs

2010-02-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Thu Feb 11 00:06:16 UTC 2010 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: There is no code left that uses disk size data, so don't query it. This also failed when querying the simulated block device from mfs. Fixes

CVS commit: src/sys/ufs/ffs

2010-01-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jan 31 10:50:23 UTC 2010 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: Replace individual queries for partition information with new helper function. To generate a diff of this commit: cvs rdiff -u -r1.254

CVS commit: src/sys/ufs/ffs

2010-01-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jan 31 10:54:10 UTC 2010 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c fs.h Log Message: Fix block shift to work with different device block sizes. Unlike other filesystems this has some side issues because the shift values