Commit Graph

84 Commits

Author SHA1 Message Date
Doczom
6fbd7cd2f9 Krn: Fixed the disk size output function
and fixed the "end if" position when compiling extended_primary_loader

git-svn-id: svn://kolibrios.org@10016 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-09 14:47:16 +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
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
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
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
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
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
755c9fe4d1 proper unicode support
git-svn-id: svn://kolibrios.org@6798 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-15 17:38:17 +00:00
pathoswithin
f9f1eb0d75 preparation
git-svn-id: svn://kolibrios.org@6792 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-09 09:48:32 +00:00
pathoswithin
6aab6c5478 support of "../" in the absolute file path
git-svn-id: svn://kolibrios.org@6787 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-05 19:44:57 +00:00
pathoswithin
8eb00f284b alternate ways of setting the string encoding for absolute paths
git-svn-id: svn://kolibrios.org@6758 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-25 15:11:25 +00:00
CleverMouse
7a0442863e fix for r6468 with CDs
git-svn-id: svn://kolibrios.org@6611 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-20 14:28:34 +00:00
pathoswithin
5f91a2a1f4 Fix for sysfunctions 30.2 and 30.4
git-svn-id: svn://kolibrios.org@6534 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-09-26 17:14:06 +00:00
pathoswithin
85cf426f43 turn off XFS driver until better times
git-svn-id: svn://kolibrios.org@6503 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-08-25 20:01:50 +00:00
pathoswithin
31fad3ee4a UTF-8 file path input, unicode names for apps and libs
git-svn-id: svn://kolibrios.org@6502 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-08-25 19:30:08 +00:00
pathoswithin
5435e675b8 UTF-8 based disk system, UTF-16 path input
git-svn-id: svn://kolibrios.org@6471 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-08-15 16:55:03 +00:00
pathoswithin
1048443a57 one-string path for filesystems, some cleaning
git-svn-id: svn://kolibrios.org@6468 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-08-02 20:28:34 +00:00
pathoswithin
ee14b53b33 sysfunction 70 cleaning
git-svn-id: svn://kolibrios.org@6464 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-07-29 11:12:13 +00:00
pathoswithin
0179d69549 ext fs and other global cleaning
git-svn-id: svn://kolibrios.org@6462 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-07-13 01:01:16 +00:00
Sergey Semyonov (Serge)
22e9386a23 kernel: set maximum length of a stored application path name to 1023 bytes
git-svn-id: svn://kolibrios.org@6338 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-03-13 10:30:38 +00:00
Sergey Semyonov (Serge)
a316af7413 kernel: new app loader
git-svn-id: svn://kolibrios.org@6333 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-03-13 06:08:07 +00:00
pathoswithin
662164c87f NTFS: write/rewrite file without size change.
git-svn-id: svn://kolibrios.org@5994 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-12-21 11:47:21 +00:00
Yogev Ezra
76a0cbdfe5 Change copyright year in kernel and drivers to 2015. No code changes.
git-svn-id: svn://kolibrios.org@5363 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-08 20:10:22 +00:00
Marat Zakiyanov (Mario79)
ba19a6400d Kernel supports up to three IDE controllers, and all the devices connected to them
git-svn-id: svn://kolibrios.org@4700 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-27 20:44:32 +00:00
CleverMouse
fd7d607044 /rd is now PnP, so move PnP disks to the beginning of / listing
git-svn-id: svn://kolibrios.org@4277 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-22 11:31:36 +00:00
CleverMouse
1842871f8f support for PnP disks, part 5: FAT12, ramdisk, floppies
git-svn-id: svn://kolibrios.org@4273 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-21 16:07:16 +00:00
CleverMouse
d59bc76c6d support for PnP disks, part 4: move NTFS,EXT2,/hd*,/bd* to the new interface
git-svn-id: svn://kolibrios.org@3742 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-01 16:29:16 +00:00
CleverMouse
65d0cef44b style fixes, no binary changes (style checker was sick for some time)
git-svn-id: svn://kolibrios.org@3711 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-26 23:35:43 +00:00
Marat Zakiyanov (Mario79)
d9b8117616 1) SATA IDE support for HDD and ATAPI
2) PIO LBA48 read for HDD

git-svn-id: svn://kolibrios.org@3702 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-25 03:15:38 +00:00
Marat Zakiyanov (Mario79)
13b10bc06f process_replace_file_name - uses the correct direction of search is now
git-svn-id: svn://kolibrios.org@3689 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-20 00:33:36 +00:00
Marat Zakiyanov (Mario79)
7ba632508c Just a quick correction of the estimated potential problem with incorrect data changes during operation. In the future, I will replace the CLI on the mutex.
git-svn-id: svn://kolibrios.org@3678 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-18 00:00:46 +00:00
Marat Zakiyanov (Mario79)
799f7cdc6b Adding f.30.3 to mount the additional system directory (this is used by SEARCHAP).
git-svn-id: svn://kolibrios.org@3663 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-15 21:17:06 +00:00
Sergey Semyonov (Serge)
f272bbb588 kernel: reduce DRIVE_DATA array. Now kernel can handle only 64 /hd and /cd partitions
git-svn-id: svn://kolibrios.org@3627 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-08 13:08:51 +00:00
CleverMouse
165c453d43 protect thread from external terminate while running sysfn 70
git-svn-id: svn://kolibrios.org@3296 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-28 22:03:45 +00:00
turbanoff
d205bffbfa ext4 support
git-svn-id: svn://kolibrios.org@2889 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-07-25 16:26:11 +00:00
Marat Zakiyanov (Mario79)
2f699083c4 1) Correcting information about copiright
2) VESA draw the small speedup

git-svn-id: svn://kolibrios.org@2455 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-13 16:51:57 +00:00
CleverMouse
037099f50d Style corrected for new rules, no semantic changes
git-svn-id: svn://kolibrios.org@2288 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-10-14 21:38:50 +00:00
CleverMouse
1eb4e63e51 support for PnP disks, part 1
git-svn-id: svn://kolibrios.org@2119 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-25 18:32:14 +00:00
Evgeny Grechnikov (Diamond)
0a35216e52 fix bug #16
git-svn-id: svn://kolibrios.org@1563 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-08 21:43:40 +00:00
Alexey Teplov (
04bf87db30 The 70 system function have call without shift registers.
git-svn-id: svn://kolibrios.org@1491 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-11 14:07:06 +00:00
turbanoff
8a94df9a76 small fix
git-svn-id: svn://kolibrios.org@1379 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-23 16:01:24 +00:00
turbanoff
7eed0cd366 ext2fs support. read only
git-svn-id: svn://kolibrios.org@1378 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-23 15:24:03 +00:00
Evgeny Grechnikov (Diamond)
dceaa5fee0 fixed sysfn 30 broken in rev. 1304
git-svn-id: svn://kolibrios.org@1305 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-02 22:55:22 +00:00
Alexey Teplov (
ad63ea7013 30 and 43 sysfunc rewritten without cross registers call.
git-svn-id: svn://kolibrios.org@1304 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-02 17:10:46 +00:00