Commit Graph
6 Commits
Author SHA1 Message Date
Nathan Patrizi d3f0a24569 strace: Fix handling of statMask when building stat string
Fix a crash caused by decoding stat arguments when the statMask is
only B_STAT_MODE or all 0.

Change-Id: Ic57c5494fbf4d20605955d3cc4c21f96e380fab1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10283
Reviewed-by: waddlesplash <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
2026-01-28 11:42:30 +00:00
Nathan Patrizi e9c469fd70 kernel/fs: Fix handling of fs that don't support SEEK_DATA/SEEK_HOLE or select
* Fix seek calls of types SEEK_DATA and SEEK_HOLE for filesystems that
return B_UNSUPPORTED so that the fallback stat() based method is used
in those cases.

* Fix select call handling for filesystems that return B_UNSUPPORTED
by immediately notifying the select event (as would happen if the fs did
not support select at all).

Fixes #19251

Change-Id: I6a861499365f2abd62c2f7a74107dd4a7c1b44a0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10245
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-01-22 16:07:54 +00:00
Nathan Patrizi 6f8c212378 Kernel: Fix write overlay handling of existing directories
* Write overlay will check if a directory being created already
  exists. This fixes an issue where creating a directory that already
  exists and is empty would remove and recreate it
  instead of returning a directory exists error.
* Check if file exists when creating with O_EXCL and VFS did not catch it.
* Add check to Open() to check and fail correctly if we are opening a
  non-directory with O_DIRECTORY. Fixes error when trying to copy/move a
  file over another (with cp/mv).
* Correctly return file exists when creating a symlink that already
  exists.

Fixes #19640

Change-Id: I82f65d06db0f2ba3cd8facbf7114af60d6987a95
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10172
Reviewed-by: waddlesplash <[email protected]>
2026-01-02 22:47:12 +00:00
Nathan Patrizi 0ce28c177c Tracker: Item view shows number of selected items
Fixes #18811

Change-Id: I4e9abbbf58ec693f0af9b136d973603fa437cdfd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10048
Reviewed-by: waddlesplash <[email protected]>
2025-12-15 16:01:35 +00:00
Nathan Patrizi 4b6432d831 Kernel: Add hrev after kernel debugger welcome
Fixes #19299

Change-Id: I4058537977f2caef80676a12e51575ce6dfb6fac
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10034
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-12-02 15:12:14 +00:00
Nathan Patrizi 0e2e36f650 MediaPlayer: Make location field clickable in File info window
The "Location" field in the File info window will be clickable if it
refers to a local file. This will open the containing folder in the Tracker.

Fixes #8842

Change-Id: I0b17587607275da12aac89a1716ec85652a31e29
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9796
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
2025-11-30 08:11:42 +00:00