Skip to content

Instantly share code, notes, and snippets.

#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.4.42-cher1 Kernel Configuration
#
#
# Compiler: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
#
CONFIG_CC_IS_GCC=y
diff -ruNp linux-5.4.42/arch/x86/ia32/sys_ia32.c linux-5.4.42-cher1/arch/x86/ia32/sys_ia32.c
--- linux-5.4.42/arch/x86/ia32/sys_ia32.c 2020-05-20 09:20:41.000000000 +0300
+++ linux-5.4.42-cher1/arch/x86/ia32/sys_ia32.c 2020-08-22 10:28:40.182204939 +0300
@@ -97,12 +97,26 @@ static int cp_stat64(struct stat64 __use
return 0;
}
+int cher_patch_is_secure_path(const char *);
+
COMPAT_SYSCALL_DEFINE2(x86_stat64, const char __user *, filename,
# ZSH Theme emulating the Fish shell's default prompt.
_nipnull_collapsed_wd() {
echo $(pwd | perl -pe '
BEGIN {
binmode STDIN, ":encoding(UTF-8)";
binmode STDOUT, ":encoding(UTF-8)";
}; s|^$ENV{HOME}|~|g; s|/([^/.])[^/]*(?=/)|/$1|g; s|/\.([^/])[^/]*(?=/)|/.$1|g
')
}
@Endevir
Endevir / .zshrc
Last active October 20, 2023 11:09
ZSHA_BASE=$HOME/.zsh
[[ -e ~/.profile ]] && emulate sh -c 'source ~/.profile'
source $ZSHA_BASE/antigen.zsh
HIST_STAMPS="dd.mm.yyyy"
UPDATE_ZSH_DAYS="30"
COMPLETION_WAITING_DOTS="true"
ANTIGEN_PLUGIN_UPDATE_DAYS=30
ANTIGEN_SYSTEM_UPDATE_DAYS=30
@Endevir
Endevir / .vimrc
Last active October 30, 2023 10:36
My simple vimrc
set expandtab
set tabstop=4
set shiftwidth=4
set autoindent
set smartindent
set bg=dark
set nowrap
set nu
map <F2> :retab <CR> :wq! <CR>
map <F3> :set ff=unix <CR> :w <CR>
@Endevir
Endevir / tmux.conf
Last active August 18, 2023 16:43
My tmux.conf
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000