Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am tuxillo on github.
  • I am tuxillo (https://keybase.io/tuxillo) on keybase.
  • I have a public key ASCWiEYwTBzIZLva1ixBd0ZtWXE1iYunPmJlE8CtwggQJQo

To claim this, I am signing this object:

View gist:ebc8ca2a562ee5b348e9560a2cf5833f
Available CPUs:
x86 486
x86 Broadwell-IBRS Intel Core Processor (Broadwell, IBRS)
x86 Broadwell-noTSX-IBRS Intel Core Processor (Broadwell, no TSX, IBRS)
x86 Broadwell-noTSX Intel Core Processor (Broadwell, no TSX)
x86 Broadwell Intel Core Processor (Broadwell)
x86 Conroe Intel Celeron_4x0 (Conroe/Merom Class Core 2)
x86 EPYC-IBPB AMD EPYC Processor (with IBPB)
x86 EPYC AMD EPYC Processor
x86 Haswell-IBRS Intel Core Processor (Haswell, IBRS)
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
View vagrant.log
INFO global: Vagrant version: 2.1.5
INFO global: Ruby version: 2.4.4
INFO global: RubyGems version: 2.7.7
INFO global: VAGRANT_LOG="debug"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/usr/local/share/vagrant/embedded"
INFO global: VAGRANT_INSTALLER_ENV="true"
WARN global: resolv replacement has not been enabled!
DEBUG global: Loading core plugin: /usr/local/lib/ruby/gems/2.4/gems/vagrant-2.1.5/plugins/hosts/alt/plugin.rb
INFO manager: Registered plugin: ALT Platform host
DEBUG global: Loading core plugin: /usr/local/lib/ruby/gems/2.4/gems/vagrant-2.1.5/plugins/hosts/suse/plugin.rb
View t_bridge.c
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <net/ethernet.h>
#include <net/if.h>
#if defined(__DragonFly__)
View leaf building
#! /bin/sh
# export COPTFLAGS="-O0 -g"
cd ~/build/s/dragonfly
env MAKEOBJDIRPREFIX=/build/home/tuxillo/obj make -j20 buildworld > /build/home/tuxillo/world.log 2>&1
#env MAKEOBJDIRPREFIX=/build/home/tuxillo/obj make -j20 buildkernel KERNCONF=VKERNEL64 > /build/home/tuxillo/kern.log 2>&1
#env MAKEOBJDIRPREFIX=/build/home/tuxillo/obj make -j8 buildkernel KERNCONF=GENERIC > /build/home/tuxillo/kern.log 2>&1
View changelog.py
#! /usr/bin/env python
import os
import re
import git
categories = (
( 'User utilities', lambda x: x.startswith("bin/"), 1 ),
( 'User utilities', lambda x: x.startswith("usr.bin/"), 1 ),
( 'Kernel', lambda x: x.startswith("sys/"), 1 ),
( 'Filesystems', lambda x: x.startswith("sys/vfs"), 2 ),
View changelog.py
#! /usr/bin/env python
import os
import re
import git
categories = [
'usertools', # bin, usr.bin
'kernel', # sys
'systemtool', # sbin, usr.sbin, libexec
'contrib', # contrib
@tuxillo
tuxillo / 0001-pki-Do-not-use-which-for-finding-gnutls-certool-path.patch
Created Jan 15, 2017
[PATCH] pki: Do not use 'which' for finding gnutls certool path.
View 0001-pki-Do-not-use-which-for-finding-gnutls-certool-path.patch
From 8e5048730ebdc38d56f662e7d44f91b047a44dce Mon Sep 17 00:00:00 2001
From: Antonio Huete Jimenez <tuxillo@quantumachine.net>
Date: Sun, 15 Jan 2017 19:21:51 +0000
Subject: [PATCH] pki: Do not use 'which' for finding gnutls certool path.
- Use 'command -v' which should be more portable.
- http://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html
---
pki/generate.ca | 2 +-
pki/generate.client | 2 +-
@tuxillo
tuxillo / 0001-task-Fix-build-in-SunOS-like-environments.patch
Created Jan 15, 2017
Attempt to fix build in SunOS-like environments.
View 0001-task-Fix-build-in-SunOS-like-environments.patch
From 9781bb06fc4f3c3f2c311099f962e5e61eed31ed Mon Sep 17 00:00:00 2001
From: Antonio Huete Jimenez <tuxillo@quantumachine.net>
Date: Sat, 14 Jan 2017 00:17:33 +0000
Subject: [PATCH] task: Fix build in SunOS-like environments.
Tested in:
- OpenIndiana 2816291
- OmniOS bed3013
- SmartOS 20161129T003638Z
---