Use bpf programs as filters for seccomp, the one in the example will block all the write syscalls after it's loaded.
Compile it with just
gcc main.c
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'tpope/vim-surround' | |
Plugin 'tpope/vim-commentary' | |
Plugin 'itchyny/lightline.vim' |
use strict; | |
use warnings; | |
use vars qw($VERSION %IRSSI); | |
use Irssi; | |
# Script info | |
$VERSION = '0.1'; | |
%IRSSI = ( | |
authors => 'Bas Stottelaar', |
kernel: writing '1' to tracing/tracing_on | |
kernel: writing 'nop' to tracing/current_tracer | |
kernel: writing 'local' to tracing/trace_clock | |
kernel: writing ' ' to tracing/set_ftrace_pid | |
kernel: writing ' ' to tracing/set_graph_function | |
kernel: writing ' ' to tracing/set_event_pid | |
kernel: writing ' ' to tracing/set_graph_notrace | |
kernel: writing '0' to tracing/options/event-fork | |
kernel: writing '0' to tracing/options/function-fork | |
kernel: writing ' ' to tracing/set_ftrace_filter |
--- qemu-2.5+dfsg/debian/rules 2016-04-19 18:48:46.000000000 +0300 | |
+++ qemu-2.5+dfsg.new/debian/rules 2017-07-25 23:38:18.882758751 +0300 | |
@@ -132,9 +132,13 @@ ifeq ($(enable_linux_user),enable) | |
$(MAKE) -C user-static-build V=${V} $(foreach t,${user_targets},subdir-${t}-linux-user) | |
endif | |
-ifneq ($(filter $(DEB_HOST_ARCH),s390 s390x),) | |
- $(MAKE) -C qemu-build/pc-bios/s390-ccw V=${V} | |
-endif | |
+#ifneq ($(filter $(DEB_HOST_ARCH),s390 s390x),) |
This is a full set of key bindings (as of Vimium v1.45); covering all Vimium functionality. I have tried to map all Vimium functionality to comparable Emacs functionality (whenever possible). In cases where there is no equivalent, those commands are prefixed by <c-g>
(indicating <c-g>
oogle Chrome; and because <c-g>
does not conflict with other Emacs shortcuts at all).
Commented Shortcuts: There are a few Emacs-style shortcuts that are simply not possible in Vimium. All of my shortcuts (including those which were not possible; i.e. where I used a decent alternative) have been commented below. This should help to clarify my rationale.
_Compatibility: All of these shortcuts were tested on Mac OS X (Mavericks). Please note that all of my shortcuts operate under the assumption that your Emacs Meta key is the ⌥
Alt/Option key. This really was my only choice, because the ⌘
key is already used in Chrome for shortcuts that c
u32 match udp does not work (nexthdr+0) => not follows nexthdr's port location
To use nexthdr you must use "offset" with hash table. U32 is universal (read line #2 in cls_u32.c), it does not know that you are using IPv4, so .. https://lartc.vger.kernel.narkive.com/KTD6vNXU/tc-u32-match-in-nexthdr-not-working
#!/bin/bash | |
# Do some errexit testing | |
# 0 - test success | |
# 1 - test simple fail | |
# 2 - test function fail | |
# | |
# in function | |
# N errexit errtrace pass? |
#!/bin/bash | |
#-*- mode: shell-script; -*- | |
prefix=/usr/local | |
objdir=$(readlink -f ${objdir:-${PWD}}) | |
builddir=${objdir}/.build | |
n_cpus=$(grep -c ^processor /proc/cpuinfo) |
pritunl[7643]: [patient-thunder-3756][2019-04-30 21:31:06,543][INFO] Starting server | |
pritunl[7643]: selinux_context = "system_u:system_r:pritunl_t:s0" | |
pritunl[7643]: [patient-thunder-3756][2019-04-30 21:52:49,682][ERROR] Failed to get IPv6 routes | |
pritunl[7643]: Traceback (most recent call last): | |
pritunl[7643]: File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/setup/ndppd.py", line 24, in _default_interface_thread | |
pritunl[7643]: ['route', '-n', '-A', 'inet6']) | |
pritunl[7643]: File "/usr/lib/pritunl/lib/python2.7/site-packages/pritunl/utils/misc.py", line 224, in check_output_logged | |
pritunl[7643]: return_code, cmd, output=stdoutdata) | |
pri |