Commit Graph

61 Commits

Author SHA1 Message Date
bbead5d252 moved the execute part of lush into shutil 2017-10-08 00:24:01 +11:00
e1f8f6697e cp may work properly on large files now, previous method was a horrid hack 2017-10-07 05:54:51 +00:00
92a8066890 made forked programs output their end result to the log 2017-10-07 05:54:51 +00:00
31309f3d2d moved the run-related functions into the fs library 2017-10-07 05:54:51 +00:00
faac6621a5 made fs.cp fail if either handle fails to open. ??? 2017-10-07 05:54:51 +00:00
cc7df2a95d added less severe failure conditions to shutil, luash should crash less now. 2017-10-07 05:54:51 +00:00
ae083f57d9 the nobody UID is no longer allowed to read or write files 2017-10-07 05:54:51 +00:00
4e3b65ad38 canwrite(p) actually works now 2017-10-07 05:54:51 +00:00
dcb37236af convinced the io.open stuff to work properly 2017-10-07 05:54:51 +00:00
cab958f677 moved checks to more generic canread() and canwrite() functions 2017-10-07 05:54:51 +00:00
d6b9b1db3a exposed parseacl as part of _G 2017-10-07 05:54:51 +00:00
83ed6019cd made setattr() convert values to strings 2017-10-07 05:54:51 +00:00
4b89084432 can only r/w attributes if you have r/w permissions in the attributes 2017-10-07 05:54:51 +00:00
8458bf5fc7 made fs attribute loading spam the log less. 2017-10-07 05:54:51 +00:00
10f7a53cdd added some basic fs attribute support, stored in memory. 2017-10-07 05:54:51 +00: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