Commit Graph

124 Commits

Author SHA1 Message Date
99b4bc3b71 made autorun not crash the system. kinda important 2017-09-23 18:52:09 +10:00
237b1c5e09 moved the run-related functions into the fs library 2017-09-23 18:19:01 +10:00
b271341b2b made fs.cp fail if either handle fails to open. ??? 2017-09-23 11:22:33 +10:00
3cf9a5e42a added less severe failure conditions to shutil, luash should crash less now. 2017-09-18 07:51:48 +10:00
3c6ac7db1a the nobody UID is no longer allowed to read or write files 2017-09-15 19:56:35 +10:00
1e8c16e691 canwrite(p) actually works now 2017-09-15 19:52:56 +10:00
8f80df31ea Merge branch 'master' into fsdev 2017-09-15 19:47:55 +10:00
580f975263 convinced the io.open stuff to work properly 2017-09-15 19:30:04 +10:00
3c84f6224b moved checks to more generic canread() and canwrite() functions 2017-09-15 17:40:34 +10:00
f2fb71d030 made user stuff less spammy. 2017-09-15 16:07:18 +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
61bf854539 made the login setup saner. 2017-09-14 16:21:32 +10:00
64d3958451 made readut self-contained. 2017-09-14 16:21:09 +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
5caeb70592 Merge branch 'master' of github.com:XeonSquared/PsychOS 2017-09-14 00:03:10 +10:00
781ac82904 same as the last one except luash has better sandboxing now 2017-09-13 13:37:26 +10:00
da62de5514 added libwrap to genkernel() for wrapping require style libs 2017-09-13 13:15:38 +10:00
c76bc60a20 some cleaning up 2017-09-13 13:06:17 +10:00
cce84dc5c5 convert luash to a fwrappable program 2017-09-13 12:52:03 +10:00
5557cd4d41 made autorun comply with my FHS 2017-09-13 12:19:12 +10:00
7ee15582a1 Merge branch 'master' of github.com:XeonSquared/PsychOS 2017-09-12 17:50:44 +10:00
c3acea92d0 made the copper packet IDs only use printable characters 2017-09-12 17:50:32 +10:00
d2a0fa5910 made the copper repeat timeout configurable 2017-09-12 17:43:41 +10:00
10615bfecb made logflush use the newer APIs and shit 2017-09-11 13:52:44 +10:00
21a9c66d8d made stuff use computer.uptime because it always returns seconds 2017-09-10 15:23:46 +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
48f3576581 fixed that issue with log() where it DOESN'T WORK 2017-09-09 21:23:26 +10:00
a7be3ada0d added some better copper configuration stuff. 2017-09-09 21:22:58 +10:00
74c9030668 added a way to set the current user. security implications: 0, because I don't have any perms. 2017-09-09 21:20:26 +10:00
e745ae05e9 more logging improvements 2017-09-08 14:50:34 +10:00
fa15579f9f improved logging significantly 2017-09-07 22:09:48 +10:00
c83fd7a482 made luash not crash without login() 2017-09-07 13:12:48 +10:00
56aca17c96 added a simple password protection system 2017-09-07 13:12:10 +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
b60a7161ab made fs-automount quiet, now uses log() 2017-09-05 19:43:46 +10:00
b5011de5ab don't start luash() automatically when headless 2017-09-05 19:43:23 +10:00
bfd5ea7cb4 improved motd stuff 2017-09-05 19:42:56 +10:00
fa3338589f made readline return false when ctrl-shift-c is pressed. 2017-09-05 19:08:51 +10:00
98e9b95f54 made luash print the motd 2017-09-05 19:08:24 +10:00
7dee940cf2 made spawn() return the pid of the spawned process 2017-09-05 19:07:13 +10:00