aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2017-05-17Revert "Drop epoll dependency"Drew DeVault-0/+21
This reverts commit 91f2bf81bf89699d43083f3d3a27805ba5e395a9.
2017-05-17Drop epoll dependencyDrew DeVault-21/+0
2017-05-11Merge pull request #1218 from Hummer12007/suicapsDrew DeVault-41/+65
Terminate when both suid bit and filecaps are set
2017-05-11Replace spaces with tabs in resolve_pathMykyta Holubakha-33/+33
2017-05-11Terminate when both suid bit and filecaps are setMykyta Holubakha-0/+23
2017-05-11Initialise logging earlierMykyta Holubakha-8/+9
2017-05-11Mention Patreon in README.mdDrew DeVault-3/+6
Does this make me a sellout
2017-05-06Merge pull request #1211 from wdbw/missing-send-eventDrew DeVault-1/+1
Add missing send-event mode to sway-input(5)
2017-05-06Add missing send-event mode to sway-input(5)wdbw-1/+1
Also, fix a small typo.
2017-05-04Merge pull request #1209 from janza/mouse-bindingsDrew DeVault-0/+28
Add mouse button bindings
2017-05-04Add mouse button bindingsJosip Janzic-0/+28
Adds support for bindings like: bindsym button3 floating toggle bindsym $mod+button3 floating toggle
2017-05-01Merge pull request #1206 from zandrmartin/document-font-commandDrew DeVault-0/+5
document font command
2017-05-01document font commandZandr Martin-0/+5
2017-04-30Update config.inDrew DeVault-1/+0
swaymsg -t get_inputs now pretty prints its output, so this warning is obsolete
2017-04-29Merge pull request #1204 from zandrmartin/prevent-layout-auto-crashDrew DeVault-0/+4
prevent crash when `layout auto` is missing args
2017-04-29prevent crash when `layout auto` is missing argsZandr Martin-0/+4
2017-04-29Add HACKING.mdDrew DeVault-0/+35
2017-04-29Set child border to background if not specifiedDrew DeVault-0/+4
2017-04-29Merge pull request #1201 from SirCmpwn/fix-colorsDrew DeVault-12/+12
Support specifying fewer than 5 colors
2017-04-29Support specifying fewer than 5 colorsDrew DeVault-12/+12
This doesn't work, I'm not sure why. The color structs definitely get changed but if you specify fewer than 5, it renders with the defaults.
2017-04-26Update .build.ymlDrew DeVault-1/+1
2017-04-26Merge pull request #1196 from SirCmpwn/no_focusDrew DeVault-1/+80
Implement no_focus
2017-04-26Fix handling of floating windowsDrew DeVault-6/+12
2017-04-26Update sway(5)Drew DeVault-0/+4
2017-04-26Implement no_focusDrew DeVault-3/+72
Ref #2
2017-04-26Merge pull request #1194 from snoack/versionDrew DeVault-65/+20
Add -DVERSION flag for release version numbers
2017-04-26Fix link to dotfiles, closes #1193Drew DeVault-2/+2
2017-04-26Add -DVERSION flag for release version numbersSebastian Noack-65/+20
2017-04-24Merge pull request #1187 from 4e554c4c/masterDrew DeVault-1/+1
Fix typo in sway(5)
2017-04-23Fix typo in sway(5)Calvin Lee-1/+1
2017-04-20Merge pull request #1184 from JerziKaminsky/logging2Drew DeVault-11/+13
More Logging Fixes
2017-04-20Merge branch 'master' into logging2Drew DeVault-0/+0
2017-04-20Make sway_abort() report locationJerzi Kaminsky-11/+13
2017-04-19Merge pull request #1183 from sleep-walker/masterDrew DeVault-2/+2
explicitly ignore unused return value
2017-04-19explicitly ignore unused return valueTomáš Čech-2/+2
fixes issue#1182
2017-04-18Merge pull request #1181 from wasamasa/bugfix-initial-scratchpad-size0.13-rc1Drew DeVault-2/+2
Use i3's dimensions for initial scratchpad views
2017-04-18Merge pull request #1178 from 4e554c4c/forkDrew DeVault-2/+32
Prevent sway from duplicating on a failed fork
2017-04-18Use i3's dimensions for initial scratchpad viewsVasilij Schneidermann-2/+2
See https://github.com/i3/i3/blob/master/src/scratchpad.c#L196-L197
2017-04-18Prevent sway from duplicating on a failed forkCalvin Lee-2/+32
Also remove a useless `sway_log` and replace it with a pipe
2017-04-18Merge pull request #1180 from wasamasa/feature-move-to-scratchpadDrew DeVault-1/+4
Feature move to scratchpad
2017-04-18Implement and document `move [to] scratchpad`Vasilij Schneidermann-1/+4
2017-04-18Add .build.yml (for builds.sr.ht)Drew DeVault-0/+25
2017-04-16Merge pull request #1173 from JerziKaminsky/security_resolve_symlinkDrew DeVault-40/+179
FOR_REVIEW: IPC security - Allow policy targets to be symlinks
2017-04-16Handle symlinks as IPC security targetsJerzi Kaminsky-4/+45
- When policies are allocated, the ipc target path goes through symlink resolution. The result is used as the canonical for matching pids to policies at runtime. In particular, this matches up with the target of the `/proc/<pid>/exe`. - There's a possible race condition if this isn't done correctly, read below. Originally, validate_ipc_target() always tried to resolve its argument for symlinks, and returned a parogram target string if it validates. This created a possible race condition with security implications. The problem is that get_feature_policy() first independently resolved the policy target in order to check whether a policy already exists. If it didn't find any, it called alloc_feature_policy() which called validate_ipc_target() which resolved the policy target again. In the time between the two checks, the symlink could be altered, and a lucky attacker could fool the program into thinking that a policy doesn't exist for a target, and then switch the symlink to point at another file. At the very least this could allow him to create two policies for the same program target, and possibly to bypass security by associating the permissions for one target with another, or force default permissions to apply to a target for which a more specific rule has been configured. So we don't that. Instead, the policy target is resolved once and that result is used for the rest of the lookup/creation process.
2017-04-16Add resolve_path() to utilsJerzi Kaminsky-0/+49
2017-04-16Add validate_ipc_target()Jerzi Kaminsky-0/+46
2017-04-16Move get_feature_policy to sway/security.cJerzi Kaminsky-19/+22
2017-04-16Rename get_policy to get_feature_policyJerzi Kaminsky-3/+3
2017-04-16Disambiguate get_*_policy() and get_*_policy_mask()Jerzi Kaminsky-17/+17
2017-04-16Merge pull request #1175 from JerziKaminsky/fix_sway_assert_variadicDrew DeVault-8/+16
Fix multiple issues in sway_assert