Commit Graph

265 Commits

Author SHA1 Message Date
Kirill Lipatov (Leency)
d91cb7946f https://board.kolibrios.org/viewtopic.php?p=79329#79912
NTFS fix for sf 70.3 by Pathoswithin (non-tested) => Doczom please check if you can

git-svn-id: svn://kolibrios.org@9953 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-12 01:11:26 +00:00
Doczom
2160c0e6f7 [KERNEL] Added the "FsAdd" function for drivers on file systems.
TODO: added functions for lock\unlock partition and read\write sectors for user programs 

git-svn-id: svn://kolibrios.org@9894 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-21 18:07:32 +00:00
679a138dd7 [xfs] Fix a file lookup bug in btree dirs
Literally, an off-by-one error.

git-svn-id: svn://kolibrios.org@9890 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-02 00:58:36 +00:00
06d05066a3 [xfs] Support XFS nrext64 feature bit
This feature is _not_ enabled by default by mkfs.xfs at the moment.
That said, make KolibriOS ready for the future. By the way, fix two
bugs in support of XFSv5 disk format.

git-svn-id: svn://kolibrios.org@9889 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-02 00:55:53 +00:00
df7f78788c [xfs] Support XFS bigtime feature bit
Current version of mkfs.xfs enables this feature by default.
Now KolibriOS can read such partitions too.

git-svn-id: svn://kolibrios.org@9888 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-02 00:53:31 +00:00
Doczom
4b862c1c0b KERNEL: reducing the use of current_slot_idx
git-svn-id: svn://kolibrios.org@9828 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-03 23:34:04 +00:00
Marat Zakiyanov
16a184061b exFAT_Delete - delete file/folder (F70.8)
git-svn-id: svn://kolibrios.org@9755 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-02 21:38:53 +00:00
Marat Zakiyanov
5d12a6e4a5 exFAT_SetFileInfo - set attributes of file/folder (F70.6)
git-svn-id: svn://kolibrios.org@9744 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-03-20 09:10:06 +00:00
Marat Zakiyanov
c99afa0b60 exFAT - support for file name hashes
git-svn-id: svn://kolibrios.org@9738 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-03-13 12:25:05 +00:00
Marat Zakiyanov
fcc5dc0546 Fix r9734 - reading content outside of the first cluster of directory
git-svn-id: svn://kolibrios.org@9737 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-03-12 14:30:52 +00:00
Marat Zakiyanov
5e82f613f7 Fix r9734 - adding the Rev parameter to the file properties.
git-svn-id: svn://kolibrios.org@9735 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-03-03 22:15:29 +00:00
Marat Zakiyanov
f8da95f800 exFAT file system support (only read)
git-svn-id: svn://kolibrios.org@9734 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-03-03 22:00:47 +00:00
turbocat
dac27e480b Kernel: apply security patch for 70 function(by Rgimad). Thanks Dunkaist for the corrections.
git-svn-id: svn://kolibrios.org@9698 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-07 21:07:07 +00:00
Doczom
19347417f0 replacing TASK DATA.pid with APPDATA.tid
git-svn-id: svn://kolibrios.org@9692 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-06 20:33:29 +00:00
cf3af4b4ed kernel: fix export of file_system_lfn_protected.
This function returns values not in registers but in their images on
stack. Therefore we have to wrap a call with pushad/popad.

git-svn-id: svn://kolibrios.org@9185 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-09 22:37:00 +00:00
b6f769987c kernel: Check for base+len overflow in is_region_userspace
git-svn-id: svn://kolibrios.org@9045 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 09:22:44 +00:00
Magomed Kostoev (mkostoevr)
c81b16b529 [KERNEL][TASKMAN] Use named constants instead of magic numbers
git-svn-id: svn://kolibrios.org@9036 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 19:16:00 +00:00
bf0e285246 fix previous
git-svn-id: svn://kolibrios.org@8914 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-21 21:38:42 +00:00
fc3c8d4ae0 [KERNEL] Temporarily disable checks added in #8680.
More info in comments to syscall_file_system_lfn

git-svn-id: svn://kolibrios.org@8912 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-21 21:31:19 +00:00
2359531a17 [KERNEL] #3 Preparing to merge legacy TASKDATA into APPDATA:
- get rid of CURRENT_TASK
- to APPDATA added new fields which will be used instead of TASKDATA's
- other small fixes

git-svn-id: svn://kolibrios.org@8869 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-17 09:41:16 +00:00
7f4ba4d3e1 fixed multiple vulnerabilities in sysfn70 caused by absence of user addresses check
git-svn-id: svn://kolibrios.org@8680 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-24 21:16:55 +00:00
0c0895f9a0 fixed vulnerability (kernel memory rewrite) in sysfn 30.2 and 30.5
git-svn-id: svn://kolibrios.org@8676 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-22 20:56:05 +00:00
f5e0f96e84 Add extended_primary_loader to autobuild.
* Build fat1x, fat32, cdfs, after_win loaders.
* Set use_lba=1 by default in fat32 loader.
* Build kolibri.raw: flash / hdd image.
* Add example config.ini file.
* Add an option (config file and screen) to not load ramdisk image.
* Add an option (config file only) to set /sys path.

