Commit Graph

8918 Commits

Author SHA1 Message Date
turbocat
1c24cac315 kolibri-libc:
[include]
 - ksys.h : fixed sruct name
 - string.h: set memcpy, memset, and memove as static for libtcc
 - stdio.h: added sscanf and ungetc
 - stdint.h: added int64 limits
[stdio]
fixed *scanf functions
added ungetc functon
[lib]
 - upated binaries
 - added libtcc.a for tcc optimization
[crt]
 - removed duplicate files
[samples]
 - added fasm libc.obj example
 - updated old examples 




git-svn-id: svn://kolibrios.org@8718 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-09 22:12:43 +00:00
Doczom
611fac2831 added 2 chemical elements numbered 117 and 118
git-svn-id: svn://kolibrios.org@8717 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-09 21:19:33 +00:00
turbocat
86ba0f80f2 ktcc:
- Fixed "segmentation fault" if it is not possible to write to file

git-svn-id: svn://kolibrios.org@8716 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-09 20:14:40 +00:00
Doczom
c080568a52 fixed vulnerability (kernel memory rewrite) in sysfn 4
git-svn-id: svn://kolibrios.org@8715 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-09 14:17:55 +00:00
Doczom
5376120685 fixed vulnerability (reading kernel memory from userspace) in sysfn 7, 15.5 and 65
git-svn-id: svn://kolibrios.org@8714 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-09 14:02:32 +00:00
Doczom
da3163d11b fixed vulnerability (reading kernel memory from userspace) in sysfn 47
git-svn-id: svn://kolibrios.org@8713 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-09 13:27:00 +00:00
Doczom
2508f1e16e fixed vulnerability (reading kernel memory from userspace) in sysfn 48.2
git-svn-id: svn://kolibrios.org@8712 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-09 12:50:44 +00:00
Doczom
a18d802064 fixed vulnerability (reading kernel memory from userspace) in sysfn 54.2
git-svn-id: svn://kolibrios.org@8711 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-09 09:14:43 +00:00
Coldy
afb2bbacd5 /lib/dll.asm
Fixed include path

git-svn-id: svn://kolibrios.org@8710 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-01 17:22:05 +00:00
Coldy
ed25f2c1ca Dll autoload
Kernel
- removed unnecessary and rewrote/add some comments, no code changes
User (lib/dll.obj)   
- Introduced new KX header as extension for existing formats
- Added staring KX header processing
- Improved import table test logic, no reason to kill app for import absence - skip 
  import processing (tnx ProMiNick)
- Add ReadMe.txt


git-svn-id: svn://kolibrios.org@8709 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-01 16:17:27 +00:00
turbocat
43506beeb7 ktcc:
- Fixed boxlib.h
 - Removed unnecessary files

git-svn-id: svn://kolibrios.org@8708 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-30 22:32:21 +00:00
turbocat
d093f70049 TinyHashView:
- Now uses (kolibri-libc) libc.obj.
- Resize 12kb -> 6kb

git-svn-id: svn://kolibrios.org@8707 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-30 22:28:05 +00:00
turbocat
8797117c1d Whois:
- Reconfiguring autobuild

git-svn-id: svn://kolibrios.org@8706 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-30 22:19:36 +00:00
turbocat
da310946f0 kolibri-libc:
- Fixed fwrite.
- Added strcat to the export table. 
- Fixed two functions in ksys.h.
- Added binaries for autobuild

git-svn-id: svn://kolibrios.org@8705 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-30 22:00:07 +00:00
turbocat
3b21d367d3 Driver example:
- Removed printk. 
- c_drv.dll file has become smaller than (6kb-> 407b)

git-svn-id: svn://kolibrios.org@8704 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-29 20:47:26 +00:00
turbocat
14b216f2e8 - Added the simplest examples of drivers (fasm and kos32-gcc).
- Added a program for testing them.

git-svn-id: svn://kolibrios.org@8703 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-29 18:49:57 +00:00
turbocat
caa49e901b kolibri-libc:
- Added function _ksys_load_pe_driver()

git-svn-id: svn://kolibrios.org@8702 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-29 18:42:25 +00:00
Kirill Lipatov (Leency)
5e705e737a game centre: add wolf3d to RUS distro
git-svn-id: svn://kolibrios.org@8701 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-28 18:25:35 +00:00
Coldy
b91122a57b Fix vulnerabilitie in sysfn 74.1 (add sanity check for user buffer), now user applications can't corrupt kernel memory via invalid buffer address
git-svn-id: svn://kolibrios.org@8700 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-28 06:56:45 +00:00
turbocat
35ba6d8562 kolibri-libc:
- [KSYS]  added functions for working with drivers.
- [SAMPLES] added an example of working with the tmpdisk.sys driver
- Misc: fixed Makefiles


