Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: drakenclimber/libseccomp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: seccomp/libseccomp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 11 files changed
  • 6 contributors

Commits on Dec 1, 2023

  1. python: Delete python build artifacts prior to distclean

    Running make distcheck resulted in the following errors:
    	ERROR: files left in build directory after distclean:
    	./src/python/seccomp.egg-info/SOURCES.txt
    	./src/python/seccomp.egg-info/PKG-INFO
    	./src/python/seccomp.egg-info/top_level.txt
    	./src/python/seccomp.egg-info/dependency_links.txt
    	./src/python/dist/seccomp-2.5.4-py3.11-linux-x86_64.egg
    	make[1]: *** [Makefile:812: distcleancheck] Error 1
    
    Delete the seccomp.egg-info and dist directories in the clean-local make
    target.
    
    Signed-off-by: Tom Hromatka <[email protected]>
    drakenclimber committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    e373089 View commit details
    Browse the repository at this point in the history
  2. all: CHANGELOG update for release v2.5.5

    Signed-off-by: Tom Hromatka <[email protected]>
    drakenclimber committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    12a9e9f View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2024

  1. tests: avoid use of non-portable which

    which is not a standard POSIX utility, and indeed, each of these test scripts
    uses #!/bin/bash as its shebang, so we can use `type -P` which has the same
    behaviour as `which` for free.
    
    (If the tests used POSIX shell, we could do `command -v`, its only caveat is
    that it'll pick up functions in the user's shell, which doesn't matter 99% of
    the time anyway.)
    
    Distributions like Debian [0] and Gentoo [1] are looking to remove `which`
    from their base set of packages.
    
    [0] https://lwn.net/Articles/874049/
    [1] https://bugs.gentoo.org/646588
    
    Signed-off-by: Sam James <[email protected]>
    Signed-off-by: Paul Moore <[email protected]>
    thesamesam authored and pcmoore committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    47ca644 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. gperf: fix sed syntax error

    Signed-off-by: Jingyun Hua <[email protected]>
    Acked-by: Paul Moore <[email protected]>
    Signed-off-by: Tom Hromatka <[email protected]>
    huajingyun01 authored and drakenclimber committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    99bd9e5 View commit details
    Browse the repository at this point in the history
  2. system: fix detection of WAIT_KILLABLE_RECV flag

    The kernel returns EINVAL when this flag is passed to seccomp
    without the new listener flag so we should pass the along as well.
    
    Reference on where the check happens in the kernel:
    https://github.com/torvalds/linux/blob/aea6bf908d730b01bd264a8821159db9463c111c/kernel/seccomp.c#L1926-L1932
    
    Signed-off-by: Ali Polatel <[email protected]>
    Acked-by: Paul Moore <[email protected]>
    Signed-off-by: Tom Hromatka <[email protected]>
    alip authored and drakenclimber committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    9da5d17 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. db: fix comment typos

    CI / Codespell found 2 typos and blocks PR merging. This commit fixes
    them.
    
    Signed-off-by: Heran Yang <[email protected]>
    Signed-off-by: Tom Hromatka <[email protected]>
    HeRaNO authored and drakenclimber committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    c92d618 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. all: fix ISO C compliance

    In ISO C, at least one argument should be specified for
    the "..." argument of a function-like macro.
    
    Signed-off-by: Cheng Qiao <[email protected]>
    Acked-by: Tom Hromatka <[email protected]>
    Signed-off-by: Paul Moore <[email protected]>
    CismonX authored and pcmoore committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    5eb0b07 View commit details
    Browse the repository at this point in the history
  2. scmp_bpf_sim: fix aliasing UB

    See seccomp#425.
    
    Punning sys_data_b between uint32_t* and struct* seccomp_data isn't legal,
    use memcpy to fix the testsuite with Clang 17.
    
    Modern compilers recognise this idiom and optimise it out anyway.
    
    Signed-off-by: Sam James <[email protected]>
    Acked-by: Tom Hromatka <[email protected]>
    Signed-off-by: Paul Moore <[email protected]>
    thesamesam authored and pcmoore committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    2847f10 View commit details
    Browse the repository at this point in the history
Loading