Commit Graph

64 Commits

Author SHA1 Message Date
Enrico Fraccaroli (Galfurian) 3ae9258347 Fix permission management for IPC and also for EXT2. 2023-05-23 13:40:02 -04:00
Enrico Fraccaroli e7c0334ac0 Hide semaphore info from user-space (WIP). 2023-05-23 10:43:52 -04:00
Enrico Fraccaroli (Galfurian) 3e03f1e6fd Clean up the semget example. Clean up the return values of semop function. 2023-05-19 14:24:04 -04:00
Enrico Fraccaroli (Galfurian) 9f63a93d63 Properly handle ipc and sem permissions. Fix return error codes. Fix private key generation. 2023-05-17 15:23:42 -04:00
Enrico Fraccaroli 97eedf450d Create ipc code for managing all ipcs and their keys 2023-05-10 14:21:54 -04:00
Enrico Fraccaroli 19e8ad309f Move IPC stuff from the libc side, inside the sys folder. 2023-05-08 12:53:17 +02:00
Enrico Fraccaroli e19354a9ee Implement ipcs mechanisms. 2023-04-27 10:10:34 +02:00
Enrico Fraccaroli bd3c8fb4fe Write procfs function for IPC semaphores. Clean up the semaphores code. 2023-04-27 09:47:24 +02:00
Aldegheri Alessandro 09f0d145d0 IPCS, IPCRM, IPC_NOWAIT currently working 2023-04-22 16:14:40 +02:00
Aldegheri Alessandro b9244ab96b Merge between nsops fix and current ipcs and ipcrm implementation 2023-04-22 14:38:56 +02:00
Aldegheri Alessandro ef1ae0f3c7 Currently working on ipcs and ipcrm commands 2023-04-22 14:33:13 +02:00
notBiji dd8853af00 fixed nsops 2023-04-21 18:16:25 +02:00
Enrico Fraccaroli 8ad4e45b50 Add some more comments. Implement sempahore search function. Check correctness of the current semaphore code, and it works as expected. 2023-04-21 17:55:19 +02:00
Enrico Fraccaroli d8d2b9cb69 Add all commments 2023-04-12 15:12:16 +02:00
Enrico Fraccaroli 32b8bd898c Add all commments 2023-04-12 15:01:32 +02:00
Enrico Fraccaroli 79489757e3 Add all commments 2023-04-12 14:57:28 +02:00
Aldegheri Alessandro cc4eed7788 First working implementation of System V Semaphores with working tests. Check for comments inside the code 2023-04-11 21:12:44 +02:00
Aldegheri Alessandro 0fb3a8d5b2 Merge branch 'develop' into feature/Feature-Semaphores 2023-04-06 11:24:42 +02:00
Aldegheri Alessandro b955065ee1 first implementation semctl, first flags 2023-04-06 11:23:37 +02:00
Enrico Fraccaroli df347f51c0 Fix SystemCall definition 2023-04-06 11:20:25 +02:00
Aldegheri Alessandro 7c166e73a3 First implementation of semget function with multiple flags working (see comments inside) 2023-04-03 21:27:49 +02:00
Aldegheri Alessandro 1c4fd2c388 first implementation of ftok function with working test 2023-04-01 15:23:50 +02:00
Aldegheri Alessandro 25c1c2c6fb Semids, Semun and various define added to sem.h, created a test for checking the actual presence of the syscalls 2023-03-19 10:18:26 +01:00
Enrico Fraccaroli (Galfurian) 59d9bcb596 Fix wrong argument of write. Fix return type of getdents. Fix procfs_getdents. Finish implementing the base version of the ps command. 2023-01-27 11:38:40 -05:00
Enrico Fraccaroli (Galfurian) 32192829ff Keep the same string.c in libc and mentos. 2023-01-24 13:26:37 -05:00
Enrico Fraccaroli 9dfebdf827 Remove useless keyword in undef directive. 2023-01-20 09:27:35 -05:00
Enrico Fraccaroli 20323ba64e Remove ansi_colors.h from the programs. Add the volatile keyword to the memset operations. 2023-01-20 09:22:37 -05:00
Enrico Fraccaroli c9038205db Update copyright years. 2023-01-19 10:09:52 -05:00
Enrico Fraccaroli 6e48298534 Fix missing newline at the end of file. 2023-01-18 14:56:57 -05:00
Enrico Fraccaroli 2fee354b4b Remove mmio, port io, and debug headers from kernel side, and keep them on the libc. Simplify debugging functions. Add missing comments in several locations. Move ANSI color definitions in a separate file. 2023-01-18 11:40:53 -05:00
Enrico Fraccaroli f643e11212 Disable missing-braces warning. 2022-12-13 17:01:26 -05:00
Enrico Fraccaroli d499a07b0f Remove -Wno-unused-but-set-variable flag. 2022-12-13 16:56:14 -05:00
Enrico Fraccaroli 3f73b8d8a0 Add newline at the end of the files. Use built in keywords properly. 2022-12-13 14:31:27 -05:00
Enrico Fraccaroli 0965669f4b Add newline at the end of the files. 2022-12-13 14:25:16 -05:00
Enrico Fraccaroli de9daa4a85 Add some missing documentation. There is still some work to do. 2022-12-09 11:35:30 -05:00
Enrico Fraccaroli 5a461aabb0 Pass address of sigreturn as an arugment of signal and sigaction functions. 2022-09-22 11:31:23 -04:00
Enrico Fraccaroli 5e5b9ba370 Change how and where issue and motd are displayed 2022-08-26 15:09:46 -04:00
Enrico Fraccaroli (Galfurian) 4e07800428 Improve cmake option selection. Fix usage of CMAKE_C_FLAGS instead of CMAKE_CXX_FLAGS. 2022-07-07 14:57:32 -04:00
Enrico Fraccaroli (Galfurian) 334bf4a5eb Redefine cmake minimum requirements. 2022-07-06 14:13:33 -04:00
Enrico Fraccaroli (Galfurian) f70e7df1c5 Revert "Redefine cmake minimum requirements. Use DoxygenAwesome instead of defining custom html template."
This reverts commit a7ca9f90d6.
2022-07-06 14:06:26 -04:00
Enrico Fraccaroli (Galfurian) a7ca9f90d6 Redefine cmake minimum requirements. Use DoxygenAwesome instead of defining custom html template. 2022-07-06 11:23:01 -04:00
Enrico Fraccaroli (Galfurian) 0130725518 Just add missing comments. 2022-04-08 10:05:21 -04:00
Enrico Fraccaroli (Galfurian) 91af18b5a6 Do not print function name when debugging. 2022-01-31 15:18:37 -05:00
Enrico Fraccaroli (Galfurian) e7f77a88f1 Remove third-party software nasm from the project. 2022-01-31 14:52:56 -05:00
Enrico Fraccaroli (Galfurian) 1b2bc49d41 Update license and remove unused files. 2022-01-27 15:12:36 -05:00
Enrico Fraccaroli (Galfurian) 5c75019ddd Simplify array and ring_buffer creation. 2022-01-27 15:06:58 -05:00
Enrico Fraccaroli (Galfurian) 2944f5cc43 Clean un legacy files. 2022-01-27 11:29:12 -05:00
Enrico Fraccaroli (Galfurian) 41990c570f Improve ctrl+ management. 2022-01-25 15:01:53 -05:00
Enrico Fraccaroli (Galfurian) f95c361283 Complete the implementation of ECHO, ECHOE, ICANON. 2022-01-19 22:50:45 -05:00
Enrico Fraccaroli (Galfurian) 455c555223 Improve ring-buffer definition. 2022-01-14 09:12:27 -05:00