git-svn-id: svn://kolibrios.org@8699 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-28 00:18:12 +00:00
Kirill Lipatov (Leency)
819b3e8259 WebView 3.32: fix images load
git-svn-id: svn://kolibrios.org@8698 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-27 20:32:18 +00:00
Kirill Lipatov (Leency)
b930c6f5f7 WebView Downloader: if file already exist, save the file with a new name
git-svn-id: svn://kolibrios.org@8697 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-27 17:56:49 +00:00
turbocat
99dce7afaf Delete old kolibri-libc
git-svn-id: svn://kolibrios.org@8696 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-27 17:55:31 +00:00
turbocat
50fc6608b2 Wolfenstein 3D:
- Freed from the old ksys.h file

git-svn-id: svn://kolibrios.org@8695 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-27 17:51:14 +00:00
turbocat
b183b7c32f Fix autobuild: delete libc.obj in source
git-svn-id: svn://kolibrios.org@8694 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-27 17:43:17 +00:00
turbocat
03de567b2b Fix autobuild
git-svn-id: svn://kolibrios.org@8693 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-27 17:40:25 +00:00
turbocat
1503fa58d8 Fixed rule for copying libc.obj to image
git-svn-id: svn://kolibrios.org@8692 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-27 17:00:26 +00:00
turbocat
91f6d79002 Added autobuild libc.obj to kolibri.img
git-svn-id: svn://kolibrios.org@8691 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-27 16:53:18 +00:00
turbocat
bf1fd28f03 kolibri-libc:
delete lib/libc.obj

git-svn-id: svn://kolibrios.org@8690 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-27 16:50:23 +00:00
turbocat
d6445dafe5 kolibri-libc:
Removed exports.c

git-svn-id: svn://kolibrios.org@8689 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-27 16:48:05 +00:00
turbocat
0f46b75434 kolibri-libc:
Removed binaries in linuxtools folder

git-svn-id: svn://kolibrios.org@8688 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-27 16:46:29 +00:00
turbocat
728f124678 Added git source kolibri-libc and
Configured autobuild

git-svn-id: svn://kolibrios.org@8687 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-27 16:33:31 +00:00
turbocat
1d94455637 Whois:
- Now the program uses libc.obj and is smaller.

git-svn-id: svn://kolibrios.org@8686 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-26 21:15:40 +00:00
turbocat
4e4a78fb2d ktcc:
- Added files for developing programs with kolibri-libc

git-svn-id: svn://kolibrios.org@8685 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-26 21:12:04 +00:00
turbocat
c1911092d3 Weather has been temporarily removed from the distribution
git-svn-id: svn://kolibrios.org@8684 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-26 21:08:57 +00:00
turbocat
ad524d2036 - Added kolibri-libc to the distribution (libc.obj v1.0b)
git-svn-id: svn://kolibrios.org@8683 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-26 20:59:20 +00:00
Kirill Lipatov (Leency)
7c2ba7d087 Update example.asm
git-svn-id: svn://kolibrios.org@8682 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-25 21:07:36 +00:00
IgorA
0a0040e190 fix divide by 0 in function edit_box.get_n
git-svn-id: svn://kolibrios.org@8681 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-25 19:46:48 +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
IgorA
f8a8da3991 fix rev 8408
git-svn-id: svn://kolibrios.org@8679 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-24 20:49:49 +00:00
turbocat
6317b7f33c Tiny C Compiler:
- Temporarily unrecoverable errors with autoloading libraries.
Rollback to working state: r8558 

git-svn-id: svn://kolibrios.org@8678 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-23 20:54:03 +00:00
turbocat
b84cfc1204 Tiny C Compiler(ktcc):
- Fixed "segmentation fault" when using debug flag:" -g "in Linux version
 

git-svn-id: svn://kolibrios.org@8677 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-23 17:38:39 +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
c7a8498e42 fixed vulnerability (reading kernel memory from userspace) in sysfn25
git-svn-id: svn://kolibrios.org@8675 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-22 19:59:52 +00:00
Coldy
994d28964c For DLL autoload
git-svn-id: svn://kolibrios.org@8674 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-18 06:41:08 +00:00
Coldy
b2e95a88cc For DLL autoload
git-svn-id: svn://kolibrios.org@8673 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-17 10:10:19 +00:00
Coldy
329a8c7553 For DLL autoload
git-svn-id: svn://kolibrios.org@8672 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-17 09:40:01 +00:00
Coldy
cb3d4656b9 For DLL autoload
git-svn-id: svn://kolibrios.org@8671 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-17 08:52:27 +00:00
Alex2003
e44d2d93da roadmap for kolibri e 0.1
git-svn-id: svn://kolibrios.org@8670 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-16 19:42:49 +00:00
turbocat
6fcb8e3762 kolibri-libc:
- Removed attribute "O0" in _ksys_process_info that caused strange behavior in kos32-gcc v4.8.2
- Window centering in wolf3d should be fixed

git-svn-id: svn://kolibrios.org@8669 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-06 21:03:28 +00:00