Skip to content

Instantly share code, notes, and snippets.

@igo95862
igo95862 / gist:2867ae0d57d7d40b2afa4ca91dad655e
Created December 6, 2023 16:18
Linux `move_mount` syscall manpage from mailing list: https://lkml.org/lkml/2020/8/24/986
MOVE_MOUNT(2) Linux Programmer's Manual MOVE_MOUNT(2)
NAME
move_mount - Move mount objects around the filesystem topology
SYNOPSIS
#include <sys/types.h>
#include <sys/mount.h>
#include <unistd.h>
@igo95862
igo95862 / gist:427fc42012e8dc0769e2f019a5769e5a
Created December 6, 2023 16:17
Linux `open_tree` syscall manpage from mailing list: https://lkml.org/lkml/2020/8/24/984
OPEN_TREE(2) Linux Programmer's Manual OPEN_TREE(2)
NAME
open_tree - Pick or clone mount object and attach to fd
SYNOPSIS
#include <sys/types.h>
#include <sys/mount.h>
#include <unistd.h>
@igo95862
igo95862 / gist:456706136272900dbd17680340416d0c
Created June 24, 2020 17:56
Arch Linux libseccomp PKGBUILD with python
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Daniel Micay <danielmicay@gmail.com>
# Contributor: Patryk Kowalczyk < patryk at kowalczyk dot ws>
pkgbase=libseccomp
pkgname=('libseccomp' 'python-libseccomp')
pkgver=2.4.2
pkgrel=1
pkgdesc='Enhanced seccomp library'
@igo95862
igo95862 / gist:891b35353c11d5d66c330eaacab02775
Created June 24, 2020 17:55
Arch Linux libseccomp patch for python
--- PKGBUILD_old 2020-06-24 10:43:28.790287474 -0700
+++ PKGBUILD 2020-06-24 10:54:25.343958327 -0700
@@ -3,7 +3,8 @@
# Contributor: Daniel Micay <danielmicay@gmail.com>
# Contributor: Patryk Kowalczyk < patryk at kowalczyk dot ws>
-pkgname=libseccomp
+pkgbase=libseccomp
+pkgname=('libseccomp' 'python-libseccomp')
pkgver=2.4.2