summaryrefslogtreecommitdiff
path: root/Base/etc
AgeCommit message (Collapse)Author
2020-05-09LaunchServer: Don't use SystemServer keepaliveAndreas Kling
2020-05-09LaunchServer: Run with portal permissions 600Andreas Kling
The LaunchServer is personal to "anon" and we don't want other users accessing it to launch anything.
2020-05-09LaunchServer: Add the LaunchServer to centralise file associations.Nicholas Hollett
Step one of moving DesktopServices::open handling out of process. This makes it easier to do things like read in associations for which program opens which files or protocols. This gives users the ability to modify the associations without having to rebuild :^)
2020-04-18Base: Start a desktop FileManager by default! :^)Andreas Kling
2020-04-18Base files: Add protocols fileRead H
This commit adds the standard /etc/protocols file to the base files to be used by netdb's protoent family of functions.
2020-04-16Base Files: Add services file.Read H
Adding the services database file to /etc/services. This is the most common location for this file in *nix systems.
2020-04-11MenuApplets: Support memory usage and custom colors in ResourceGraphLinus Groh
The ResourceGraph menu applet now supports a few command line options: --cpu / -C to display a CPU usage graph --memory / -M to display a memory usage graph --name / -n to set a name which is used to order applets --color / -c to set the graph color (supports anything Gfx::Color::from_string() understands) The SystemServer.ini and WindowServer.ini config files have been updated to spawn and show two ResourceGraph menu applets, one for CPU usage (green) and one for memory usage (cyan) - this matches the colors in the SystemMonitor graphs.
2020-04-11MenuApplets: Rename CPUGraph to ResourceGraphLinus Groh
The plan is to extend what currently is known as "CPUGraph" and let the SystemServer spawn multiple instances of it - which then can show memory or network usages as well :^) Simply renaming the applet is the first step.
2020-04-06Kernel & Userland: Allow to mount image files formatted with Ext2FSLiav A
2020-04-06DHCPClient: Log errors and cleanup the codeAnotherTest
Prior to this, we ran the DHCP client as a high-priority service, but making the system feel laggy "for some network stuff" is not the greatest of ideas :^)
2020-04-05Servers: Add a new DHCP clientAnotherTest
This adds a DHCPClient...Server that leases IPv4s.
2020-04-03Revert "Kernel & Userland: Allow to mount image files formatted with Ext2FS"Andreas Kling
This reverts commit a60ea79a41845767ce40f225de20da7c99534ad1. Reverting these changes since they broke things. Fixes #1608.
2020-04-02Kernel & Userland: Allow to mount image files formatted with Ext2FSLiav A
2020-03-31Base: Change root user home directory from `/` to `/root`Brendan Coles
2020-03-18SystemServer: Add WorkingDirectory supportItamar
Services can now have their initial working directory configured via `SystemServer.ini`. This commit also configures Terminal's working directory to be /home/anon
2020-03-03Base: Add anon user to the phys groupAndreas Kling
This allows anon to shut down and reboot the system. Fixes #775.
2020-02-23SystemMenu: Move SystemDialog into SystemMenu and remove INI configthatlittlegit
I probably would've done INI config removal in another commit, but it fit well here because I didn't want to pledge wpath for SystemMenu if I didn't need to. Frankly, that's something that I think should be done: allow ConfigFile to be used read-only.
2020-02-23SystemDialog: Revamp to be more Win95-likethatlittlegit
Only thing I don't like right now is the fact that we rely on the shell.
2020-02-17SystemMenu: Finish the implementation and start this at boot :^)Andreas Kling
Fixes #1231.
2020-02-16NotificationServer: Add a system service for desktop notificationsAndreas Kling
This patch adds NotificationServer, which runs as the "notify" user and provides an IPC API for desktop notifications. LibGUI gains the GUI::Notification class for showing notifications. NotificationServer is spawned on demand and will unspawn after dimissing all visible notifications. :^) Finally, this also comes with a small /bin/notify utility.
2020-02-16Base: Run WindowServer as a separate "window" userAndreas Kling
This was actually rather painless and straightforward. WindowServer now runs as the "window" user. Users in the "window" group can connect to it via the socket in /tmp/portal/window as usual.
2020-02-16WindowServer: Move configuration file into /etc/WindowServerAndreas Kling
This is in preparation for running WindowServer as a separate user.
2020-02-09WindowServer: Remove username from MenuManager.Hüseyin ASLITÜRK
Now, we have UserName applet.
2020-01-26LookupServer: Rename setting "DNS/IPAddress" => "DNS/Nameserver"Andreas Kling
2020-01-12Kernel+Base: Mount root as nodev,nosuidSergey Bugaev
Then bind-mount /dev and /bin while adding back the appropriate permissions :^)
2020-01-11Base: Apply some filesystem flags by defaultSergey Bugaev
Notably, /tmp is now mounted nodev,nosuid :^)
2020-01-11Base: Run ProtocolServer as a separate "protocol" userAndreas Kling
This is probably not the final design we'll want for this, but for now let's run the HTTP client code as a separate user to reduce exposure for the standard "anon" user account. Note that "protocol" is also added to the "lookup" group, in order to allow ProtocolServer to contact LookupServer for DNS requests.
2020-01-09Base: Add a "lookup" user+group that runs LookupServerAndreas Kling
LookupServer now runs as lookup:lookup, allowing connections from other members of the "lookup" group. This is enforced through file system permissions by having the service socket (/tmp/portal/lookup) be mode 0660. Now the LookupServer program can't overwrite other people's files if it starts misbehaving. That's pretty cool :^)
2020-01-04Base: Add an "audio" group that gets to write to /dev/audioAndreas Kling
2020-01-04Base: Add a "phys" group for users with physical accessAndreas Kling
Only users in this group can access the screen, mouse and keyboard.
2020-01-04Base: Add "tty" group and make /dev/tty* be root:tty mode 610Andreas Kling
This fixes an issue where anyone could snoop on the virtual consoles.
2019-12-27WindowServer: Remove Clock from server.Hüseyin ASLITÜRK
We have clock applet.
2019-12-16WindowServer+MenuApplets: Move the "Audio" applet to its own programAndreas Kling
This patch introduces the second MenuApplet: Audio. To make this work, menu applet windows now also receive mouse events. There's still some problem with mute/unmute via clicking not actually working, but the call goes from the applet program over IPC to the AudioServer, where something goes wrong with the state change message. Need to look at that separately. Anyways, it's pretty cool to have more applets running in their own separate processes. :^)
2019-12-11LookupServer: Switch to a more privacy-respecting DNS providerValtteri Koskivuori
2019-12-05CPUGraph: Launch the CPUGraph menu applet on startupAndreas Kling
2019-11-26SystemServer: Implement lazy spawningSergey Bugaev
For services explicitly configured as lazy, SystemServer will now listen on the socket and only spawn the service once a client attempts to connect to the socket.
2019-11-26LookupServer: Port to socket takeoverSergey Bugaev
2019-11-26ProtocolServer: Port to socket takeoverSergey Bugaev
2019-11-26AudioServer: Port to socket takeoverSergey Bugaev
2019-11-26WindowServer: Port to socket takeoverSergey Bugaev
2019-11-26SystemServer: Implement keepaliveSergey Bugaev
When reaping a child, SystemServer will now match up child's pid with its own record of the services, and respawn the service if keepalive is enabled for it. For example, we want to restart the WindowServer if it crashes, but we wouldn't want to restart the Terminal if it gets closed.
2019-11-26SystemServer: Read service list from a config fileSergey Bugaev
This replaces the hardcoded services list with a very simple config file in /etc/SystemServer.ini :^) Closes https://github.com/SerenityOS/serenity/issues/610
2019-08-17Kernel+SystemServer: Mount filesystems and start TTYServer in userspaceSergey Bugaev
2019-06-07LookupServer: Load hostnamesChristopher Dumas
2019-05-27Network stack is now configurable, and resolution is also configurable, but ↵Christopher Dumas
loading cursors causes a page-fault?
2019-02-21Kernel+Userland: Implement setuid() and setgid() and add /bin/suAndreas Kling
Also show setuid and setgid bits in "ls -l" output. :^)
2019-02-10Base: Rename /users to /home.Andreas Kling
I didn't like seeing /users next to /usr. /home looks nicer.
2019-01-30Rename the default user to "anon" and give him a home directory.Andreas Kling
2019-01-24Let userland retain the window backing store while drawing into it.Andreas Kling
To start painting, call: gui$get_window_backing_store() Then finish up with: gui$release_window_backing_store() Process will retain the underlying GraphicsBitmap behind the scenes. This fixes racing between the WindowServer and GUI clients. This patch also adds a WSWindowLocker that is exactly what it sounds like.
2018-11-17Make bash-2.05b build with minimal changes.Andreas Kling
This is really neat. :^)