From 9b2048f14639d03c84f14665119e133033e66983 Mon Sep 17 00:00:00 2001 From: turbocat Date: Mon, 12 Jul 2021 22:34:27 +0000 Subject: [PATCH] kernel (trunk) : - Added the function of working with the file system in the export for the driver. (However, feature 70 vulnerability should not be fixed until the drivers using it are rebuilt). git-svn-id: svn://kolibrios.org@9055 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/exports.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/trunk/core/exports.inc b/kernel/trunk/core/exports.inc index a2d14c2d1..d50e349e0 100644 --- a/kernel/trunk/core/exports.inc +++ b/kernel/trunk/core/exports.inc @@ -122,6 +122,9 @@ __exports: usb_control_async, 'USBControlTransferAsync', \ usb_get_param, 'USBGetParam', \ usb_hc_func, 'USBHCFunc', \ +\ + file_system_lfn_protected, 'FS_Service', \ ; The intrakernel function of working with the file system is exported. +\ ; Duplicates system call 70. \ net_add_device, 'NetRegDev', \ net_remove_device, 'NetUnRegDev', \ @@ -136,6 +139,7 @@ __exports: acpi_get_root_ptr, 'AcpiGetRootPtr', \ \ 0, 'LFBAddress' ; must be the last one + load kernel_exports_count dword from __exports + 24 load kernel_exports_addresses dword from __exports + 28 exp_lfb = OS_BASE + kernel_exports_addresses + (kernel_exports_count - 1) * 4 - 4