Now you can boot without a ramdisk from a storage that is supported
by the kernel itself, i.e. without loadable drivers. Thus you can not
load the system without a ramdisk from SATA/AHCI and USB drives.

git-svn-id: svn://kolibrios.org@8091 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-04 16:53:59 +00:00
bf38c73d0a kernel: don't use ramdisk if asked.
The blue screen is not aware of this option.

git-svn-id: svn://kolibrios.org@8089 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-02 13:05:10 +00:00
7b1eb2c733 kernel: Bring back XFS: v4 and v5 disk formats are supported now.
Read-only. Writing is not planned.

git-svn-id: svn://kolibrios.org@7736 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-03-12 00:27:08 +00:00
0e02132b9f Replace 'equ' macros with '=' ones.
They appear in symbols file.
They don't require parentheses.
They are shorter.

git-svn-id: svn://kolibrios.org@7136 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-20 01:07:10 +00:00
368d42ffae Update BOOT_DATA structure and use it instead of all the BOOT_* vars.
git-svn-id: svn://kolibrios.org@7132 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-17 02:12:53 +00:00
f208e0e454 Split bootbios.asm and kernel.asm.
* Move bios-related part of kernel.asm before B32 label to
  bootbios.asm file;
* Move bx_from_load, boot_dev and kernel_restart_bootblock variables
  to BOOT_* 0x9000 block;
* Update Tupfile.lua, Makefile, build.bat, build.sh accordingly;
* Now bios and uefi loaders can jump to very first byte of the kernel.

git-svn-id: svn://kolibrios.org@7129 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-16 20:21:10 +00:00
pathoswithin
a83abc4c5f fat: support for non-ASCII chars in short names
git-svn-id: svn://kolibrios.org@7003 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-22 21:51:37 +00:00
pathoswithin
aa52644442 small fix
git-svn-id: svn://kolibrios.org@6939 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-07-29 05:24:20 +00:00
pathoswithin
ed0c1f6d3a ext fs: sysfunction 70.10 support
git-svn-id: svn://kolibrios.org@6933 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-07-09 08:28:00 +00:00
pathoswithin
fc631064ea New sysfunction 70.10 "rename/move"
git-svn-id: svn://kolibrios.org@6917 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-06-08 10:03:01 +00:00
pathoswithin
ff31272774 documentation fix
git-svn-id: svn://kolibrios.org@6880 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-03-28 14:30:08 +00:00
pathoswithin
45aee00e6b sysfunction 70.5: small change
git-svn-id: svn://kolibrios.org@6876 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-03-07 16:28:02 +00:00
pathoswithin
b27bd68162 sysfunction 70.5: get device size
git-svn-id: svn://kolibrios.org@6875 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-03-06 13:45:37 +00:00
pathoswithin
846906fa8c iso9660: get CD info
git-svn-id: svn://kolibrios.org@6872 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-03-03 17:06:08 +00:00
pathoswithin
5e7dc6b25c ext: get volume info
git-svn-id: svn://kolibrios.org@6871 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-03-01 16:45:33 +00:00
pathoswithin
9490c62e74 ntfs: fix volume name
git-svn-id: svn://kolibrios.org@6869 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-02-28 15:55:21 +00:00
pathoswithin
a66ba0a1e0 fat: get volume info
git-svn-id: svn://kolibrios.org@6868 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-02-28 12:33:45 +00:00
pathoswithin
2e874adffb fat: cleaning
git-svn-id: svn://kolibrios.org@6867 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-02-21 17:22:02 +00:00
pathoswithin
95c7aad99e ext fs small fixes
git-svn-id: svn://kolibrios.org@6861 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-02-10 09:17:54 +00:00
pathoswithin
53c5e5426f ext fs small fix
git-svn-id: svn://kolibrios.org@6859 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-02-08 17:14:28 +00:00
pathoswithin
d248870812 ext fs fixing
git-svn-id: svn://kolibrios.org@6856 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-02-06 09:55:55 +00:00
pathoswithin
be199bc49c ext fs optimizing
git-svn-id: svn://kolibrios.org@6853 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-02-04 13:17:52 +00:00
pathoswithin
f1c9b0ad0f fixes for ext fs
git-svn-id: svn://kolibrios.org@6852 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-02-02 05:47:15 +00:00
pathoswithin
abcb2b1bfa fat: sysfunction 70.4 update
git-svn-id: svn://kolibrios.org@6850 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-01-31 06:03:42 +00:00
pathoswithin
861e7b4ea9 ext2: support for files bigger than 4 GB
git-svn-id: svn://kolibrios.org@6849 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-01-30 01:03:59 +00:00
pathoswithin
1ab6d8bc4e ext fs optimizing
git-svn-id: svn://kolibrios.org@6848 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-01-28 02:39:27 +00:00
pathoswithin
3cbf21dcbe fat fix: report write size
git-svn-id: svn://kolibrios.org@6846 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-01-24 17:38:59 +00:00
pathoswithin
201a5bf041 fs: prevalidation for root folder, code despaghettizing
git-svn-id: svn://kolibrios.org@6845 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-01-22 16:19:39 +00:00