Commit Graph

2047 Commits

Author SHA1 Message Date
andvar a10c2cec39 fix various typos in comments and log messages. 2024-02-10 09:21:51 +00:00
andvar 100a3398b8 fix spelling mistakes, mainly in comments and log messages. 2024-02-09 22:08:30 +00:00
andvar d378954346 fix misplaced or missing "e" in words with "ment" ending (argument, implement,
increment, decrement, alignment), in comments, documentation, log messages.
2024-02-08 20:51:24 +00:00
andvar 82bba4e936 fix various typos in comments. 2024-02-05 21:46:04 +00:00
andvar d30e897588 s/dependancies/dependencies/ and s/independantly/independently/ in comments and
distrib notes.
2024-02-05 21:39:51 +00:00
andvar 31d79895e7 s/substract/subtract/ in comments. 2024-02-04 20:50:29 +00:00
christos 6e35a94774 PR/57904: Ricardo Branco: Mask file permissions we get from mount_ntfs
-m option
2024-02-04 00:16:59 +00:00
christos 9e78e8ed10 add checks for id and mask in the update case (thanks hannken) 2024-02-03 22:39:27 +00:00
christos 9a6382137c need the new args pointer... 2024-02-03 18:45:50 +00:00
christos 7af7a24f1d fix MNT_UPDATE (thanks hannken) 2024-02-03 18:44:43 +00:00
christos 05b1f2f8e3 Provide backwards compatibility (pointed out by hannken) 2024-02-03 17:38:22 +00:00
hannken 4522ab1c02 cd9660_mountroot: must initialize new args "fmask" and "dmask". 2024-02-03 15:26:35 +00:00
christos f7beae8822 PR/57897: Ricardo Branco: Add support for mount options mask,dirmask,uid,gid 2024-02-02 20:27:26 +00:00
mrg 8c535c2666 fix the previous to not fail to include the extension in lookups.
copy deExtension into the final 3 bytes.  previously, this was found
by having them next to each other in the containing structure, but as
separate strings.

thanks to miod for pointing this out.
2023-08-18 21:05:44 +00:00
mrg cf6ce93972 when calling a function that needs more bytes than we have, create a
stack variable long enough and use that instead.

found by GCC 12.
2023-08-14 05:41:09 +00:00
mrg dd6a50589e avoid uninitialised variable usage in early error paths.
found by GCC 12.
2023-08-11 05:51:34 +00:00
reinoud 040768683f Convert UDF file system code from the depricated tsleep(9)/wakeup(9) to the MP
friendly condvar(9). No functional change intended.
2023-06-27 09:58:50 +00:00
msaitoh 4e7cd69809 Fix typo. unknwon -> unknown 2023-06-19 08:40:29 +00:00
andvar ff4253031e s/curent/current/ in comment. 2023-06-16 19:40:46 +00:00
andvar 11688feb47 fix various typos in comments and messages. 2023-06-03 20:41:44 +00:00
andvar cb40c69b16 follow the steps of Andrew Doran (ad) commit and fix more s/loose/lose/ typos.
also s/beyound/beyond/ and few others along the way, mainly in comments.
2023-06-02 08:51:46 +00:00
andvar a2dd66b846 s/Resture/Restore/ and s/restared/restarted/ in comments. 2023-05-28 08:21:24 +00:00
tkusumi d24b947ae2 sys/fs/autofs: Remove unused APRINTF macro
Remove a debug print macro (originates from DragonFly autofs)
I had intentionally kept at the time.
2023-05-17 06:44:38 +00:00
riastradh 9fc4d1f3de tmpfs: Assert no arithmetic overflow in directory node tn_size.
Need >2^57 directory entries before this is a problem.  If we created
a million per second, this would take over 4000 years.
2023-04-29 08:15:13 +00:00
riastradh 08655e8aab tmpfs: Refuse sizes that overflow round_page.
Reported-by: syzbot+8dbeee84de15f86df65b@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?id=4a27b9fe074f8d4b0afbe22969339b8dfdb157e8
2023-04-29 08:13:27 +00:00
riastradh fc536c0710 tmpfs: Nix trailing whitespace. No functional change intended. 2023-04-29 06:29:55 +00:00
andvar a002c830eb fix few typos and grammar in comments. 2023-04-28 22:31:38 +00:00
gutteridge 6c0defe27f Fix typos: s/trough/through/ 2023-04-03 18:03:23 +00:00
riastradh 6ecb13cd73 fs/hfs: Avoid undefined pointer arith in hfslib_reada_node_offsets.
XXX pullup-8
XXX pullup-9
XXX pullup-10
2023-03-01 16:21:26 +00:00
riastradh f9833f6744 fs/hfs: Avoid buffer overrun in hfslib_reada_node_offsets.
XXX pullup-8
XXX pullup-9
XXX pullup-10
2023-03-01 16:21:14 +00:00
andvar d28dbf165f s/chacters/characters/ in comments. 2023-02-13 23:14:21 +00:00
hannken af759f0217 When mounting a union file system set its lower mount only on success.
Reported-by: syzbot+b81b69971581b4f4db00@syzkaller.appspotmail.com
2023-02-13 08:39:40 +00:00
hannken daf1598ec9 Set IMNT_MPSAFE only if all lower layers have it set. 2023-02-06 10:33:32 +00:00
reinoud b17c955ea6 Remove old prototypes from writing that shouldn't have been comitted at all! 2023-01-29 16:07:14 +00:00
mlelstv c9f523c85d Use genfs_pathconf for VOP_PATHCONF.
Fixes bin/57103.
2022-12-11 11:31:55 +00:00
hannken db9cd5dd3e When testing whiteout support on the underlying file system
union_mount() should not use a NULL componentname as not all
file systems can handle it.

