OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 16, 2024 4:09 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Sortix 1.0
PostPosted: Sun Apr 03, 2016 2:46 pm 
Offline
Member
Member
User avatar

Joined: Wed Mar 21, 2012 3:01 pm
Posts: 930
Thanks Roman and omarrx024 for trying it out and leaving a message. It means a lot to me. Thanks also to Kazinsal for graciously setting up a mirror.

Roman, if you don't want to **** up your system, then don't kill init. :) That said, the system should panic then (due to abnormal exit of init), but there's a bug where init deadlocks the system on exit if it has children remaining.


Top
 Profile  
 
 Post subject: Re: Sortix 1.0
PostPosted: Mon Apr 04, 2016 6:38 pm 
Offline
Member
Member

Joined: Sat Oct 16, 2010 3:38 pm
Posts: 587
sortie wrote:
Thanks Roman and omarrx024 for trying it out and leaving a message. It means a lot to me. Thanks also to Kazinsal for graciously setting up a mirror.

Roman, if you don't want to **** up your system, then don't kill init. :) That said, the system should panic then (due to abnormal exit of init), but there's a bug where init deadlocks the system on exit if it has children remaining.

Sounds like a bad idea. I can just "sudo kill -9 init" to cause a panic. I'd recommend changing this so that kill() can never deliver certain signals to init.


Top
 Profile  
 
 Post subject: Re: Sortix 1.0
PostPosted: Wed Apr 06, 2016 1:07 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 03, 2015 9:41 am
Posts: 492
Tested. Great OS. I like your asteroids game!

_________________
Developing U365.
Source:
only testing: http://gitlab.com/bps-projs/U365/tree/testing

OSDev newbies can copy any code from my repositories, just leave a notice that this code was written by U365 development team, not by you.


Top
 Profile  
 
 Post subject: Re: Sortix 1.0
PostPosted: Wed Apr 06, 2016 5:17 pm 
Offline
Member
Member
User avatar

Joined: Wed Mar 21, 2012 3:01 pm
Posts: 930
mariuszp, well, don't do that then. As root you can kill any process, and there's lots of processes besides init you can kill that would **** up your running system. The obvious case is the ext2 filesystem driver which is an user-space filesystem. There'll be more cases as I add more daemons in the future. You can also delete all files. Feels a bit weird to zoom in on this particular issue when there's lots other ways root can mess things up, and you're never going to normally be killing init anyway.

catnikita255, thanks! It means a lot that you tried it out. I like my asteroids game too. The source is included so it's possible to mod it and turn it into something new. I should do that, I have some ideas.


Top
 Profile  
 
 Post subject: Re: Sortix 1.0
PostPosted: Fri Apr 08, 2016 10:22 am 
Offline
Member
Member
User avatar

Joined: Fri Apr 03, 2015 9:41 am
Posts: 492
I've also found a bug or cheat in it - pressing B creates second spaceship that follows you, and pressing A creates some kind of black hole.

_________________
Developing U365.
Source:
only testing: http://gitlab.com/bps-projs/U365/tree/testing

OSDev newbies can copy any code from my repositories, just leave a notice that this code was written by U365 development team, not by you.


Top
 Profile  
 
 Post subject: Re: Sortix 1.0
PostPosted: Tue Apr 12, 2016 3:31 pm 
Offline
Member
Member

Joined: Sat Nov 07, 2015 3:12 pm
Posts: 145
Windows prevents you killing vital programs started over the " system" user. Even with admin rights, you cannot kill them ( unless you open a task manager for that user but this is tricky )

This is really frustrating. As a almighty user in my system, I want full control over the stupid things I do.
I'm okay with the no init=panic rule.


Top
 Profile  
 
 Post subject: Re: Sortix 1.0
PostPosted: Fri Apr 15, 2016 12:43 pm 
Offline
Member
Member
User avatar

Joined: Mon Mar 05, 2012 11:23 am
Posts: 616
Location: Germany
When you kill the spawner process in Ghost, you can't launch any executable anymore, thus leaving the system unusable. I think it's ok to be able to funk up the system as the root user.

_________________
Ghost OS - GitHub


Top
 Profile  
 
 Post subject: Re: Sortix 1.0
PostPosted: Wed Apr 20, 2016 2:23 pm 
Offline
Member
Member
User avatar

Joined: Wed Mar 21, 2012 3:01 pm
Posts: 930
catnikita255 wrote:
I've also found a bug or cheat in it - pressing B creates second spaceship that follows you, and pressing A creates some kind of black hole.

Yep. Those are features.


Top
 Profile  
 
 Post subject: Re: Sortix 1.0
PostPosted: Wed Apr 20, 2016 2:54 pm 
Offline
Member
Member
User avatar

Joined: Mon Apr 18, 2016 9:50 am
Posts: 138
Location: New York New York
Quote:
As a almighty user in my system, I want full control over the stupid things I do.


Quote:
Shouldn't it just shutdown or refuse to be killed?


Cognative dissonance?

_________________
The OS is P5. Don't expect it to build.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group