This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 0aab2bbbe2f0b31ff725739621fbe0f43803ead2 Mon Sep 17 00:00:00 2001 | |
From: Arkadiusz Hiler <ahiler@codeweavers.com> | |
Date: Mon, 1 Nov 2021 14:25:42 +0200 | |
Subject: [PATCH] HAX: Disable fsync if we detect the old futex2 patches. | |
futex_waitv() has been accepted into locking/core branch of kernel.org's | |
tip repo and has a fixed syscall number. | |
Even though the syscall number matches (449) there were changes that | |
result in 100% CPU utilization at all times when running with the old, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ivyl@failcraft $ modinfo hid_xpadneo | head -n 2 | |
filename: /lib/modules/5.11.11-zen1-1-zen/kernel/drivers/hid/hid-xpadneo.ko.xz | |
version: v0.9-51-gfa41a04 | |
ivyl@failcraft $ SDL_JOYSTICK_HIDAPI=1 ./sdl-enum | |
Joystick 0: "Xbox One Series X Controller" | |
PIDVIDVER: 045e:0b13:0000 | |
IsGameController: 1 | |
Joystick 1: "Xbox One S Controller" | |
PIDVIDVER: 045e:02e0:0903 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
insmod part_gpt | |
insmod luks | |
insmod gcry_sha1 | |
insmod gcry_rijndael | |
set timeout_style=hidden | |
set timeout=1 | |
menuentry 'Arch' { | |
cryptomount (ahci0,gpt2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/meson.build b/lib/meson.build | |
index 94ea0799..04b4fff6 100644 | |
--- a/lib/meson.build | |
+++ b/lib/meson.build | |
@@ -121,6 +121,7 @@ if libdrm_intel.found() | |
else | |
lib_headers += 'stubs/drm/intel_bufmgr.h' | |
lib_sources += 'stubs/drm/intel_bufmgr.c' | |
+ inc = [inc, include_directories('stubs/drm')] | |
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir aosp && cd aosp | |
repo init -u https://android.googlesource.com/platform/manifest | |
(cd .repo/manifests/ && curl -O https://gist.githubusercontent.com/ivyl/1e05af15ae37b575e03dc69e5e2488fc/raw/b2c2e5bc6fbe80da479e7e656b57481f5af5dc63/igt.xml) | |
repo init -m igt.xml | |
repo sync -c | |
source build/envsetup.sh | |
lunch aosp_x86_64-eng |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -ue | |
if ! command -v xdotool &> /dev/null; then | |
printf "You need to install xdotool.\n" 1>&2 | |
exit 1 | |
fi | |
output="$(pass $@)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("facebook.com") { | |
div[id^="topnews_main_stream_"] | |
{ | |
display: none; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'base32' | |
key = [ARGV.first].pack("H*") | |
puts Base32.encode(key) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
KERNEL_SRC=~/src/linux | |
MODULE=ahwfs | |
SSH_HOST=dm | |
TMP=/tmp/gdb-init | |
case "$1" in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <linux/init.h> | |
#include <linux/module.h> | |
#include <linux/proc_fs.h> | |
#include <linux/string.h> | |
#include <linux/cred.h> | |
#include <linux/fs.h> | |
//typesafe macro for getting minimum value | |
#define MIN(a,b) \ | |
({ typeof (a) _a = (a); \ |
NewerOlder