Use static { LOOKUP, NOCRED } componentname instead.

Reported-by: syzbot+ecda308a1dd9652836d0@syzkaller.appspotmail.com
Reported-by: syzbot+9b687847ee5f43e94ca3@syzkaller.appspotmail.com
Reported-by: syzbot+9f9d1a841734f9f50de2@syzkaller.appspotmail.com
2022-11-21 10:37:14 +00:00
hannken aac0938bfe Tmpfs_mount() uses tmpfs_unmount() for cleanup if set_statvfs_info() fails.
This will not work as tmpfs_unmount() needs a suspended file system.

Just call set_statvfs_info() before allocating the root vnode and add
and use a common error exit label.

Reported-by: syzbot+343f2bfea65a32ab4222@syzkaller.appspotmail.com
2022-11-10 10:54:14 +00:00
hannken cfe3f2c399 Add a helper to set or clear lower mount and use it.
Always add a reference to the lower mount.

Ride 9.99.105
2022-11-04 11:20:39 +00:00
andvar 8a36802c94 fix various typos in comments and one output message. 2022-10-31 21:22:05 +00:00
andvar cb6bcd2377 fix few typos in comments. 2022-10-07 22:33:42 +00:00
andvar 905d788ebc s/alpahbetics/alphabetics/ in comment. 2022-10-07 19:56:31 +00:00
christos d3a3196815 kmem_alloc -> kmem_zalloc, thanks Rin. 2022-09-12 13:11:41 +00:00
christos a8108a81cb catch up; make this compile again. 2022-09-11 16:42:07 +00:00
christos ae87d18f98 - avoid another credential leak on error from Chris J-D
(chris at accessvector dot net)
- KNF
- use kmem
2022-09-11 15:42:29 +00:00
skrll d7a2a8f322 Spell approximately correctly. 2022-08-27 05:32:41 +00:00
skrll 4553c2393c Trailing whitespace 2022-08-27 05:31:59 +00:00
andvar 5a58ccfbec fix various typos in comments, documentation and messages.
mainly s/paramater/parameter/ and s/reduntant/redundant/.
2022-08-07 11:06:18 +00:00
andvar 6478b40555 s/blity/bility/ in various words, mainly in comments. 2022-08-06 18:26:41 +00:00
riastradh bd3b975119 ptyfs: Don't copy out cookies past end of buffer.
Reported-by: syzbot+2aae7c4eddc796f917e6@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?id=5fe24c1da952ac2ea498d745d6479bc6be91a751
2022-08-05 10:36:02 +00:00
mlelstv 6eb0866937 Don't panic for a negative offset, just fail the operation with EINVAL. 2022-07-31 13:08:18 +00:00