aboutsummaryrefslogtreecommitdiffstats
path: root/sway/main.c
Commit message (Collapse)AuthorAge
* log env after ipc initLibravatar Tony Crisci2017-12-02
|
* remove nvidia support claimLibravatar Tony Crisci2017-11-28
|
* Wire up IPC serverLibravatar Drew DeVault2017-11-22
|
* Add outputs to the treeLibravatar Drew DeVault2017-11-19
|
* Move everything to sway/old/Libravatar Drew DeVault2017-11-18
|
* Initialize outputs from backend and add to treeLibravatar Drew DeVault2017-11-11
|
* Fire up the wlroots backend and run the event loopLibravatar Drew DeVault2017-11-11
|
* nvidia: Validate the nvidia_drm module optionsLibravatar Dan Robertson2017-10-24
| | | | | When the proprietary nvidia driver is used, ensure the modeset option is set instead of checking /proc/cmdline for nvidia-drm.modeset=1.
* Check for Raspberry PiLibravatar azarus2017-08-14
|
* FreeBSD fixesLibravatar johalun2017-06-06
| | | | | | | Increase _POSIX_SOURCE value where needed. Increase _XOPEN_SOURCE value where needed. Conditionally link to libcap (only on Linux). Possibly some trailing whitespace fixes (automatic).
* Terminate when both suid bit and filecaps are setLibravatar Mykyta Holubakha2017-05-11
|
* Initialise logging earlierLibravatar Mykyta Holubakha2017-05-11
|
* Add -DVERSION flag for release version numbersLibravatar Sebastian Noack2017-04-26
|
* Implement more thourough nvidia config checkLibravatar Drew DeVault2017-04-12
|
* Downgrade nvidia proprietary driver warningLibravatar Drew DeVault2017-04-12
|
* Add libcap check to CMakeLibravatar JerziKaminsky2017-04-07
| | | | | | | | | | | - Moved ``<sys/capability.h>`` include inside `__linux__` guard, because all uses are similarly guarded. - <sys/capability.h> is part of an optional devel package, at least in fedora. CMake now explicitly checks that libcap devel files are available. - Added libcap to the list of install packages in .travis.yml, to make the dependency explicit. travis-ci installs the package by default, which is why this hasn't surfaced previously.
* UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
|
* Move env logging to earlier than wlc_initLibravatar Drew DeVault2017-02-23
|
* Read configs from /etc/sway/security.d/*Libravatar Drew DeVault2017-02-20
|
* Unset LD_LIBRARY_PATH, unless specifiedLibravatar Mykyta Holubakha2017-01-16
|
* Log capability droppingLibravatar Mykyta Holubakha2017-01-12
|
* Keep CAP_SYS_PTRACE with suid binaryLibravatar Mykyta Holubakha2017-01-12
|
* Change how security config is loaded0.11-rc3Libravatar Drew DeVault2016-12-17
|
* Handle malloc failures from read_lineLibravatar Drew DeVault2016-12-15
|
* Fix build on FreeBSDLibravatar Greg V2016-12-09
| | | | | | | | | - Make sure CMake always finds absolute paths for Cairo, Pango and GdkPixbuf - Add forgotten json-c include path to swaymsg/CMakeLists.txt - Disable -Werror because of assert warnings - Add correct /proc/pid/file path for FreeBSD - Use libepoll-shim on FreeBSD - Only use Linux capabilities on, well, Linux
* Decrement expected_lenLibravatar Drew DeVault2016-12-04
|
* Drop restart command from sanity checkLibravatar Drew DeVault2016-12-04
| | | | Since we don't actually have one of those
* Check for CAP_SYS_PTRACELibravatar Drew DeVault2016-12-02
|
* Deal with LD_LIBRARY_PATHLibravatar Drew DeVault2016-12-02
|
* Unset LD_PRELOAD on startup (before dropping root)Libravatar Drew DeVault2016-12-02
| | | | | | LD_PRELOAD enables keyloggers to easily be made. This solution isn't perfect - really a secure system wouldn't have LD_PRELOAD at all. It was a stupid idea in the first place.
* Flesh out security_sanity_checkLibravatar Drew DeVault2016-12-02
|
* Shut Clang upLibravatar Drew DeVault2016-12-01
|
* Write example security config, start on codeLibravatar Drew DeVault2016-12-01
|
* Log LD_LIBRARY_PATHLibravatar Drew DeVault2016-10-27
|
* Remove duplicate redhat-release lineLibravatar Drew DeVault2016-10-27
|
* Log uname -a on startupLibravatar Drew DeVault2016-10-27
|
* Log contents of distro version filesLibravatar Drew DeVault2016-10-27
|
* Log important env vars on startupLibravatar Drew DeVault2016-10-27
|
* moved ipc_init above config file processing.Libravatar Patrick Sauter2016-10-02
| | | | | | | This is necessary because commands in the config file (mode for instance) emit ipc events, and if ipc_init has not been called the ipc_clients_list is not initialized, and we segfault. This fixes that bug.
* Split setgid and setuid, add privilege checkLibravatar D.B2016-09-20
| | | | | | | This commit deals with issue #884. I consulted the following sources: https://www.securecoding.cert.org/confluence/display/c/POS36-C.+Observe+correct+revocation+order+while+relinquishing+privileges and https://www.securecoding.cert.org/confluence/display/c/POS37-C.+Ensure+that+privilege+relinquishment+is+successful
* Reorganize includesLibravatar Drew DeVault2016-09-01
|
* sway/main.c: simplify free'ing by switching to the helper methodLibravatar Daniel Lockyer2016-05-05
|
* Update to wlc 0.0.20.5Libravatar Drew DeVault2016-04-16
|
* Implement include commandLibravatar Mikkel Oscar Lyderik2016-03-26
| | | | | | | | | | | | | | | | | | | | The include command (`include <path>`) makes it possible to include sub config files from the main config file (or from within other sub config files). The include command uses the following rules for including config files: * the `path` can be either a full path or a path that is relative to the parent config. Shell expansion is supported, so it's possible to do `include ~/.config/sway.d/*`. * The same config file can only be included once (to prevent include cycles). If a config is included multiple times it will just be ignored after it has been included once. * Including a sub config file is the same as inserting the content of that file into the parent config, thus rules about overwriting bindsyms etc. works the same as for a single config. Implement #542
* Gracefully exit when config is not foundLibravatar Mikkel Oscar Lyderik2016-03-24
| | | | | This makes sure that sway will gracefully exit if the config is not found or sway is unable to read it.
* Make the nvidia warning louderLibravatar Drew DeVault2016-03-24
|
* Don't set WLC_DIM on startup0.1Libravatar Drew DeVault2016-03-24
|
* Update to new WLC APILibravatar Drew DeVault2016-03-24
|
* Free config before exiting sway.Libravatar Mikkel Oscar Lyderik2016-02-27
| | | | | | Apart from freeing the sway_config struct, this also terminates the swaybars spawned by sway, since they are linked by PID to the bar config structs.
* Correctly exit sway on errors.Libravatar Mikkel Oscar Lyderik2016-02-26
| | | | | | | | Calling `exit` in sway_terminate prevents sway from correctly shutting down (freeing data, cleanly terminating the ipc server, etc.). A better way is to exit straight away if the failure occurs before `wlc_run` and use sway_abort as usual if it occur when wlc is running.