Commit Graph

52 Commits

Author SHA1 Message Date
3c84f6224b moved checks to more generic canread() and canwrite() functions 2017-09-15 17:40:34 +10:00
5fcc09e03c exposed parseacl as part of _G 2017-09-15 16:04:19 +10:00
67356aa589 made setattr() convert values to strings 2017-09-15 15:59:43 +10:00
366a420930 can only r/w attributes if you have r/w permissions in the attributes 2017-09-15 15:58:42 +10:00
016e4f2d58 made fs attribute loading spam the log less. 2017-09-15 15:40:08 +10:00
c1005e3ae6 added some basic fs attribute support, stored in memory. 2017-09-15 15:38:16 +10:00
868e0eee74 moved most of the shutil functions into programs in exec/ to reduce kernel size. 2017-09-15 14:42:10 +10:00
7b38b1286f actually removed userlib now \o/ 2017-09-14 15:12:41 +10:00
6a822d6779 added a proper user system, modified userspace utils to use it, etc etc. 2017-09-14 15:12:00 +10:00
781ac82904 same as the last one except luash has better sandboxing now 2017-09-13 13:37:26 +10:00
c76bc60a20 some cleaning up 2017-09-13 13:06:17 +10:00
1fffceb549 moved wget to exec/ and turned it into a standalone program. 2017-09-10 03:06:40 +10:00
064064eb26 made wget less needy. 2017-09-09 22:57:48 +10:00
3dff3ce99e added a wget function, because wtf not 2017-09-09 22:56:36 +10:00
1406044789 made login() use userlib and automatically load users and stuff. shiny. 2017-09-09 21:26:29 +10:00
af2ce42583 made sha256.lua work with ocemu 2017-09-07 13:11:32 +10:00
ecba456ef6 made sha256.lua behave on plain lua 2017-09-07 12:58:42 +10:00
fa3338589f made readline return false when ctrl-shift-c is pressed. 2017-09-05 19:08:51 +10:00
1e3d4eddac fixed more stuff for #5, added logflushd 2017-09-04 20:13:31 +10:00
55310a6c2c made write() actually use the right session ID 2017-09-01 06:43:38 +10:00
4956591894 added cp and mv to shutil 2017-08-31 12:45:59 +10:00
fca81639fa added fs.cp and fs.mv for copying amd moving files. 2017-08-31 12:31:54 +10:00
8e7b96ae08 added the copper reliability layer, part of the copper daemon. 2017-08-30 21:07:41 +10:00
fef9b7d540 added copper's packet system, reliability layer still WIP. 2017-08-28 16:06:07 +10:00
862f1dcd30 made ps() deal with when a task dies 2017-08-28 16:04:26 +10:00
2c61a6150b fixed io closing files and stuff 2017-08-27 04:22:11 +10:00
3c142e6e2a Merge branch 'master' of github.com:XeonSquared/PsychOS, because I never push my code >.> 2017-08-27 03:55:15 +10:00
22839cd27c made run() generate an environment for stuff it runs 2017-08-27 03:52:54 +10:00
ee7da224f1 made io buffers actually write, hopefully. 2017-08-20 16:01:25 +10:00
219d3a8326 made luash nicer to use 2017-08-04 17:44:37 +10:00
e341ada43e fixed a few crashes resulting from the fs library 2017-08-04 17:44:10 +10:00
221d0fbd1b added labels to ps() 2017-08-04 09:05:25 +10:00
d68f8f9edd added loadfile, run and srun to shutil. 2017-08-04 07:08:44 +10:00
d116491528 rewrote buffers, made io use the new buffers, fixed an fs bug or two. 2017-08-03 17:54:38 +10:00
b47fb83d73 made shutil's mem() act more like free 2017-08-03 17:53:36 +10:00
b390e2764b added some nice stuff like ps(*f*) and mem() to shutil 2017-08-03 17:42:59 +10:00
fcf9599abe changed some stuff in buffer.lua, work in progress. 2017-08-03 00:27:16 +10:00
bd41474e31 fixed sha256.lua, included it in the kernel. 2017-08-02 18:00:03 +10:00
0eeb2a3a58 added sha256 from SecureOS 2017-08-02 17:35:35 +10:00
593f6c40c0 a bunch of random bugfixes 2017-08-01 23:59:29 +10:00
ac12f3a940 added an alias io.read = readln 2017-08-01 21:39:10 +10:00
a6323122ba fixed an issue with path resolution 2017-08-01 18:13:31 +10:00
fcaf9dff75 added a cat() function to shutil 2017-08-01 16:56:33 +10:00
72e71c4c23 fixed a few stupid bugs with shutil and fs 2017-08-01 16:29:56 +10:00
ba8a800940 moved cd() into a new library, shutil. 2017-08-01 15:49:39 +10:00
2aa6976c32 fixed path resolving and a few functions 2017-08-01 15:45:22 +10:00
bec97bb026 added fs utility functions 2017-08-01 14:36:38 +10:00
67789cccae also ported the MultICE io API 2017-07-31 12:10:24 +10:00
d477d9a069 added a ported, minimal version of the fs API from MultICE 2017-07-31 12:10:07 +10:00
611190b0bf fixed buffer.lua, now actually works. 2017-07-31 09:40:02 +10:00