Skip to contentSkip to conversation

package/x11r7/xserver_xorg-server: rename patch directory after the last version bump

Buildroot Thomas Petazzoni 1 participant 1 message Oct 7, 2017

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=7cf8a08feb67052d9b3502dbdcbeaeda26b55665
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The last bump [1] forgot to rename the patch directory and remove upstream patches.

We still need to fix the monotonic clock check which doesn't work when cross-compiling.

[1] 436659c55f8d3c6155546cfc666a13c793d992f9

---
 ...target-buffer-in-SProcXSendExtensionEvent.patch | 39 ------------
 ...isallow-GenericEvent-in-SendEvent-request.patch | 71 ----------------------
 ...ify-all-events-in-ProcXSendExtensionEvent.patch | 50 ---------------
 .../0007-Xi-Do-not-try-to-swap-GenericEvent.patch  | 45 --------------
 .../0001-modesettings-needs-dri2.patch             |  0
 ...onfigure.ac-Fix-check-for-CLOCK_MONOTONIC.patch |  0
 .../0003-Remove-check-for-useSIGIO-option.patch    |  0
 7 files changed, 205 deletions(-)
package/x11r7/xserver_xorg-server/1.19.3/0004-Xi-Zero-target-buffer-in-SProcXSendExtensionEvent.patch deleted +0 -39
deleted file mode 100644
index c15dc9f..0000000
@@ -1,39 +0,0 @@
-From 05442de962d3dc624f79fc1a00eca3ffc5489ced Mon Sep 17 00:00:00 2001
-From: Michal Srb <[email protected]>
-Date: Wed, 24 May 2017 15:54:39 +0300
-Subject: [PATCH] Xi: Zero target buffer in SProcXSendExtensionEvent.
-
-Make sure that the xEvent eventT is initialized with zeros, the same way as
-in SProcSendEvent.
-
-Some event swapping functions do not overwrite all 32 bytes of xEvent
-structure, for example XSecurityAuthorizationRevoked. Two cooperating
-clients, one swapped and the other not, can send
-XSecurityAuthorizationRevoked event to each other to retrieve old stack data
-from X server. This can be potentialy misused to go around ASLR or
-stack-protector.
-
-Signed-off-by: Michal Srb <[email protected]>
-Reviewed-by: Peter Hutterer <[email protected]>
-Signed-off-by: Peter Hutterer <[email protected]>
-Signed-off-by: Peter Korsgaard <[email protected]>
----
- Xi/sendexev.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Xi/sendexev.c b/Xi/sendexev.c
-index 11d82029f..1cf118ab6 100644
---- a/Xi/sendexev.c
-+++ b/Xi/sendexev.c
-@@ -78,7 +78,7 @@ SProcXSendExtensionEvent(ClientPtr client)
- {
-     CARD32 *p;
-     int i;
--    xEvent eventT;
-+    xEvent eventT = { .u.u.type = 0 };
-     xEvent *eventP;
-     EventSwapPtr proc;
- 
--- 
-2.11.0
-
package/x11r7/xserver_xorg-server/1.19.3/0005-dix-Disallow-GenericEvent-in-SendEvent-request.patch deleted +0 -71

71 lines not on this page · raw message

package/x11r7/xserver_xorg-server/1.19.3/0006-Xi-Verify-all-events-in-ProcXSendExtensionEvent.patch deleted +0 -50

50 lines not on this page · raw message

package/x11r7/xserver_xorg-server/1.19.3/0007-Xi-Do-not-try-to-swap-GenericEvent.patch deleted +0 -45

45 lines not on this page · raw message

package/x11r7/xserver_xorg-server/1.19.4/0001-modesettings-needs-dri2.patch renamed from package/x11r7/xserver_xorg-server/1.19.3/0001-modesettings-needs-dri2.patch +0 -0
similarity index 100%
rename from package/x11r7/xserver_xorg-server/1.19.3/0001-modesettings-needs-dri2.patch
rename to package/x11r7/xserver_xorg-server/1.19.4/0001-modesettings-needs-dri2.patch
package/x11r7/xserver_xorg-server/1.19.4/0002-configure.ac-Fix-check-for-CLOCK_MONOTONIC.patch renamed from package/x11r7/xserver_xorg-server/1.19.3/0002-configure.ac-Fix-check-for-CLOCK_MONOTONIC.patch +0 -0
similarity index 100%
rename from package/x11r7/xserver_xorg-server/1.19.3/0002-configure.ac-Fix-check-for-CLOCK_MONOTONIC.patch
rename to package/x11r7/xserver_xorg-server/1.19.4/0002-configure.ac-Fix-check-for-CLOCK_MONOTONIC.patch
package/x11r7/xserver_xorg-server/1.19.4/0003-Remove-check-for-useSIGIO-option.patch renamed from package/x11r7/xserver_xorg-server/1.19.3/0003-Remove-check-for-useSIGIO-option.patch +0 -0
similarity index 100%
rename from package/x11r7/xserver_xorg-server/1.19.3/0003-Remove-check-for-useSIGIO-option.patch
rename to package/x11r7/xserver_xorg-server/1.19.4/0003-Remove-check-for-useSIGIO-option.patch