Doczom
729487fd7a
disabling the SRV.srv_proc check to zero
...
git-svn-id: svn://kolibrios.org@9872 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-08-23 19:25:18 +00:00
turbocat
1865c30de8
[KERNEL]: Remove unused get_curr_task and replace with get_curr_slot
...
git-svn-id: svn://kolibrios.org@9832 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-06 21:51:08 +00:00
a9d195b964
Rename fields in SYSCALL_STACK struct: _eax -> eax, etc
...
git-svn-id: svn://kolibrios.org@9831 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-05 14:41:51 +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
aa4154894c
[kernel] Add is_string_userspace func, like is_region_userspace
...
git-svn-id: svn://kolibrios.org@9823 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-31 07:27:00 +00:00
Doczom
906a16d3a2
fixed kernel malfunction when loading a program with mem_size > os_base .
...
git-svn-id: svn://kolibrios.org@9794 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-26 13:09:12 +00:00
Doczom
0e38558cb0
fix bug in free group of port(46 sysf) in deleting thread
...
git-svn-id: svn://kolibrios.org@9743 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-03-19 16:20:29 +00:00
Doczom
8708293b8f
small update 46 system function(no tested!)
...
git-svn-id: svn://kolibrios.org@9742 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-03-18 04:09:59 +00:00
Doczom
182f6ade61
small update copyright year in kernel
...
git-svn-id: svn://kolibrios.org@9715 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-12 17:27:41 +00:00
Doczom
39780d1f65
delete APPDATA.mem_start
...
git-svn-id: svn://kolibrios.org@9710 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-09 18:09:54 +00:00
Doczom
707dc7c2e6
delete TASKDATA
...
git-svn-id: svn://kolibrios.org@9709 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-09 17:07:51 +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
Doczom
4afc0dd84b
replacing TASKDATA.event_mask with APPDATA.event_mask and cleared code
...
git-svn-id: svn://kolibrios.org@9614 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-11 20:38:19 +00:00
Doczom
df70a59fd5
add APPDATA.state for delete TASKDATA
...
git-svn-id: svn://kolibrios.org@9613 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-11 10:50:30 +00:00
Doczom
278fc718e1
add APPDATA.state for delete TASKDATA
...
git-svn-id: svn://kolibrios.org@9611 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-10 20:38:44 +00:00
Doczom
b1621a3797
add APPDATA.wnd_number
...
git-svn-id: svn://kolibrios.org@9608 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-10 16:52:37 +00:00
Doczom
2aee4bdf6a
replacing TASKDATA.mem_start with APPDATA.memstart
...
git-svn-id: svn://kolibrios.org@9605 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-09 11:37:32 +00:00
Doczom
f3d6ff3eb2
replacing TASKDATA.counter_add with APPDATA.counter_add
...
git-svn-id: svn://kolibrios.org@9600 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-08 21:31:19 +00:00
Doczom
100cb041bb
replacing TASKDATA.counter_sum with APPDATA.counter_sum.
...
I hope the kernel is working
git-svn-id: svn://kolibrios.org@9593 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-08 15:19:20 +00:00
Doczom
3d6209fb37
fix cpu_usage
...
git-svn-id: svn://kolibrios.org@9591 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-07 23:03:51 +00:00
Doczom
bb2c454ebe
replacing TASKDATA.cpu_usage with APPDATA.cpu_usage
...
git-svn-id: svn://kolibrios.org@9590 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-07 21:53:56 +00:00
Doczom
c4f3315ffd
small fix
...
git-svn-id: svn://kolibrios.org@9567 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-03 18:26:31 +00:00
d92af710b5
[KERNEL] Use common stub undefined_syscall instead of paleholder
...
git-svn-id: svn://kolibrios.org@9476 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-26 11:12:56 +00:00
Doczom
c92d2a4af9
fix 68.31
...
git-svn-id: svn://kolibrios.org@9442 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-18 23:39:17 +00:00
Doczom
a83d394677
add function for get SRV structure
...
git-svn-id: svn://kolibrios.org@9441 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-18 22:46:36 +00:00
Doczom
dc2ad5b020
add function for unload driver
...
git-svn-id: svn://kolibrios.org@9440 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-18 18:11:03 +00:00
Doczom
d888aca21b
small update loader drivers
...
git-svn-id: svn://kolibrios.org@9438 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-18 11:12:02 +00:00
Doczom
1168314a69
fix call function
...
git-svn-id: svn://kolibrios.org@9432 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-17 06:22:21 +00:00
Doczom
8c8771e04d
add check handler driver
...
git-svn-id: svn://kolibrios.org@9430 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-17 06:07:45 +00:00
Doczom
36933473bc
fix load driver
...
TODO: add function for unload driver
git-svn-id: svn://kolibrios.org@9406 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-07 02:49:57 +00:00
Coldy
f3dca4689e
Fixed vulnerabilitie in sysfn 68.23 (system halt if the name doesn't exist)
...
git-svn-id: svn://kolibrios.org@9405 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-06 16:57:50 +00:00
Doczom
4003f26194
delete 43 sysfunction
...
git-svn-id: svn://kolibrios.org@9279 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-16 18:54:17 +00:00
Doczom
f62bef13d5
fixing a memory leak in the clipboard
...
git-svn-id: svn://kolibrios.org@9265 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-14 14:02:16 +00:00
Doczom
95f32fae09
fix start apps in kernel mode
...
git-svn-id: svn://kolibrios.org@9248 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-04 21:45:55 +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
turbocat
9b2048f146
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
2021-07-12 22:34:27 +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
293a74db28
[KERNEL][TASKMAN] Add prefixes to named constants
...
git-svn-id: svn://kolibrios.org@9038 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 20:04:59 +00:00
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
436e509ba2
[kernel][dll] Doxycomment load_file function
...
git-svn-id: svn://kolibrios.org@9034 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 18:39:49 +00:00
43ca471eaa
[KERNEL][TASKMAN] Document fs_execute function return value
...
git-svn-id: svn://kolibrios.org@9032 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 18:08:28 +00:00
d68f8ecdce
[KERNEL][TASKMAN] Comment fs_execute function
...
git-svn-id: svn://kolibrios.org@9031 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 17:55:19 +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
0f675e4534
[KERNEL] use constants instead of hardcoded values, other small fixes
...
git-svn-id: svn://kolibrios.org@8876 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-19 08:41:09 +00:00
8ef75d4496
[KERNEL] #4 Preparing to merge legacy TASKDATA into APPDATA:
...
- use thread state constants instead of hardcoded values
- other small style fixes
git-svn-id: svn://kolibrios.org@8874 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-18 08:26:02 +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
d4bf03befc
[KERNEL] #2 Preparing to merge legacy TASKDATA into APPDATA:
...
- rename event_mask in APPDATA to occured_events, cause TASKDATA already has event_mask and they have different meaning and usage
- small fixes
git-svn-id: svn://kolibrios.org@8867 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-16 13:57:17 +00:00
9cdec89085
[KERNEL] Preparing to merge legacy TASKDATA into APPDATA:
...
- now doesnt use TASK_COUNT, now uses [thread_count] global instead of it
- update come copyrights
git-svn-id: svn://kolibrios.org@8866 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-16 10:04:10 +00:00