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
This commit is contained in:
turbocat 2021-07-12 22:34:27 +00:00
parent ae22a16a43
commit 9b2048f146

View File

@ -122,6 +122,9 @@ __exports:
usb_control_async, 'USBControlTransferAsync', \ usb_control_async, 'USBControlTransferAsync', \
usb_get_param, 'USBGetParam', \ usb_get_param, 'USBGetParam', \
usb_hc_func, 'USBHCFunc', \ 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_add_device, 'NetRegDev', \
net_remove_device, 'NetUnRegDev', \ net_remove_device, 'NetUnRegDev', \
@ -136,6 +139,7 @@ __exports:
acpi_get_root_ptr, 'AcpiGetRootPtr', \ acpi_get_root_ptr, 'AcpiGetRootPtr', \
\ \
0, 'LFBAddress' ; must be the last one 0, 'LFBAddress' ; must be the last one
load kernel_exports_count dword from __exports + 24 load kernel_exports_count dword from __exports + 24
load kernel_exports_addresses dword from __exports + 28 load kernel_exports_addresses dword from __exports + 28
exp_lfb = OS_BASE + kernel_exports_addresses + (kernel_exports_count - 1) * 4 - 4 exp_lfb = OS_BASE + kernel_exports_addresses + (kernel_exports_count - 1) * 4 - 4